Thanks for the pointer. That was enough for me to reproduce the bug. I
filed the following issue to track it:
https://bugs.openjdk.java.net/browse/JDK-8160464
-- Kevin
Yasumasa Suenaga wrote:
Hi Kevin,
I use JDK 9 EA b124 for Windows x64 from java.net <http://java.net>.
https://jdk9.java.net/download/
If you want to full stack trace, please download from here:
http://icedtea.classpath.org/bugzilla/attachment.cgi?id=1540&action=edit
<http://icedtea.classpath.org/bugzilla/attachment.cgi?id=1540&action=edit>
This exception does not occur on OracleJDK 8. So I guess this
exception is from Java FX 9.
Thanks,
Yasumasa
2016/06/28 23:52 "Kevin Rushforth" <kevin.rushfo...@oracle.com
<mailto:kevin.rushfo...@oracle.com>>:
Hi Yasumasa,
I assume this is a download of the Oracle JDK from java.net
<http://java.net>? We haven't seen any problems like this, so it
might be a problem with HeapStats analyzer. The class in question
is a closed-source class that lives in the javafx.deploy module.
What exactly are you running?
-- Kevin
Yasumasa Suenaga wrote:
Hi all,
When I ran HeapStats Analyzer [1] on JDK 9 EA b124, I
encountered ClassNotFoundException as below:
------------
java.lang.ClassNotFoundException:
com.sun.deploy.uitoolkit.impl.fx.HostServicesFactory
at
jdk.internal.loader.BuiltinClassLoader.loadClass(java.base@9-ea/BuiltinClassLoader.java:366)
at
java.lang.ClassLoader.loadClass(java.base@9-ea/ClassLoader.java:419)
at java.lang.Class.forName0(java.base@9-ea/Native Method)
at java.lang.Class.forName(java.base@9-ea/Class.java:378)
at
com.sun.javafx.application.HostServicesDelegate.lambda$getInstance$0(javafx.graphics@9-ea/HostServicesDelegate.java:52)
:
------------
This message does not appear on JDK 8u92.
I think this message is printed at [2].
I think this exception message do not need to be printed.
At least, it is debug level.
Does someone work for it?
If not so, I want to contribute patch.
Thanks,
Yasumasa
[1] http://icedtea.classpath.org/wiki/HeapStats
[2]
http://hg.openjdk.java.net/openjfx/9-dev/rt/file/3597495167c7/modules/graphics/src/main/java/com/sun/javafx/application/HostServicesDelegate.java#l58