[OpenJDK 2D-Dev] [12] Review Request: 8214076 Cleanup the code related to GraphicsEnvironment/Device/Configuration

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Sat Dec 1 02:21:49 UTC 2018

Please review the fix for jdk 12.

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

While I am working on the:
I have started to unify the code between the platforms, and found
that the fix became bigger than the small cleanup.
So I decided to extract it to this separate CR.

Change description:
  - Unused java/native methods were removed
  - Name of the variables are unified:
    1. GConfig will refer GDevice using "device" variable
    2. GDevice will refer GConfig using "config" variable
  - @Override is used in all classes
  - Empty javadoc spec was removed
  - Most classes were marked as "final" to prove that it is not necessary to
    update "some other" platform specific subclasses

Best regards, Sergey.

More information about the 2d-dev mailing list