-
Bug
-
Resolution: Done
-
Major
-
8.0 Update 5.1, 8.1.0.Beta
-
False
-
-
False
-
-
-
-
-
-
Known Issue
-
-
-
Important
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
-
JBMAR-261 Fix linkage error related to Java records
-
- Resolved
-
-
JBEAP-29871 [GSS](8.0.z) JBMAR-261 - Allow serialization of records of with non-primitive types part 2
-
- Closed
-
- is incorporated by
-
JBEAP-30215 (8.1.GA) Upgrade JBoss Marshalling to 2.2.3.Final
-
- Verified
-
-
WFCORE-7212 Upgrade JBoss Marshalling to 2.2.3.Final
-
- Resolved
-