On 05/10/2016 10:50 AM, Chris Hegarty wrote:
On 9 May 2016, at 20:43, Richard Opalka <ropa...@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?
Yes.
Rio
-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@9-internal/BuiltinClassLoader.java:366)
at
jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(java.base@9-internal/ClassLoaders.java:184)
at
java.lang.ClassLoader.loadClass(java.base@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.