<AWT Dev> [12] Review Request: 8209340 The code which avoids synthetic accessors has become outdated

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Fri Aug 10 02:54:51 UTC 2018

Please review the small cleanup for jdk12.

Bug: https://bugs.openjdk.java.net/browse/JDK-8209340
Webrev: http://cr.openjdk.java.net/~serb/8209340/webrev.00

To avoid synthetic accessors in the class files, in some of our private 
nested classes the empty default constructor was added. (Each default 
constructor dropped one additional class file on the file system)

After JEP 181[1] was integrated to jdk11 these default constructors can 
be removed because such workaround is not necessary anymore.

[1] http://openjdk.java.net/jeps/181

Best regards, Sergey.

More information about the awt-dev mailing list