mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8149750: Decouple sun.misc.Signal from the base module
Reviewed-by: dholmes, chegar
This commit is contained in:
parent
efb03507e3
commit
50b82e8d5e
2 changed files with 4 additions and 4 deletions
|
@ -109,13 +109,13 @@
|
||||||
template(java_io_ByteArrayInputStream, "java/io/ByteArrayInputStream") \
|
template(java_io_ByteArrayInputStream, "java/io/ByteArrayInputStream") \
|
||||||
template(java_io_Serializable, "java/io/Serializable") \
|
template(java_io_Serializable, "java/io/Serializable") \
|
||||||
template(java_util_Arrays, "java/util/Arrays") \
|
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_Properties, "java/util/Properties") \
|
||||||
template(java_util_Vector, "java/util/Vector") \
|
template(java_util_Vector, "java/util/Vector") \
|
||||||
template(java_util_AbstractList, "java/util/AbstractList") \
|
template(java_util_AbstractList, "java/util/AbstractList") \
|
||||||
template(java_util_Hashtable, "java/util/Hashtable") \
|
template(java_util_Hashtable, "java/util/Hashtable") \
|
||||||
template(java_lang_Compiler, "java/lang/Compiler") \
|
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(sun_misc_Launcher, "sun/misc/Launcher") \
|
||||||
template(java_lang_AssertionStatusDirectives, "java/lang/AssertionStatusDirectives") \
|
template(java_lang_AssertionStatusDirectives, "java/lang/AssertionStatusDirectives") \
|
||||||
template(getBootClassPathEntryForClass_name, "getBootClassPathEntryForClass") \
|
template(getBootClassPathEntryForClass_name, "getBootClassPathEntryForClass") \
|
||||||
|
|
|
@ -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.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -273,7 +273,7 @@ static void signal_thread_entry(JavaThread* thread, TRAPS) {
|
||||||
default: {
|
default: {
|
||||||
// Dispatch the signal to java
|
// Dispatch the signal to java
|
||||||
HandleMark hm(THREAD);
|
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);
|
KlassHandle klass (THREAD, k);
|
||||||
if (klass.not_null()) {
|
if (klass.not_null()) {
|
||||||
JavaValue result(T_VOID);
|
JavaValue result(T_VOID);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue