8025233: Move sun.invoke.Stable into java.lang.invoke package
authorvlivanov
Wed, 02 Oct 2013 06:17:10 -0700
changeset 20299 c4d35cd80be0
parent 20298 861da81238ee
child 20300 fe4818444117
child 20688 663a6dd0bcbf
child 20689 bc5805c29150
8025233: Move sun.invoke.Stable into java.lang.invoke package Reviewed-by: twisti, iveresov
hotspot/src/share/vm/classfile/classFileParser.cpp
hotspot/src/share/vm/classfile/vmSymbols.hpp
--- a/hotspot/src/share/vm/classfile/classFileParser.cpp	Fri Sep 27 13:36:25 2013 -0400
+++ b/hotspot/src/share/vm/classfile/classFileParser.cpp	Wed Oct 02 06:17:10 2013 -0700
@@ -1787,7 +1787,7 @@
     if (_location != _in_method)  break;  // only allow for methods
     if (!privileged)              break;  // only allow in privileged code
     return _method_LambdaForm_Hidden;
-  case vmSymbols::VM_SYMBOL_ENUM_NAME(sun_invoke_Stable_signature):
+  case vmSymbols::VM_SYMBOL_ENUM_NAME(java_lang_invoke_Stable_signature):
     if (_location != _in_field)   break;  // only allow for fields
     if (!privileged)              break;  // only allow in privileged code
     return _field_Stable;
--- a/hotspot/src/share/vm/classfile/vmSymbols.hpp	Fri Sep 27 13:36:25 2013 -0400
+++ b/hotspot/src/share/vm/classfile/vmSymbols.hpp	Wed Oct 02 06:17:10 2013 -0700
@@ -270,7 +270,7 @@
   template(java_lang_invoke_LambdaForm,               "java/lang/invoke/LambdaForm")              \
   template(java_lang_invoke_ForceInline_signature,    "Ljava/lang/invoke/ForceInline;")           \
   template(java_lang_invoke_DontInline_signature,     "Ljava/lang/invoke/DontInline;")            \
-  template(sun_invoke_Stable_signature,               "Lsun/invoke/Stable;")                      \
+  template(java_lang_invoke_Stable_signature,         "Ljava/lang/invoke/Stable;")                \
   template(java_lang_invoke_LambdaForm_Compiled_signature, "Ljava/lang/invoke/LambdaForm$Compiled;") \
   template(java_lang_invoke_LambdaForm_Hidden_signature, "Ljava/lang/invoke/LambdaForm$Hidden;")  \
   template(java_lang_invoke_MagicLambdaImpl,          "java/lang/invoke/MagicLambdaImpl")         \