-
Bug
-
Resolution: Done
-
Major
-
None
This issue is related to the JBEAP-28346 , this is a missing bit:
diff --git api/src/main/java16/org/jboss/marshalling/reflect/JDKSpecific.java api/src/main/java16/org/jboss/marshalling/reflect/JDKSpecific.java index 85193ab..25d6806 100644 --- api/src/main/java16/org/jboss/marshalling/reflect/JDKSpecific.java +++ api/src/main/java16/org/jboss/marshalling/reflect/JDKSpecific.java @@ -65,7 +65,7 @@ final class JDKSpecific { */ static Object getRecordComponentValue(Object recordObject, String name, Class<?> type) { try { - MethodHandle methodHandle = LOOKUP.findVirtual( + MethodHandle methodHandle = MethodHandles.privateLookupIn(recordObject.getClass(), LOOKUP).findVirtual( recordObject.getClass(), name, MethodType.methodType(type)); return (Object) methodHandle.invoke(recordObject); } catch (Throwable e) {
- clones
-
JBEAP-29871 [GSS](8.0.z) JBMAR-261 - Allow serialization of records of with non-primitive types part 2
-
- Closed
-
- is incorporated by
-
JBEAP-30213 (7.4.z) Upgrade JBoss Marshalling from 2.0.14.SP1-redhat-00001 to 2.0.16.Final-redhat-00001
-
- Pull Request Sent
-