mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
Merge
This commit is contained in:
commit
706efde6df
47 changed files with 393 additions and 458 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2013, 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
|
||||
|
@ -484,15 +484,6 @@ JVM_ENTRY(void, JVM_FillInStackTrace(JNIEnv *env, jobject receiver))
|
|||
JVM_END
|
||||
|
||||
|
||||
JVM_ENTRY(void, JVM_PrintStackTrace(JNIEnv *env, jobject receiver, jobject printable))
|
||||
JVMWrapper("JVM_PrintStackTrace");
|
||||
// Note: This is no longer used in Merlin, but we still support it for compatibility.
|
||||
oop exception = JNIHandles::resolve_non_null(receiver);
|
||||
oop stream = JNIHandles::resolve_non_null(printable);
|
||||
java_lang_Throwable::print_stack_trace(exception, stream);
|
||||
JVM_END
|
||||
|
||||
|
||||
JVM_ENTRY(jint, JVM_GetStackTraceDepth(JNIEnv *env, jobject throwable))
|
||||
JVMWrapper("JVM_GetStackTraceDepth");
|
||||
oop exception = JNIHandles::resolve(throwable);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue