8149750: Decouple sun.misc.Signal from the base module
authorrriggs
Thu, 18 Feb 2016 14:45:13 -0500
changeset 35954 d69682775b15
parent 35953 0ec089f26c14
child 35955 f3c43d82c968
8149750: Decouple sun.misc.Signal from the base module Reviewed-by: dholmes, chegar
hotspot/src/share/vm/classfile/vmSymbols.hpp
hotspot/src/share/vm/runtime/os.cpp
--- a/hotspot/src/share/vm/classfile/vmSymbols.hpp	Mon Feb 15 09:44:42 2016 -0800
+++ b/hotspot/src/share/vm/classfile/vmSymbols.hpp	Thu Feb 18 14:45:13 2016 -0500
@@ -109,13 +109,13 @@
   template(java_io_ByteArrayInputStream,              "java/io/ByteArrayInputStream")             \
   template(java_io_Serializable,                      "java/io/Serializable")                     \
   template(java_util_Arrays,                          "java/util/Arrays")                         \
-  template(java_util_Objects,                         "java/util/Objects")                         \
+  template(java_util_Objects,                         "java/util/Objects")                        \
   template(java_util_Properties,                      "java/util/Properties")                     \
   template(java_util_Vector,                          "java/util/Vector")                         \
   template(java_util_AbstractList,                    "java/util/AbstractList")                   \
   template(java_util_Hashtable,                       "java/util/Hashtable")                      \
   template(java_lang_Compiler,                        "java/lang/Compiler")                       \
-  template(sun_misc_Signal,                           "sun/misc/Signal")                          \
+  template(jdk_internal_misc_Signal,                  "jdk/internal/misc/Signal")                 \
   template(sun_misc_Launcher,                         "sun/misc/Launcher")                        \
   template(java_lang_AssertionStatusDirectives,       "java/lang/AssertionStatusDirectives")      \
   template(getBootClassPathEntryForClass_name,        "getBootClassPathEntryForClass")            \
--- a/hotspot/src/share/vm/runtime/os.cpp	Mon Feb 15 09:44:42 2016 -0800
+++ b/hotspot/src/share/vm/runtime/os.cpp	Thu Feb 18 14:45:13 2016 -0500
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -273,7 +273,7 @@
       default: {
         // Dispatch the signal to java
         HandleMark hm(THREAD);
-        Klass* k = SystemDictionary::resolve_or_null(vmSymbols::sun_misc_Signal(), THREAD);
+        Klass* k = SystemDictionary::resolve_or_null(vmSymbols::jdk_internal_misc_Signal(), THREAD);
         KlassHandle klass (THREAD, k);
         if (klass.not_null()) {
           JavaValue result(T_VOID);