logstash/tools/jvm-options-parser
Andrea Selva fc13a4ce3e
Mark all not serializable fields as transient (#14240)
With JDK 18, the Javac lint checking was expanded to raise an error on serializable subclasses that contains instance fields which are not serializable themselves.
This could be solved suppressing the warning or marking the field as transient. The majority of classes with this problem inherit transitively from Serializable but are not intended to be serialized (from Java's serialization mechanism) because has the serialVersionUID = 1L which is just a fix to make linter happy, but are not effectively used in a serialization context.

This commit also removes a finalize method, that could be safely be removed.
2022-06-15 09:56:03 +02:00
..
src Mark all not serializable fields as transient (#14240) 2022-06-15 09:56:03 +02:00
build.gradle Move JvmOptionParser to separate project (#13657) 2022-05-18 14:58:53 -04:00
gradle.properties Move JvmOptionParser to separate project (#13657) 2022-05-18 14:58:53 -04:00
README.md Move JvmOptionParser to separate project (#13657) 2022-05-18 14:58:53 -04:00

Standalone jar for JvmOptionsParser to enable it to run under Java 8 to provide helpful fail fast message when logstash is run older versions of Java.