United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-5101288 : async exception can be delivered on entry from native to vm

Details
Type:
Bug
Submit Date:
2004-09-13
Status:
Closed
Updated Date:
2012-10-09
Project Name:
JDK
Resolved Date:
2004-09-29
Component:
hotspot
OS:
generic
Sub-Component:
runtime
CPU:
generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
6
Fixed Versions:
5.0u1 (01)

Related Reports
Backport:
Backport:
Relates:
Relates:
Relates:
Relates:

Sub Tasks

Description
There is a chance for an async exception to be delivered on entry from native to
vm due to a safepoint. This violates the JNI spec.

                                    

Comments
PUBLIC COMMENTS

Integrated fix into Tiger Update 1 Build 03
                                     
2004-09-29
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
1.5.0_01
mustang

FIXED IN:
mustang

INTEGRATED IN:
1.5.0_01


                                     
2004-09-29
EVALUATION

Async exceptions can be installed on the entry from native to vm. This
can cause JNI functions to be called with a pending exception. The fix
fixes all such places to not install async exceptions as pending
exceptions, including:
 - ThreadInVMfromNative()
 - SafepointSynchronize::block()
 - JavaThread::send_thread_stop()

###@###.### 2004-09-16
                                     
2004-09-16



Hardware and Software, Engineered to Work Together