{"action":"created","issue":{"url":"https://api.github.com/repos/typetools/checker-framework/issues/798","repository_url":"https://api.github.com/repos/typetools/checker-framework","labels_url":"https://api.github.com/repos/typetools/checker-framework/issues/798/labels{/name}","comments_url":"https://api.github.com/repos/typetools/checker-framework/issues/798/comments","events_url":"https://api.github.com/repos/typetools/checker-framework/issues/798/events","html_url":"https://github.com/typetools/checker-framework/issues/798","id":160318512,"number":798,"title":"stubfile parser mishandles varargs?","user":{"login":"dbrosoft","id":12601251,"avatar_url":"https://avatars.githubusercontent.com/u/12601251?v=3","gravatar_id":"","url":"https://api.github.com/users/dbrosoft","html_url":"https://github.com/dbrosoft","followers_url":"https://api.github.com/users/dbrosoft/followers","following_url":"https://api.github.com/users/dbrosoft/following{/other_user}","gists_url":"https://api.github.com/users/dbrosoft/gists{/gist_id}","starred_url":"https://api.github.com/users/dbrosoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbrosoft/subscriptions","organizations_url":"https://api.github.com/users/dbrosoft/orgs","repos_url":"https://api.github.com/users/dbrosoft/repos","events_url":"https://api.github.com/users/dbrosoft/events{/privacy}","received_events_url":"https://api.github.com/users/dbrosoft/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"smillst","id":13260174,"avatar_url":"https://avatars.githubusercontent.com/u/13260174?v=3","gravatar_id":"","url":"https://api.github.com/users/smillst","html_url":"https://github.com/smillst","followers_url":"https://api.github.com/users/smillst/followers","following_url":"https://api.github.com/users/smillst/following{/other_user}","gists_url":"https://api.github.com/users/smillst/gists{/gist_id}","starred_url":"https://api.github.com/users/smillst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smillst/subscriptions","organizations_url":"https://api.github.com/users/smillst/orgs","repos_url":"https://api.github.com/users/smillst/repos","events_url":"https://api.github.com/users/smillst/events{/privacy}","received_events_url":"https://api.github.com/users/smillst/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-06-15T01:10:34Z","updated_at":"2016-06-20T17:33:42Z","closed_at":null,"body":"Save `va.astub` from this [gist](https://gist.github.com/dbrosoft/564bb782b1e2c2b8e764fdaa4fc68941) and run\r\n```sh\r\njava -cp $CHECKERFRAMEWORK/checker/dist/checker.jar org.checkerframework.framework.stub.ToIndexFileConverter va.astub\r\n```\r\nto produce `va.jaif`.  The method signature should be `f([Ljava/lang/Object;)V`, but the JAIF omits the bracket, giving the signature `f(Ljava/lang/Object;)V`.\r\n\r\nAs far as I can tell, the parser simply drops varargs annotations, providing only a boolean `isVarArgs()` method on `Parameter`.  Both the places that method is used in the Checker Framework look like hacks."},"comment":{"url":"https://api.github.com/repos/typetools/checker-framework/issues/comments/227212546","html_url":"https://github.com/typetools/checker-framework/issues/798#issuecomment-227212546","issue_url":"https://api.github.com/repos/typetools/checker-framework/issues/798","id":227212546,"user":{"login":"smillst","id":13260174,"avatar_url":"https://avatars.githubusercontent.com/u/13260174?v=3","gravatar_id":"","url":"https://api.github.com/users/smillst","html_url":"https://github.com/smillst","followers_url":"https://api.github.com/users/smillst/followers","following_url":"https://api.github.com/users/smillst/following{/other_user}","gists_url":"https://api.github.com/users/smillst/gists{/gist_id}","starred_url":"https://api.github.com/users/smillst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smillst/subscriptions","organizations_url":"https://api.github.com/users/smillst/orgs","repos_url":"https://api.github.com/users/smillst/repos","events_url":"https://api.github.com/users/smillst/events{/privacy}","received_events_url":"https://api.github.com/users/smillst/received_events","type":"User","site_admin":false},"created_at":"2016-06-20T17:33:42Z","updated_at":"2016-06-20T17:33:42Z","body":"I added a test case framework/tests/polyall/Issue798.java that does not use `org.checkerframework.framework.stub.ToIndexFileConverter`.  The stub parser does not read annotations on varargs. (`Object @HERE ...`)  This seems to be a limitation of the version of JavaParser we are using.  (See Issue #571)  "}}
{"actor":{"display_login":"smillst"}}