RFR [9] 8153737: Unsupported Module
Chris Hegarty
chris.hegarty at oracle.com
Tue May 10 08:50:42 UTC 2016
On 9 May 2016, at 20:43, Richard Opalka <ropalka at redhat.com> wrote:
> Fixed in JBoss Marshalling upstream.
Thanks for fixing this, and getting back to us on the list.
I assume then that, at least, this part of JBoss is working on JDK 9 b115, right?
-Chris.
> Thanks,
>
> Rio
>
> On 04/27/2016 11:54 PM, Chris Hegarty wrote:
>> Hi Rio,
>>
>>
>>> 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)
>> GetReflectionFactoryAction is a convenience class for acquiring
>> the capability to instantiate reflective objects.
>>
>> As part of JEP 260, we retained the single getReflectionFactory
>> accessor. You can replace your usage with the following:
>>
>> PrivilegedAction<ReflectionFactory> pa = new PrivilegedAction<ReflectionFactory>() {
>> @Override
>> public ReflectionFactory run() {
>> return ReflectionFactory.getReflectionFactory();
>> }
>> };
>>
>> -Chris.
>>
>
More information about the core-libs-dev
mailing list