RFR: 7903671: jcstress: Update buffer tests for JDK-8318966
Jiří Vaněk
jvanek at openjdk.org
Mon Mar 3 10:53:08 UTC 2025
On Wed, 26 Feb 2025 17:50:28 GMT, Jiří Vaněk <jvanek at openjdk.org> wrote:
> part 1: Detecting jdk of target VM and exuding illegible tests
>
> This is prequel to full fixing of CODETOOLS-7903671. This PR detects target JDK version and then disables illegible tests.
> part 2 will be done in templates of affected tests and logic around generating the classes from them. In meantime this should server.
>
> The jdk detection will be most likely used anyway. WDYT? If we agree on similar approach, I will create a new bug for this PR only.
I made a much more deeper look, and consulted with Aph and Thomas, and it seems that for jdk 23 and up, the correct replacement are direct buffers - which - feel free to correct me - are well covered in jcstress,
Thus the buffer tests should be conditionally excluded, as here, or removed.
-------------
PR Comment: https://git.openjdk.org/jcstress/pull/159#issuecomment-2693972566
More information about the jcstress-dev
mailing list