{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/15899","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/15899/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/15899/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/15899/events","html_url":"https://github.com/elastic/elasticsearch/pull/15899","id":126012184,"number":15899,"title":"Ban Serializable","user":{"login":"nik9000","id":215970,"avatar_url":"https://avatars.githubusercontent.com/u/215970?v=3","gravatar_id":"","url":"https://api.github.com/users/nik9000","html_url":"https://github.com/nik9000","followers_url":"https://api.github.com/users/nik9000/followers","following_url":"https://api.github.com/users/nik9000/following{/other_user}","gists_url":"https://api.github.com/users/nik9000/gists{/gist_id}","starred_url":"https://api.github.com/users/nik9000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nik9000/subscriptions","organizations_url":"https://api.github.com/users/nik9000/orgs","repos_url":"https://api.github.com/users/nik9000/repos","events_url":"https://api.github.com/users/nik9000/events{/privacy}","received_events_url":"https://api.github.com/users/nik9000/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/build","name":"build","color":"5319e7"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/review","name":"review","color":"0052cc"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/v3.0.0","name":"v3.0.0","color":"dddddd"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-01-11T18:58:56Z","updated_at":"2016-01-12T14:53:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/elastic/elasticsearch/pulls/15899","html_url":"https://github.com/elastic/elasticsearch/pull/15899","diff_url":"https://github.com/elastic/elasticsearch/pull/15899.diff","patch_url":"https://github.com/elastic/elasticsearch/pull/15899.patch"},"body":"1. Uses forbidden patterns to prevent things from referencing\r\njava.io.Serializable or from mentioning serialVersionUID.\r\n2. Uses -Xlint:-serial so we don't have to hear from javac that we aren't\r\ndeclaring serialVersionUID on any classes that we make that happen to extend\r\nSerializable.\r\n3. Remove Serializable and serialVersionUID declarations.\r\n\r\nI didn't use forbidden apis because it doesn't look like it has a way to ban\r\nexplicitly implementing Serializable. If you try to ban Serializable with\r\nforbidden apis you end up banning all Exceptions and all Strings.\r\n\r\nCloses #15847"},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments/170937636","html_url":"https://github.com/elastic/elasticsearch/pull/15899#issuecomment-170937636","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/15899","id":170937636,"user":{"login":"nik9000","id":215970,"avatar_url":"https://avatars.githubusercontent.com/u/215970?v=3","gravatar_id":"","url":"https://api.github.com/users/nik9000","html_url":"https://github.com/nik9000","followers_url":"https://api.github.com/users/nik9000/followers","following_url":"https://api.github.com/users/nik9000/following{/other_user}","gists_url":"https://api.github.com/users/nik9000/gists{/gist_id}","starred_url":"https://api.github.com/users/nik9000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nik9000/subscriptions","organizations_url":"https://api.github.com/users/nik9000/orgs","repos_url":"https://api.github.com/users/nik9000/repos","events_url":"https://api.github.com/users/nik9000/events{/privacy}","received_events_url":"https://api.github.com/users/nik9000/received_events","type":"User","site_admin":false},"created_at":"2016-01-12T14:53:23Z","updated_at":"2016-01-12T14:53:23Z","body":"\\o/"}}