hg: valhalla/valhalla: 8206121: [lworld] ensure non-nullable on setting value field via reflection and VarHandle

mandy.chung at oracle.com mandy.chung at oracle.com
Fri Jul 6 21:29:36 UTC 2018


Changeset: 46092c6022e3
Author:    mchung
Date:      2018-07-06 14:29 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/rev/46092c6022e3

8206121: [lworld] ensure non-nullable on setting value field via reflection and VarHandle
Reviewed-by: psandoz

! src/hotspot/share/prims/methodHandles.cpp
! src/hotspot/share/runtime/reflection.cpp
! src/java.base/share/classes/java/lang/invoke/DirectMethodHandle.java
! src/java.base/share/classes/java/lang/invoke/GenerateJLIClassesHelper.java
! src/java.base/share/classes/java/lang/invoke/LambdaForm.java
! src/java.base/share/classes/java/lang/invoke/MemberName.java
! src/java.base/share/classes/java/lang/invoke/MethodHandles.java
! src/java.base/share/classes/java/lang/invoke/VarHandles.java
! src/java.base/share/classes/java/lang/invoke/X-VarHandle.java.template
! src/java.base/share/classes/java/lang/reflect/Modifier.java
! src/java.base/share/classes/java/lang/reflect/ReflectAccess.java
! src/java.base/share/classes/jdk/internal/reflect/LangReflectAccess.java
! src/java.base/share/classes/jdk/internal/reflect/UnsafeFieldAccessorImpl.java
! src/java.base/share/classes/jdk/internal/reflect/UnsafeObjectFieldAccessorImpl.java
! src/java.base/share/classes/jdk/internal/reflect/UnsafeQualifiedObjectFieldAccessorImpl.java
! src/java.base/share/classes/jdk/internal/reflect/UnsafeQualifiedStaticObjectFieldAccessorImpl.java
! src/java.base/share/classes/jdk/internal/reflect/UnsafeStaticObjectFieldAccessorImpl.java
! test/jdk/valhalla/valuetypes/MethodHandleTest.java



More information about the valhalla-dev mailing list