hg: jdk8/tl/jdk: 8008770: SerializedLambda incorrect class loader for lambda deserializing class
robert.field at oracle.com
robert.field at oracle.com
Tue Feb 26 18:44:48 UTC 2013
Changeset: 5ebc62421717
Author: rfield
Date: 2013-02-26 10:38 -0800
URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/5ebc62421717
8008770: SerializedLambda incorrect class loader for lambda deserializing class
Summary: current thread's context ClassLoader was used to load class by name, pass class not name in serialization (Thank you Peter Levart for test and prototype. Thank you Sundar and Peter for unofficial reviews)
Reviewed-by: forax
! src/share/classes/java/lang/invoke/InnerClassLambdaMetafactory.java
! src/share/classes/java/lang/invoke/SerializedLambda.java
+ test/java/lang/invoke/lambda/LambdaClassLoaderSerialization.java
! test/java/lang/invoke/lambda/LambdaSerialization.java
More information about the security-dev
mailing list