{"action":"created","issue":{"url":"https://api.github.com/repos/google/flatbuffers/issues/169","labels_url":"https://api.github.com/repos/google/flatbuffers/issues/169/labels{/name}","comments_url":"https://api.github.com/repos/google/flatbuffers/issues/169/comments","events_url":"https://api.github.com/repos/google/flatbuffers/issues/169/events","html_url":"https://github.com/google/flatbuffers/pull/169","id":66732644,"number":169,"title":"Add option to seal classes in Java/C#; fixes #162 ","user":{"login":"advayDev1","id":11729521,"avatar_url":"https://avatars.githubusercontent.com/u/11729521?v=3","gravatar_id":"","url":"https://api.github.com/users/advayDev1","html_url":"https://github.com/advayDev1","followers_url":"https://api.github.com/users/advayDev1/followers","following_url":"https://api.github.com/users/advayDev1/following{/other_user}","gists_url":"https://api.github.com/users/advayDev1/gists{/gist_id}","starred_url":"https://api.github.com/users/advayDev1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/advayDev1/subscriptions","organizations_url":"https://api.github.com/users/advayDev1/orgs","repos_url":"https://api.github.com/users/advayDev1/repos","events_url":"https://api.github.com/users/advayDev1/events{/privacy}","received_events_url":"https://api.github.com/users/advayDev1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-04-06T23:44:00Z","updated_at":"2015-04-08T18:12:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/google/flatbuffers/pulls/169","html_url":"https://github.com/google/flatbuffers/pull/169","diff_url":"https://github.com/google/flatbuffers/pull/169.diff","patch_url":"https://github.com/google/flatbuffers/pull/169.patch"},"body":"Makes enums/structs/tables unsubclassable (final or sealed) and\r\nprevents instantiation of enum classes (which are solely static\r\nconstants).\r\n\r\n--seal-classes flag (default false) is added since this change is not backwards-compatible (with respect to API of generated files).\r\n\r\nTested (Mac OS 10.10.2):\r\n1. run flattests\r\n2. cd tests && ../flatc -c monster_test.fbs && ../flatc -j\r\nmonster_test.fbs && ../flatc -g monster_test.fbs && ../flatc -n\r\nmonster_test.fbs  # Note no deltas.\r\n3. ../flatc --seal-classes -c monster_test.fbs && ../flatc\r\n--seal-classes -j monster_test.fbs && ../flatc --seal-classes -g\r\nmonster_test.fbs && ../flatc --seal-classes -n monster_test.fbs  #\r\nVerify deltas for Java & C# only.\r\n4. ./JavaTest.sh"},"comment":{"url":"https://api.github.com/repos/google/flatbuffers/issues/comments/90992392","html_url":"https://github.com/google/flatbuffers/pull/169#issuecomment-90992392","issue_url":"https://api.github.com/repos/google/flatbuffers/issues/169","id":90992392,"user":{"login":"gwvo","id":6145400,"avatar_url":"https://avatars.githubusercontent.com/u/6145400?v=3","gravatar_id":"","url":"https://api.github.com/users/gwvo","html_url":"https://github.com/gwvo","followers_url":"https://api.github.com/users/gwvo/followers","following_url":"https://api.github.com/users/gwvo/following{/other_user}","gists_url":"https://api.github.com/users/gwvo/gists{/gist_id}","starred_url":"https://api.github.com/users/gwvo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gwvo/subscriptions","organizations_url":"https://api.github.com/users/gwvo/orgs","repos_url":"https://api.github.com/users/gwvo/repos","events_url":"https://api.github.com/users/gwvo/events{/privacy}","received_events_url":"https://api.github.com/users/gwvo/received_events","type":"User","site_admin":false},"created_at":"2015-04-08T18:12:27Z","updated_at":"2015-04-08T18:12:27Z","body":"See my comment on #171. We could just make them static for now."}}