Hi Yasumasa,

I assume this is a download of the Oracle JDK from 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

Reply via email to