RFR: 8289079: java/lang/Thread/jni/AttachCurrentThread/AttachTest.java#id1 failed with "RuntimeException: Test failed"

2022-06-26 Thread Alan Bateman
This is a fix to a recently added test. The test uses pthread_create to create native threads that invoke a Java method via a generated "upcall stub". The upcall stub is created in an implicit memory session but the test doesn't do anything to ensure that the memory session remains open. Testing

Re: RFR: 8289079: java/lang/Thread/jni/AttachCurrentThread/AttachTest.java#id1 failed with "RuntimeException: Test failed"

2022-06-26 Thread David Holmes
On Sun, 26 Jun 2022 09:50:11 GMT, Alan Bateman wrote: > This is a fix to a recently added test. The test uses pthread_create to > create native threads that invoke a Java method via a generated "upcall > stub". The upcall stub is created in an implicit memory session but the test > doesn't do

Re: [jdk19] RFR: 8289079: java/lang/Thread/jni/AttachCurrentThread/AttachTest.java#id1 failed with "RuntimeException: Test failed"

2022-06-27 Thread Maurizio Cimadamore
On Sun, 26 Jun 2022 09:50:11 GMT, Alan Bateman wrote: > This is a fix to a recently added test. The test uses pthread_create to > create native threads that invoke a Java method via a generated "upcall > stub". The upcall stub is created in an implicit memory session but the test > doesn't do