RFR [9] 8153737: Unsupported Module
Richard Opalka
ropalka at redhat.com
Wed Apr 27 21:23:01 UTC 2016
We are missing sun/reflect/ReflectionFactory$GetReflectionFactoryAction
inner class
in jdk.unsupported module:
java.lang.NoClassDefFoundError:
sun/reflect/ReflectionFactory$GetReflectionFactoryAction
at
jdk.internal.loader.BuiltinClassLoader.loadClass(java.base at 9-internal/BuiltinClassLoader.java:366)
at
jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(java.base at 9-internal/ClassLoaders.java:184)
at
java.lang.ClassLoader.loadClass(java.base at 9-internal/ClassLoader.java:419)
at
org.jboss.marshalling.reflect.SerializableClass.<clinit>(SerializableClass.java:47)
Rio
On 04/08/2016 05:48 PM, Mandy Chung wrote:
>> On Apr 8, 2016, at 8:35 AM, Chris Hegarty <chris.hegarty at oracle.com> wrote:
>>
>>
>> I moved the tests from a directory named 'jdk.unsupported' to
>> unsupported', as other tests, in test/tools/jdeps/module, use
>> test/tools/jdeps as a test library, and the directory/test lib
>> name is conflicting with the module name. jtreg fails immediately.
>> The updates I made check that jdeps identifies both jdk.internal.misc
>> and sun.misc Unsafe as internal APIs.
> Thanks for explaining why you did the rename. Your change now makes sense to me. I may reorganize the jdeps tests to avoid the module name you ran into in the future.
>
> All looks good.
>
> Mandy
More information about the core-libs-dev
mailing list