-
Bug
-
Resolution: Fixed
-
P1
-
10
-
b23
-
generic
The change for https://bugs.openjdk.java.net/browse/JDK-6461834
eliminated copying classes in the hierarchy under
com/sun/java/swing/plaf/windows except for on Windows.
However this approach is dangerous since it is does not account for
the fact the classes may have been compiled as a dependent class.
Sure enough for better or for worse the SHARED class
javax/swing/plaf/metal/MetalFontDesktopProperty extends
com/sun/java/swing/plaf/windows/DesktopProperty
Either back out the fix or find and fix all such dependencies.
I have not looked into what other classes have this issue.
That is up to the fixer to find them all.
This is causing two regression tests to fail :
java/beans/Performance/Test4058433.java Failed. Execution failed: `main' threw exception: java.lang.NoClassDefFoundError: com/sun/java/swing/plaf/windows/DesktopProperty
java/beans/XMLDecoder/8028054/TestConstructorFinder.java
These are beans tests, but the issue is nothing to do with beans.
There may actually be more failing tests. These are just the two I found
in running just the beans tests.
So any updated fix needs to run all regression tests .. on all non-windows
platforms to be as sure as we can be that all dependencies have been found.
I also suggest a good "grep" around for uses via core reflection.
We will need this fixed ASAP before we can do a JDK 10 integration.
eliminated copying classes in the hierarchy under
com/sun/java/swing/plaf/windows except for on Windows.
However this approach is dangerous since it is does not account for
the fact the classes may have been compiled as a dependent class.
Sure enough for better or for worse the SHARED class
javax/swing/plaf/metal/MetalFontDesktopProperty extends
com/sun/java/swing/plaf/windows/DesktopProperty
Either back out the fix or find and fix all such dependencies.
I have not looked into what other classes have this issue.
That is up to the fixer to find them all.
This is causing two regression tests to fail :
java/beans/Performance/Test4058433.java Failed. Execution failed: `main' threw exception: java.lang.NoClassDefFoundError: com/sun/java/swing/plaf/windows/DesktopProperty
java/beans/XMLDecoder/8028054/TestConstructorFinder.java
These are beans tests, but the issue is nothing to do with beans.
There may actually be more failing tests. These are just the two I found
in running just the beans tests.
So any updated fix needs to run all regression tests .. on all non-windows
platforms to be as sure as we can be that all dependencies have been found.
I also suggest a good "grep" around for uses via core reflection.
We will need this fixed ASAP before we can do a JDK 10 integration.