{"action":"created","issue":{"url":"https://api.github.com/repos/gwtproject/gwt/issues/9212","labels_url":"https://api.github.com/repos/gwtproject/gwt/issues/9212/labels{/name}","comments_url":"https://api.github.com/repos/gwtproject/gwt/issues/9212/comments","events_url":"https://api.github.com/repos/gwtproject/gwt/issues/9212/events","html_url":"https://github.com/gwtproject/gwt/issues/9212","id":115906218,"number":9212,"title":"JsExport does not work on types","user":{"login":"hypnoce","id":4430896,"avatar_url":"https://avatars.githubusercontent.com/u/4430896?v=3","gravatar_id":"","url":"https://api.github.com/users/hypnoce","html_url":"https://github.com/hypnoce","followers_url":"https://api.github.com/users/hypnoce/followers","following_url":"https://api.github.com/users/hypnoce/following{/other_user}","gists_url":"https://api.github.com/users/hypnoce/gists{/gist_id}","starred_url":"https://api.github.com/users/hypnoce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hypnoce/subscriptions","organizations_url":"https://api.github.com/users/hypnoce/orgs","repos_url":"https://api.github.com/users/hypnoce/repos","events_url":"https://api.github.com/users/hypnoce/events{/privacy}","received_events_url":"https://api.github.com/users/hypnoce/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"gkdn","id":4112632,"avatar_url":"https://avatars.githubusercontent.com/u/4112632?v=3","gravatar_id":"","url":"https://api.github.com/users/gkdn","html_url":"https://github.com/gkdn","followers_url":"https://api.github.com/users/gkdn/followers","following_url":"https://api.github.com/users/gkdn/following{/other_user}","gists_url":"https://api.github.com/users/gkdn/gists{/gist_id}","starred_url":"https://api.github.com/users/gkdn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkdn/subscriptions","organizations_url":"https://api.github.com/users/gkdn/orgs","repos_url":"https://api.github.com/users/gkdn/repos","events_url":"https://api.github.com/users/gkdn/events{/privacy}","received_events_url":"https://api.github.com/users/gkdn/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-11-09T15:59:27Z","updated_at":"2015-11-09T18:23:27Z","closed_at":"2015-11-09T18:23:27Z","body":"Hi,\r\nsince https://github.com/gwtproject/gwt/commit/64e3270a9a02eea66fb9beab9e423a14f60b6cec it seems the JsExport annotation does not work on types.\r\n\r\n```java\r\n@JsExport\r\n@JsType\r\npublic class View {\r\n   public View() {}\r\n   public void setData(String s) {...}\r\n}\r\n```\r\n\r\nNeither the constructor nor the public method 'setData' are exported.\r\nNevertheless, when I do\r\n```java\r\n@JsType\r\npublic class View {\r\n   @JsExport  \r\n   public View() {}\r\n   @JsExport\r\n   public void setData(String s) {...}\r\n}\r\n```\r\nit gets correctly exported."},"comment":{"url":"https://api.github.com/repos/gwtproject/gwt/issues/comments/155146430","html_url":"https://github.com/gwtproject/gwt/issues/9212#issuecomment-155146430","issue_url":"https://api.github.com/repos/gwtproject/gwt/issues/9212","id":155146430,"user":{"login":"hypnoce","id":4430896,"avatar_url":"https://avatars.githubusercontent.com/u/4430896?v=3","gravatar_id":"","url":"https://api.github.com/users/hypnoce","html_url":"https://github.com/hypnoce","followers_url":"https://api.github.com/users/hypnoce/followers","following_url":"https://api.github.com/users/hypnoce/following{/other_user}","gists_url":"https://api.github.com/users/hypnoce/gists{/gist_id}","starred_url":"https://api.github.com/users/hypnoce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hypnoce/subscriptions","organizations_url":"https://api.github.com/users/hypnoce/orgs","repos_url":"https://api.github.com/users/hypnoce/repos","events_url":"https://api.github.com/users/hypnoce/events{/privacy}","received_events_url":"https://api.github.com/users/hypnoce/received_events","type":"User","site_admin":false},"created_at":"2015-11-09T18:23:27Z","updated_at":"2015-11-09T18:23:27Z","body":"Good to know.\r\n\r\nIndeed I found the new annotations and put the JS_RC mode. It seems to work now.\r\n\r\nThanks"}}