RFR [9] 8153737: Unsupported Module
Richard Opalka
ropalka at redhat.com
Mon May 9 19:43:54 UTC 2016
Fixed in JBoss Marshalling upstream.
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. It’s code is:
>
> 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