OpenSearch/plugins/lang-javascript
Nik Everett 01ce49e94e Ban Serializable
1. Uses forbidden patterns to prevent things from referencing
java.io.Serializable or from mentioning serialVersionUID.
2. Uses -Xlint:-serial so we don't have to hear from javac that we aren't
declaring serialVersionUID on any classes that we make that happen to extend
Serializable.
3. Remove Serializable and serialVersionUID declarations.

I didn't use forbidden apis because it doesn't look like it has a way to ban
explicitly implementing Serializable. If you try to ban Serializable with
forbidden apis you end up banning all Exceptions and all Strings.

Closes #15847
2016-01-11 16:57:31 -05:00
..
licenses upgrade rhino for plugins/lang-javascript 2015-11-03 09:53:07 -05:00
src Ban Serializable 2016-01-11 16:57:31 -05:00
build.gradle Remove more Xlint skips 2016-01-06 23:53:05 -05:00