-
Bug
-
Resolution: Done
-
Minor
-
None
-
None
-
None
-
Workaround Exists
-
Older JDK 8 do not call setAccessible(true) on constructors created by ReflectionFactory. Add a check for this.
java.lang.IllegalStateException: Constructor is unexpectedly inaccessible at org.jboss.marshalling.reflect.SerializableClass.invokeConstructorNoException(SerializableClass.java:377) at org.jboss.marshalling.reflect.SerializableClass.callNonInitConstructor(SerializableClass.java:332) at org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject(RiverUnmarshaller.java:1387) at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:272) at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:205) at org.jboss.marshalling.AbstractObjectInput.readObject(AbstractObjectInput.java:41)
- is cloned by
-
JBEAP-14604 (7.1.z) IllegalStateException: Constructor is unexpectedly inaccessible
- Closed