From jpai at openjdk.org Mon Jan 5 14:29:18 2026 From: jpai at openjdk.org (Jaikiran Pai) Date: Mon, 5 Jan 2026 14:29:18 GMT Subject: RFR: 7904125: JUnit test discovery issues must result in jtreg test failure Message-ID: Can I please get a review of this change which proposes to fail a jtreg test if there were any junit test engine discovery errors? This addresses https://bugs.openjdk.org/browse/CODETOOLS-7904125. This change should prevent issues like https://bugs.openjdk.org/browse/JDK-8374434 where the warning is being logged by junit but they go unnoticed because there's no test failure raised for those issues. A new self test has been introduced to reproduce the issue and verify the change. ------------- Commit messages: - copyright year - add code comment - add self test - 7904125: Report JUnit issues encountered during test discovery Changes: https://git.openjdk.org/jtreg/pull/304/files Webrev: https://webrevs.openjdk.org/?repo=jtreg&pr=304&range=00 Issue: https://bugs.openjdk.org/browse/CODETOOLS-7904125 Stats: 105 lines in 4 files changed: 104 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jtreg/pull/304.diff Fetch: git fetch https://git.openjdk.org/jtreg.git pull/304/head:pull/304 PR: https://git.openjdk.org/jtreg/pull/304 From jpai at openjdk.org Tue Jan 6 05:34:34 2026 From: jpai at openjdk.org (Jaikiran Pai) Date: Tue, 6 Jan 2026 05:34:34 GMT Subject: RFR: 7904126: PrintWriter(s) used by jtreg for agent logging aren't using autoFlush Message-ID: <85KtA4ckuTaxc6qMYaWPp4QRcFYyZGTUTKGMrLTzEgc=.991c06bf-2e35-4872-bebf-f26f759091ca@github.com> Can I please get a review of this change which addresses the issue noted in https://bugs.openjdk.org/browse/CODETOOLS-7904126? With this change the logs written out to agent.trace and agentServer..trace should now have these log message more promptly written out and thus help debug and unexpected test failures. Furthermore, the explicit flush() that was done in https://bugs.openjdk.org/browse/CODETOOLS-7903470 has now been replaced with the use of this autoFlush=true to avoid having to explicitly flush() at any call sites where the logger is used to write out the logs. Given the nature of the change no new self tests have been introduced. ------------- Commit messages: - 7904126: PrintWriter(s) used by jtreg for agent logging aren't using autoFlush Changes: https://git.openjdk.org/jtreg/pull/305/files Webrev: https://webrevs.openjdk.org/?repo=jtreg&pr=305&range=00 Issue: https://bugs.openjdk.org/browse/CODETOOLS-7904126 Stats: 6 lines in 2 files changed: 0 ins; 1 del; 5 mod Patch: https://git.openjdk.org/jtreg/pull/305.diff Fetch: git fetch https://git.openjdk.org/jtreg.git pull/305/head:pull/305 PR: https://git.openjdk.org/jtreg/pull/305 From cstein at openjdk.org Wed Jan 7 09:12:42 2026 From: cstein at openjdk.org (Christian Stein) Date: Wed, 7 Jan 2026 09:12:42 GMT Subject: RFR: 7904125: JUnit test discovery issues must result in jtreg test failure In-Reply-To: References: Message-ID: On Mon, 5 Jan 2026 14:22:01 GMT, Jaikiran Pai wrote: > Can I please get a review of this change which proposes to fail a jtreg test if there were any junit test engine discovery errors? This addresses https://bugs.openjdk.org/browse/CODETOOLS-7904125. > > This change should prevent issues like https://bugs.openjdk.org/browse/JDK-8374434 where the warning is being logged by junit but they go unnoticed because there's no test failure raised for those issues. > > A new self test has been introduced to reproduce the issue and verify the change. Looks good. ------------- Marked as reviewed by cstein (Reviewer). PR Review: https://git.openjdk.org/jtreg/pull/304#pullrequestreview-3633952835 From jpai at openjdk.org Wed Jan 7 10:05:13 2026 From: jpai at openjdk.org (Jaikiran Pai) Date: Wed, 7 Jan 2026 10:05:13 GMT Subject: RFR: 7904125: JUnit test discovery issues must result in jtreg test failure In-Reply-To: References: Message-ID: On Mon, 5 Jan 2026 14:22:01 GMT, Jaikiran Pai wrote: > Can I please get a review of this change which proposes to fail a jtreg test if there were any junit test engine discovery errors? This addresses https://bugs.openjdk.org/browse/CODETOOLS-7904125. > > This change should prevent issues like https://bugs.openjdk.org/browse/JDK-8374434 where the warning is being logged by junit but they go unnoticed because there's no test failure raised for those issues. > > A new self test has been introduced to reproduce the issue and verify the change. Thank you Christian for the review. ------------- PR Comment: https://git.openjdk.org/jtreg/pull/304#issuecomment-3718111858 From jpai at openjdk.org Wed Jan 7 10:05:15 2026 From: jpai at openjdk.org (Jaikiran Pai) Date: Wed, 7 Jan 2026 10:05:15 GMT Subject: Integrated: 7904125: JUnit test discovery issues must result in jtreg test failure In-Reply-To: References: Message-ID: On Mon, 5 Jan 2026 14:22:01 GMT, Jaikiran Pai wrote: > Can I please get a review of this change which proposes to fail a jtreg test if there were any junit test engine discovery errors? This addresses https://bugs.openjdk.org/browse/CODETOOLS-7904125. > > This change should prevent issues like https://bugs.openjdk.org/browse/JDK-8374434 where the warning is being logged by junit but they go unnoticed because there's no test failure raised for those issues. > > A new self test has been introduced to reproduce the issue and verify the change. This pull request has now been integrated. Changeset: 0d4599af Author: Jaikiran Pai URL: https://git.openjdk.org/jtreg/commit/0d4599affce64a7bc599e335cfb4836bf2f06818 Stats: 105 lines in 4 files changed: 104 ins; 0 del; 1 mod 7904125: JUnit test discovery issues must result in jtreg test failure Reviewed-by: cstein ------------- PR: https://git.openjdk.org/jtreg/pull/304 From cstein at openjdk.org Wed Jan 7 11:06:52 2026 From: cstein at openjdk.org (Christian Stein) Date: Wed, 7 Jan 2026 11:06:52 GMT Subject: RFR: 7904126: PrintWriter(s) used by jtreg for agent logging aren't using autoFlush In-Reply-To: <85KtA4ckuTaxc6qMYaWPp4QRcFYyZGTUTKGMrLTzEgc=.991c06bf-2e35-4872-bebf-f26f759091ca@github.com> References: <85KtA4ckuTaxc6qMYaWPp4QRcFYyZGTUTKGMrLTzEgc=.991c06bf-2e35-4872-bebf-f26f759091ca@github.com> Message-ID: On Tue, 6 Jan 2026 05:27:48 GMT, Jaikiran Pai wrote: > Can I please get a review of this change which addresses the issue noted in https://bugs.openjdk.org/browse/CODETOOLS-7904126? > > With this change the logs written out to agent.trace and agentServer..trace should now have these log message more promptly written out and thus help debug and unexpected test failures. Furthermore, the explicit flush() that was done in https://bugs.openjdk.org/browse/CODETOOLS-7903470 has now been replaced with the use of this autoFlush=true to avoid having to explicitly flush() at any call sites where the logger is used to write out the logs. > > Given the nature of the change no new self tests have been introduced. Looks reasonable. ------------- Marked as reviewed by cstein (Reviewer). PR Review: https://git.openjdk.org/jtreg/pull/305#pullrequestreview-3634368684 From jpai at openjdk.org Wed Jan 7 11:31:58 2026 From: jpai at openjdk.org (Jaikiran Pai) Date: Wed, 7 Jan 2026 11:31:58 GMT Subject: RFR: 7904126: PrintWriter(s) used by jtreg for agent logging aren't using autoFlush In-Reply-To: <85KtA4ckuTaxc6qMYaWPp4QRcFYyZGTUTKGMrLTzEgc=.991c06bf-2e35-4872-bebf-f26f759091ca@github.com> References: <85KtA4ckuTaxc6qMYaWPp4QRcFYyZGTUTKGMrLTzEgc=.991c06bf-2e35-4872-bebf-f26f759091ca@github.com> Message-ID: On Tue, 6 Jan 2026 05:27:48 GMT, Jaikiran Pai wrote: > Can I please get a review of this change which addresses the issue noted in https://bugs.openjdk.org/browse/CODETOOLS-7904126? > > With this change the logs written out to agent.trace and agentServer..trace should now have these log message more promptly written out and thus help debug and unexpected test failures. Furthermore, the explicit flush() that was done in https://bugs.openjdk.org/browse/CODETOOLS-7903470 has now been replaced with the use of this autoFlush=true to avoid having to explicitly flush() at any call sites where the logger is used to write out the logs. > > Given the nature of the change no new self tests have been introduced. Thank you for the review, Christian. ------------- PR Comment: https://git.openjdk.org/jtreg/pull/305#issuecomment-3718427269 From jpai at openjdk.org Wed Jan 7 11:31:59 2026 From: jpai at openjdk.org (Jaikiran Pai) Date: Wed, 7 Jan 2026 11:31:59 GMT Subject: Integrated: 7904126: PrintWriter(s) used by jtreg for agent logging aren't using autoFlush In-Reply-To: <85KtA4ckuTaxc6qMYaWPp4QRcFYyZGTUTKGMrLTzEgc=.991c06bf-2e35-4872-bebf-f26f759091ca@github.com> References: <85KtA4ckuTaxc6qMYaWPp4QRcFYyZGTUTKGMrLTzEgc=.991c06bf-2e35-4872-bebf-f26f759091ca@github.com> Message-ID: On Tue, 6 Jan 2026 05:27:48 GMT, Jaikiran Pai wrote: > Can I please get a review of this change which addresses the issue noted in https://bugs.openjdk.org/browse/CODETOOLS-7904126? > > With this change the logs written out to agent.trace and agentServer..trace should now have these log message more promptly written out and thus help debug and unexpected test failures. Furthermore, the explicit flush() that was done in https://bugs.openjdk.org/browse/CODETOOLS-7903470 has now been replaced with the use of this autoFlush=true to avoid having to explicitly flush() at any call sites where the logger is used to write out the logs. > > Given the nature of the change no new self tests have been introduced. This pull request has now been integrated. Changeset: 328147bd Author: Jaikiran Pai URL: https://git.openjdk.org/jtreg/commit/328147bd1f6e188102a5c3ba9541dc1cd383220f Stats: 6 lines in 2 files changed: 0 ins; 1 del; 5 mod 7904126: PrintWriter(s) used by jtreg for agent logging aren't using autoFlush Reviewed-by: cstein ------------- PR: https://git.openjdk.org/jtreg/pull/305 From cstein at openjdk.org Wed Jan 7 16:30:01 2026 From: cstein at openjdk.org (Christian Stein) Date: Wed, 7 Jan 2026 16:30:01 GMT Subject: RFR: 7904129: Update jtreg to bundle JUnit 5.14.2 Message-ID: Please review this change updating the JUnit version to [5.14.2](https://docs.junit.org/5.14.2/release-notes.html). ------------- Commit messages: - 7904129: Update jtreg to bundle JUnit 5.14.2 Changes: https://git.openjdk.org/jtreg/pull/306/files Webrev: https://webrevs.openjdk.org/?repo=jtreg&pr=306&range=00 Issue: https://bugs.openjdk.org/browse/CODETOOLS-7904129 Stats: 5 lines in 2 files changed: 1 ins; 0 del; 4 mod Patch: https://git.openjdk.org/jtreg/pull/306.diff Fetch: git fetch https://git.openjdk.org/jtreg.git pull/306/head:pull/306 PR: https://git.openjdk.org/jtreg/pull/306 From jpai at openjdk.org Thu Jan 8 01:12:10 2026 From: jpai at openjdk.org (Jaikiran Pai) Date: Thu, 8 Jan 2026 01:12:10 GMT Subject: RFR: 7904129: Update jtreg to bundle JUnit 5.14.2 In-Reply-To: References: Message-ID: On Wed, 7 Jan 2026 15:54:41 GMT, Christian Stein wrote: > Please review this change updating the JUnit version to [5.14.2](https://docs.junit.org/5.14.2/release-notes.html). This looks OK to me. ------------- Marked as reviewed by jpai (Reviewer). PR Review: https://git.openjdk.org/jtreg/pull/306#pullrequestreview-3637341800 From cstein at openjdk.org Thu Jan 8 15:25:59 2026 From: cstein at openjdk.org (Christian Stein) Date: Thu, 8 Jan 2026 15:25:59 GMT Subject: RFR: 7904129: Update jtreg to bundle JUnit 5.14.2 In-Reply-To: References: Message-ID: On Wed, 7 Jan 2026 15:54:41 GMT, Christian Stein wrote: > Please review this change updating the JUnit version to [5.14.2](https://docs.junit.org/5.14.2/release-notes.html). make/build-support/version-numbers line 45: > 43: # JUnit 5 = JUnit Platform 1.y.z + JUnit Jupiter 5.y.z + JUnit Vintage 5.y.z > 44: DEFAULT_JUNIT_VERSION=1.14.2 > 45: DEFAULT_JUNIT_JAR_CHECKSUM=99b3e0fe1df38e5eea763c168c033c030a4bd46c Checksum copied from https://repo1.maven.org/maven2/org/junit/platform/junit-platform-console-standalone/1.14.2/junit-platform-console-standalone-1.14.2.jar.sha1 ------------- PR Review Comment: https://git.openjdk.org/jtreg/pull/306#discussion_r2672784957 From iris at openjdk.org Thu Jan 8 18:15:53 2026 From: iris at openjdk.org (Iris Clark) Date: Thu, 8 Jan 2026 18:15:53 GMT Subject: RFR: 7904129: Update jtreg to bundle JUnit 5.14.2 In-Reply-To: References: Message-ID: On Wed, 7 Jan 2026 15:54:41 GMT, Christian Stein wrote: > Please review this change updating the JUnit version to [5.14.2](https://docs.junit.org/5.14.2/release-notes.html). Marked as reviewed by iris (Reviewer). ------------- PR Review: https://git.openjdk.org/jtreg/pull/306#pullrequestreview-3640632023 From cstein at openjdk.org Fri Jan 9 09:33:05 2026 From: cstein at openjdk.org (Christian Stein) Date: Fri, 9 Jan 2026 09:33:05 GMT Subject: Integrated: 7904129: Update jtreg to bundle JUnit 5.14.2 In-Reply-To: References: Message-ID: On Wed, 7 Jan 2026 15:54:41 GMT, Christian Stein wrote: > Please review this change updating the JUnit version to [5.14.2](https://docs.junit.org/5.14.2/release-notes.html). This pull request has now been integrated. Changeset: 7420a770 Author: Christian Stein URL: https://git.openjdk.org/jtreg/commit/7420a770b304239bcf04d19c5447e029c36811ac Stats: 5 lines in 2 files changed: 1 ins; 0 del; 4 mod 7904129: Update jtreg to bundle JUnit 5.14.2 Reviewed-by: jpai, iris ------------- PR: https://git.openjdk.org/jtreg/pull/306 From cstein at openjdk.org Fri Jan 9 09:40:42 2026 From: cstein at openjdk.org (Christian Stein) Date: Fri, 9 Jan 2026 09:40:42 GMT Subject: RFR: 7904130: Update jtreg to bundle AsmTools 9.1 Message-ID: Please review this change for jtreg to bundle AsmTools 9.1 The SHA1 checksum was computed and verified from the Source code `.zip` file attached to https://github.com/openjdk/asmtools/releases/tag/9.1-b01 ------------- Commit messages: - 7904130: Update jtreg to bundle AsmTools 9.1 Changes: https://git.openjdk.org/jtreg/pull/307/files Webrev: https://webrevs.openjdk.org/?repo=jtreg&pr=307&range=00 Issue: https://bugs.openjdk.org/browse/CODETOOLS-7904130 Stats: 4 lines in 2 files changed: 0 ins; 0 del; 4 mod Patch: https://git.openjdk.org/jtreg/pull/307.diff Fetch: git fetch https://git.openjdk.org/jtreg.git pull/307/head:pull/307 PR: https://git.openjdk.org/jtreg/pull/307 From jpai at openjdk.org Fri Jan 9 16:55:40 2026 From: jpai at openjdk.org (Jaikiran Pai) Date: Fri, 9 Jan 2026 16:55:40 GMT Subject: RFR: 7904130: Update jtreg to bundle AsmTools 9.1 In-Reply-To: References: Message-ID: On Fri, 9 Jan 2026 09:33:20 GMT, Christian Stein wrote: > Please review this change for jtreg to bundle AsmTools 9.1 > > The SHA1 checksum was computed and verified from the Source code `.zip` file attached to https://github.com/openjdk/asmtools/releases/tag/9.1-b01 Looks good to me. ------------- Marked as reviewed by jpai (Reviewer). PR Review: https://git.openjdk.org/jtreg/pull/307#pullrequestreview-3644766786 From iris at openjdk.org Fri Jan 9 17:23:41 2026 From: iris at openjdk.org (Iris Clark) Date: Fri, 9 Jan 2026 17:23:41 GMT Subject: RFR: 7904130: Update jtreg to bundle AsmTools 9.1 In-Reply-To: References: Message-ID: On Fri, 9 Jan 2026 09:33:20 GMT, Christian Stein wrote: > Please review this change for jtreg to bundle AsmTools 9.1 > > The SHA1 checksum was computed and verified from the Source code `.zip` file attached to https://github.com/openjdk/asmtools/releases/tag/9.1-b01 Marked as reviewed by iris (Reviewer). ------------- PR Review: https://git.openjdk.org/jtreg/pull/307#pullrequestreview-3644862355 From cstein at openjdk.org Sun Jan 11 08:44:29 2026 From: cstein at openjdk.org (Christian Stein) Date: Sun, 11 Jan 2026 08:44:29 GMT Subject: Integrated: 7904130: Update jtreg to bundle AsmTools 9.1 In-Reply-To: References: Message-ID: <0nA7JYCEf6u6CILdOpo4vpvdRA0-1Ueb7Kavx9Oupr8=.689d2089-376d-4a9a-b640-d84098464162@github.com> On Fri, 9 Jan 2026 09:33:20 GMT, Christian Stein wrote: > Please review this change for jtreg to bundle AsmTools 9.1 > > The SHA1 checksum was computed and verified from the Source code `.zip` file attached to https://github.com/openjdk/asmtools/releases/tag/9.1-b01 This pull request has now been integrated. Changeset: 137539ea Author: Christian Stein URL: https://git.openjdk.org/jtreg/commit/137539ea585670557d5590b0fd7a0cf795cbc67a Stats: 4 lines in 2 files changed: 0 ins; 0 del; 4 mod 7904130: Update jtreg to bundle AsmTools 9.1 Reviewed-by: jpai, iris ------------- PR: https://git.openjdk.org/jtreg/pull/307 From jpai at openjdk.org Fri Jan 16 11:40:28 2026 From: jpai at openjdk.org (Jaikiran Pai) Date: Fri, 16 Jan 2026 11:40:28 GMT Subject: RFR: 7904133: jtreg doesn't generate an error when @key tag is used more than once in a test definition Message-ID: Can I please get a review of this change which proposes to enforce the rule that `@key` in a test definition is expected to be used only once, as noted in the tag spec here https://openjdk.org/jtreg/tag-spec.html: > The @key tag may be used at most once in a given test. I decided to make it an error because the tag spec already notes that this isn't expected to be used more than once. So this should fail a test and generate attention instead of its current behaviour of silently using the second `@key`. Generating a warning, I think, doesn't help this case. A new self test has been added to reproduce the issue and verify the fix. ------------- Commit messages: - 7904133: jtreg doesn't generate an error when @key tag is used more than once in a test definition Changes: https://git.openjdk.org/jtreg/pull/308/files Webrev: https://webrevs.openjdk.org/?repo=jtreg&pr=308&range=00 Issue: https://bugs.openjdk.org/browse/CODETOOLS-7904133 Stats: 51 lines in 4 files changed: 43 ins; 2 del; 6 mod Patch: https://git.openjdk.org/jtreg/pull/308.diff Fetch: git fetch https://git.openjdk.org/jtreg.git pull/308/head:pull/308 PR: https://git.openjdk.org/jtreg/pull/308 From cstein at openjdk.org Fri Jan 16 11:40:28 2026 From: cstein at openjdk.org (Christian Stein) Date: Fri, 16 Jan 2026 11:40:28 GMT Subject: RFR: 7904133: jtreg doesn't generate an error when @key tag is used more than once in a test definition In-Reply-To: References: Message-ID: On Fri, 16 Jan 2026 11:30:02 GMT, Jaikiran Pai wrote: > Can I please get a review of this change which proposes to enforce the rule that `@key` in a test definition is expected to be used only once, as noted in the tag spec here https://openjdk.org/jtreg/tag-spec.html: > >> The @key tag may be used at most once in a given test. > > I decided to make it an error because the tag spec already notes that this isn't expected to be used more than once. So this should fail a test and generate attention instead of its current behaviour of silently using the second `@key`. Generating a warning, I think, doesn't help this case. > > A new self test has been added to reproduce the issue and verify the fix. Thanks for addressing this bug, Jaikiran. Did you run this change against a larger set (the JDK tests) to see whether multiple key tags are present and need manual fixing? ------------- PR Comment: https://git.openjdk.org/jtreg/pull/308#issuecomment-3759645786 From jpai at openjdk.org Fri Jan 16 11:45:20 2026 From: jpai at openjdk.org (Jaikiran Pai) Date: Fri, 16 Jan 2026 11:45:20 GMT Subject: RFR: 7904133: jtreg doesn't generate an error when @key tag is used more than once in a test definition In-Reply-To: References: Message-ID: <63dj3tNXKkcBSLtsX5GZ-pt-C_rTnh_CwXc5zBsAI0c=.d04e9cf1-ca75-4be8-a0f1-2a5463eda93e@github.com> On Fri, 16 Jan 2026 11:30:02 GMT, Jaikiran Pai wrote: > Can I please get a review of this change which proposes to enforce the rule that `@key` in a test definition is expected to be used only once, as noted in the tag spec here https://openjdk.org/jtreg/tag-spec.html: > >> The @key tag may be used at most once in a given test. > > I decided to make it an error because the tag spec already notes that this isn't expected to be used more than once. So this should fail a test and generate attention instead of its current behaviour of silently using the second `@key`. Generating a warning, I think, doesn't help this case. > > A new self test has been added to reproduce the issue and verify the fix. Hello Christian, > Did you run this change against a larger set (the JDK tests) to see whether multiple key tags are present and need manual fixing? I will be running a CI run for the JDK after building this jtreg version. I expect some existing tests to be caught with more than one `@key` and will JBS issue(s) as appropriate. ------------- PR Comment: https://git.openjdk.org/jtreg/pull/308#issuecomment-3759663008 From cstein at openjdk.org Fri Jan 16 12:02:19 2026 From: cstein at openjdk.org (Christian Stein) Date: Fri, 16 Jan 2026 12:02:19 GMT Subject: RFR: 7904133: jtreg doesn't generate an error when @key tag is used more than once in a test definition In-Reply-To: References: Message-ID: On Fri, 16 Jan 2026 11:30:02 GMT, Jaikiran Pai wrote: > Can I please get a review of this change which proposes to enforce the rule that `@key` in a test definition is expected to be used only once, as noted in the tag spec here https://openjdk.org/jtreg/tag-spec.html: > >> The @key tag may be used at most once in a given test. > > I decided to make it an error because the tag spec already notes that this isn't expected to be used more than once. So this should fail a test and generate attention instead of its current behaviour of silently using the second `@key`. Generating a warning, I think, doesn't help this case. > > A new self test has been added to reproduce the issue and verify the fix. Marked as reviewed by cstein (Reviewer). ------------- PR Review: https://git.openjdk.org/jtreg/pull/308#pullrequestreview-3670552021 From jpai at openjdk.org Sun Jan 18 16:30:41 2026 From: jpai at openjdk.org (Jaikiran Pai) Date: Sun, 18 Jan 2026 16:30:41 GMT Subject: RFR: 7904134: Defaulting to class file version of 52.0 when compiling jasm leads to several test failures in the JDK Message-ID: Can I please get a review of this change which addresses the issue noted in https://bugs.openjdk.org/browse/CODETOOLS-7904134? The change here uses the default class file version of 45.3 instead of 52.0. This should prevent the failures we saw in the JDK repo with the current jtreg mainline code. At the same time, this should continue to address https://bugs.openjdk.org/browse/CODETOOLS-7904122 by preventing the warning logged by jasm compilation in the absence of any explicit default class file version. With this change I've verified locally that some of the failing tests in the JDK now pass. I've also triggered a tier testing of the JDK with this change. ------------- Commit messages: - copyright year - 7904134: Defaulting to class file version of 52.0 when compiling jasm leads to several test failures in the JDK Changes: https://git.openjdk.org/jtreg/pull/309/files Webrev: https://webrevs.openjdk.org/?repo=jtreg&pr=309&range=00 Issue: https://bugs.openjdk.org/browse/CODETOOLS-7904134 Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod Patch: https://git.openjdk.org/jtreg/pull/309.diff Fetch: git fetch https://git.openjdk.org/jtreg.git pull/309/head:pull/309 PR: https://git.openjdk.org/jtreg/pull/309 From cstein at openjdk.org Sun Jan 18 16:55:36 2026 From: cstein at openjdk.org (Christian Stein) Date: Sun, 18 Jan 2026 16:55:36 GMT Subject: RFR: 7904134: Defaulting to class file version of 52.0 when compiling jasm leads to several test failures in the JDK In-Reply-To: References: Message-ID: On Sun, 18 Jan 2026 16:25:23 GMT, Jaikiran Pai wrote: > Can I please get a review of this change which addresses the issue noted in https://bugs.openjdk.org/browse/CODETOOLS-7904134? > > The change here uses the default class file version of 45.3 instead of 52.0. This should prevent the failures we saw in the JDK repo with the current jtreg mainline code. At the same time, this should continue to address https://bugs.openjdk.org/browse/CODETOOLS-7904122 by preventing the warning logged by jasm compilation in the absence of any explicit default class file version. > > With this change I've verified locally that some of the failing tests in the JDK now pass. I've also triggered a tier testing of the JDK with this change. Sounds reasonable. ------------- Marked as reviewed by cstein (Reviewer). PR Review: https://git.openjdk.org/jtreg/pull/309#pullrequestreview-3675588396 From jpai at openjdk.org Sun Jan 18 17:43:38 2026 From: jpai at openjdk.org (Jaikiran Pai) Date: Sun, 18 Jan 2026 17:43:38 GMT Subject: RFR: 7904134: Defaulting to class file version of 52.0 when compiling jasm leads to several test failures in the JDK In-Reply-To: References: Message-ID: On Sun, 18 Jan 2026 16:25:23 GMT, Jaikiran Pai wrote: > Can I please get a review of this change which addresses the issue noted in https://bugs.openjdk.org/browse/CODETOOLS-7904134? > > The change here uses the default class file version of 45.3 instead of 52.0. This should prevent the failures we saw in the JDK repo with the current jtreg mainline code. At the same time, this should continue to address https://bugs.openjdk.org/browse/CODETOOLS-7904122 by preventing the warning logged by jasm compilation in the absence of any explicit default class file version. > > With this change I've verified locally that some of the failing tests in the JDK now pass. I've also triggered a tier testing of the JDK with this change. Thank you Christian for the review. tier testing of the JDK with this change went fine without any related issues. ------------- PR Comment: https://git.openjdk.org/jtreg/pull/309#issuecomment-3765532122 From jpai at openjdk.org Sun Jan 18 17:43:38 2026 From: jpai at openjdk.org (Jaikiran Pai) Date: Sun, 18 Jan 2026 17:43:38 GMT Subject: Integrated: 7904134: Defaulting to class file version of 52.0 when compiling jasm leads to several test failures in the JDK In-Reply-To: References: Message-ID: <6sYrzyqRVJXnjxww76b4wdO7DDaSTTePLZXhgZcNkmU=.104e3de0-1a86-4d33-87ed-520d5f95964c@github.com> On Sun, 18 Jan 2026 16:25:23 GMT, Jaikiran Pai wrote: > Can I please get a review of this change which addresses the issue noted in https://bugs.openjdk.org/browse/CODETOOLS-7904134? > > The change here uses the default class file version of 45.3 instead of 52.0. This should prevent the failures we saw in the JDK repo with the current jtreg mainline code. At the same time, this should continue to address https://bugs.openjdk.org/browse/CODETOOLS-7904122 by preventing the warning logged by jasm compilation in the absence of any explicit default class file version. > > With this change I've verified locally that some of the failing tests in the JDK now pass. I've also triggered a tier testing of the JDK with this change. This pull request has now been integrated. Changeset: a3b1279c Author: Jaikiran Pai URL: https://git.openjdk.org/jtreg/commit/a3b1279cfbe954537e99b45f9c9647b99b9b7f85 Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod 7904134: Defaulting to class file version of 52.0 when compiling jasm leads to several test failures in the JDK Reviewed-by: cstein ------------- PR: https://git.openjdk.org/jtreg/pull/309 From cstein at openjdk.org Tue Jan 20 09:23:11 2026 From: cstein at openjdk.org (Christian Stein) Date: Tue, 20 Jan 2026 09:23:11 GMT Subject: RFR: 7904105: intermittent test failure in CleanupDirTests.agentvm.conc In-Reply-To: References: <__CbDxfnNzwKsBo_guhAt2RDiTdY42Hc2D-EbKuF5CI=.b4400934-6b56-4829-9bcd-b3bee89d9831@github.com> Message-ID: On Tue, 28 Oct 2025 19:46:50 GMT, Vladimir Petko wrote: >> Hello Vladimir, we have seen intermittent failure in this test too, but i haven't had a chance to look deeper. >> >> `TestStats` deals with counts in several different methods, so I'm not completely sure the proposed change is enough or the best way to address this. It may be that the code in `TestStats` itself might need to be addressed in some manner. > >> Hello Vladimir, we have seen intermittent failure in this test too, but i haven't had a chance to look deeper. >> >> `TestStats` deals with counts in several different methods, so I'm not completely sure the proposed change is enough or the best way to address this. It may be that the code in `TestStats` itself might need to be addressed in some manner. > > Hi, > > I have tried using atomics in TestStats and the implementation looked ugly / required a lot of refactoring. > > jtreg only updates counts using jtharness Observer callbacks. We already use `synchonzied` keyword in Observer callbacks[1] as the TestRunner spawns multiple threads if we specify concurrency > 1. I have used Intellij Idea to find all inheritors of BasicObserver and added synchronization. > > Maybe the better way would be to synchronize in jtharness itself to avoid doing it in the client code? > Hmm, this is probably impossible unless we want to make a breaking change and remove `notifier` field from `Script` class. > > [1] https://github.com/openjdk/jtreg/blob/34ccc66ec89651637811678a17d3f810b4ac0780/src/share/classes/com/sun/javatest/regtest/report/ElapsedTimeHandler.java#L64 @vpa1977 do you want to issue an `/integrate` comment? I'd like to include this change in the upcoming 8.2 release of jtreg. ------------- PR Comment: https://git.openjdk.org/jtreg/pull/297#issuecomment-3771843070 From cstein at openjdk.org Tue Jan 20 09:23:45 2026 From: cstein at openjdk.org (Christian Stein) Date: Tue, 20 Jan 2026 09:23:45 GMT Subject: RFR: 7904107: AgentOut.othervm.ok should not access $(BUILDTESTDIR)/AgentOut.agentvm In-Reply-To: References: Message-ID: <379GmaSV3s2yxvNAzR6mG1xFmx_KtamRzkXflUJxpY4=.0d6ef2b2-6a9d-41d5-bf4b-b662ad24c649@github.com> On Tue, 28 Oct 2025 03:23:42 GMT, Vladimir Petko wrote: > AgentOut.othervm.ok tries to access $(BUILDTESTDIR)/AgentOut.agentvm. This should only happen in AgentOut.agentvm.ok. > Add a new target to filter log lines that depends on AgentOut.agentvm.ok. > > Note: tests pass on retry[1]. The test failure is caused by [2] > > [1] https://github.com/vpa1977/jtreg/actions/runs/18863066182 > [2] https://github.com/openjdk/jtreg/pull/297 @vpa1977 do you want to issue an `/integrate` comment? I'd like to include this change in the upcoming 8.2 release of jtreg. ------------- PR Comment: https://git.openjdk.org/jtreg/pull/299#issuecomment-3771845512 From jpai at openjdk.org Tue Jan 20 09:27:29 2026 From: jpai at openjdk.org (Jaikiran Pai) Date: Tue, 20 Jan 2026 09:27:29 GMT Subject: Integrated: 7904133: jtreg doesn't generate an error when @key tag is used more than once in a test definition In-Reply-To: References: Message-ID: <0UZMp2fliDw9foY3y4TtXSxhmn7VTbXkUdrJb3qCVvQ=.c9482cae-343a-4926-a2cc-0d065a637e88@github.com> On Fri, 16 Jan 2026 11:30:02 GMT, Jaikiran Pai wrote: > Can I please get a review of this change which proposes to enforce the rule that `@key` in a test definition is expected to be used only once, as noted in the tag spec here https://openjdk.org/jtreg/tag-spec.html: > >> The @key tag may be used at most once in a given test. > > I decided to make it an error because the tag spec already notes that this isn't expected to be used more than once. So this should fail a test and generate attention instead of its current behaviour of silently using the second `@key`. Generating a warning, I think, doesn't help this case. > > A new self test has been added to reproduce the issue and verify the fix. This pull request has now been integrated. Changeset: 05833b34 Author: Jaikiran Pai URL: https://git.openjdk.org/jtreg/commit/05833b3498cfc0d1a53b247608b3d4eadbcae2d7 Stats: 51 lines in 4 files changed: 43 ins; 2 del; 6 mod 7904133: jtreg doesn't generate an error when @key tag is used more than once in a test definition Reviewed-by: cstein ------------- PR: https://git.openjdk.org/jtreg/pull/308 From jpai at openjdk.org Tue Jan 20 09:27:28 2026 From: jpai at openjdk.org (Jaikiran Pai) Date: Tue, 20 Jan 2026 09:27:28 GMT Subject: RFR: 7904133: jtreg doesn't generate an error when @key tag is used more than once in a test definition In-Reply-To: References: Message-ID: On Fri, 16 Jan 2026 11:30:02 GMT, Jaikiran Pai wrote: > Can I please get a review of this change which proposes to enforce the rule that `@key` in a test definition is expected to be used only once, as noted in the tag spec here https://openjdk.org/jtreg/tag-spec.html: > >> The @key tag may be used at most once in a given test. > > I decided to make it an error because the tag spec already notes that this isn't expected to be used more than once. So this should fail a test and generate attention instead of its current behaviour of silently using the second `@key`. Generating a warning, I think, doesn't help this case. > > A new self test has been added to reproduce the issue and verify the fix. Thank you Christian for the review. The JDK specific test issues are being addressed and this change on its own went fine in the testing. I will go ahead and integrate this now. ------------- PR Comment: https://git.openjdk.org/jtreg/pull/308#issuecomment-3771862074 From duke at openjdk.org Tue Jan 20 19:23:46 2026 From: duke at openjdk.org (duke) Date: Tue, 20 Jan 2026 19:23:46 GMT Subject: RFR: 7904105: intermittent test failure in CleanupDirTests.agentvm.conc In-Reply-To: References: Message-ID: On Tue, 28 Oct 2025 03:12:34 GMT, Vladimir Petko wrote: > jtharness does not synchronize calls to Observer. Synchronized keyword needs to be added when processing shared state. @vpa1977 Your change (at version e346596f80a35d10d982c336015d1ab33e3ce62e) is now ready to be sponsored by a Committer. ------------- PR Comment: https://git.openjdk.org/jtreg/pull/297#issuecomment-3774548042 From duke at openjdk.org Tue Jan 20 19:23:48 2026 From: duke at openjdk.org (duke) Date: Tue, 20 Jan 2026 19:23:48 GMT Subject: RFR: 7904107: AgentOut.othervm.ok should not access $(BUILDTESTDIR)/AgentOut.agentvm In-Reply-To: References: Message-ID: <0-2Pq6diY4gPek3Fjlk1jOyVruPuNyjSrnVBmlMUkK0=.8fa987ec-efb2-4f6a-a4f9-6e1ce724360c@github.com> On Tue, 28 Oct 2025 03:23:42 GMT, Vladimir Petko wrote: > AgentOut.othervm.ok tries to access $(BUILDTESTDIR)/AgentOut.agentvm. This should only happen in AgentOut.agentvm.ok. > Add a new target to filter log lines that depends on AgentOut.agentvm.ok. > > Note: tests pass on retry[1]. The test failure is caused by [2] > > [1] https://github.com/vpa1977/jtreg/actions/runs/18863066182 > [2] https://github.com/openjdk/jtreg/pull/297 @vpa1977 Your change (at version 5427b341b1024b81fb1272a67be49aa9d3fb42fa) is now ready to be sponsored by a Committer. ------------- PR Comment: https://git.openjdk.org/jtreg/pull/299#issuecomment-3774547369 From vpetko at openjdk.org Wed Jan 21 15:10:34 2026 From: vpetko at openjdk.org (Vladimir Petko) Date: Wed, 21 Jan 2026 15:10:34 GMT Subject: Integrated: 7904107: AgentOut.othervm.ok should not access $(BUILDTESTDIR)/AgentOut.agentvm In-Reply-To: References: Message-ID: On Tue, 28 Oct 2025 03:23:42 GMT, Vladimir Petko wrote: > AgentOut.othervm.ok tries to access $(BUILDTESTDIR)/AgentOut.agentvm. This should only happen in AgentOut.agentvm.ok. > Add a new target to filter log lines that depends on AgentOut.agentvm.ok. > > Note: tests pass on retry[1]. The test failure is caused by [2] > > [1] https://github.com/vpa1977/jtreg/actions/runs/18863066182 > [2] https://github.com/openjdk/jtreg/pull/297 This pull request has now been integrated. Changeset: ce032339 Author: Vladimir Petko Committer: Christian Stein URL: https://git.openjdk.org/jtreg/commit/ce03233954a524da0836c3491e2fbe791797d82a Stats: 8 lines in 1 file changed: 4 ins; 2 del; 2 mod 7904107: AgentOut.othervm.ok should not access $(BUILDTESTDIR)/AgentOut.agentvm Reviewed-by: cstein ------------- PR: https://git.openjdk.org/jtreg/pull/299 From vpetko at openjdk.org Wed Jan 21 15:13:38 2026 From: vpetko at openjdk.org (Vladimir Petko) Date: Wed, 21 Jan 2026 15:13:38 GMT Subject: Integrated: 7904105: intermittent test failure in CleanupDirTests.agentvm.conc In-Reply-To: References: Message-ID: On Tue, 28 Oct 2025 03:12:34 GMT, Vladimir Petko wrote: > jtharness does not synchronize calls to Observer. Synchronized keyword needs to be added when processing shared state. This pull request has now been integrated. Changeset: 98a1016f Author: Vladimir Petko Committer: Christian Stein URL: https://git.openjdk.org/jtreg/commit/98a1016f8bb6ee23eed1d33d72b240ec848617de Stats: 3 lines in 3 files changed: 0 ins; 0 del; 3 mod 7904105: intermittent test failure in CleanupDirTests.agentvm.conc Reviewed-by: cstein ------------- PR: https://git.openjdk.org/jtreg/pull/297 From cstein at openjdk.org Mon Jan 26 15:50:51 2026 From: cstein at openjdk.org (Christian Stein) Date: Mon, 26 Jan 2026 15:50:51 GMT Subject: RFR: 7904135: Release jtreg 8.2 Message-ID: Please review this change to update the `CHANGELOG.md` file to include a section about jtreg 8.2 This change also increases the working number to 8.3 ------------- Commit messages: - 7904135: Release jtreg 8.2 Changes: https://git.openjdk.org/jtreg/pull/310/files Webrev: https://webrevs.openjdk.org/?repo=jtreg&pr=310&range=00 Issue: https://bugs.openjdk.org/browse/CODETOOLS-7904135 Stats: 12 lines in 2 files changed: 10 ins; 0 del; 2 mod Patch: https://git.openjdk.org/jtreg/pull/310.diff Fetch: git fetch https://git.openjdk.org/jtreg.git pull/310/head:pull/310 PR: https://git.openjdk.org/jtreg/pull/310 From jpai at openjdk.org Mon Jan 26 16:01:33 2026 From: jpai at openjdk.org (Jaikiran Pai) Date: Mon, 26 Jan 2026 16:01:33 GMT Subject: RFR: 7904135: Release jtreg 8.2 In-Reply-To: References: Message-ID: On Tue, 20 Jan 2026 12:24:07 GMT, Christian Stein wrote: > Please review this change to update the `CHANGELOG.md` file to include a section about jtreg 8.2 > > This change also increases the working number to 8.3 Marked as reviewed by jpai (Reviewer). ------------- PR Review: https://git.openjdk.org/jtreg/pull/310#pullrequestreview-3706739470 From cstein at openjdk.org Mon Jan 26 16:11:57 2026 From: cstein at openjdk.org (Christian Stein) Date: Mon, 26 Jan 2026 16:11:57 GMT Subject: Integrated: 7904135: Release jtreg 8.2 In-Reply-To: References: Message-ID: <9ZKIStZFyZC26ang0_8JGGM35Yr7_K84S79UIb6B5sg=.7f58dc2b-9ccf-4d19-9ea2-274371406e38@github.com> On Tue, 20 Jan 2026 12:24:07 GMT, Christian Stein wrote: > Please review this change to update the `CHANGELOG.md` file to include a section about jtreg 8.2 > > This change also increases the working number to 8.3 This pull request has now been integrated. Changeset: da0976e4 Author: Christian Stein URL: https://git.openjdk.org/jtreg/commit/da0976e4761602196f7cf5dbfe33cbe4cc5e49db Stats: 12 lines in 2 files changed: 10 ins; 0 del; 2 mod 7904135: Release jtreg 8.2 Reviewed-by: jpai ------------- PR: https://git.openjdk.org/jtreg/pull/310 From duke at openjdk.org Wed Jan 28 06:03:14 2026 From: duke at openjdk.org (duke) Date: Wed, 28 Jan 2026 06:03:14 GMT Subject: Withdrawn: 7904101: intermittent failure in StreamsTest.agentvm.ok In-Reply-To: References: Message-ID: On Tue, 21 Oct 2025 02:01:40 GMT, Vladimir Petko wrote: > FileDescriptor test intermittently fails because the agent's process output capture lacks synchronisation. > > This PR fixes the issue: > - Agent VM prints the "process output separator" to stderr and stdout before and after action > - The main vm uses the marker to stop reading the stream for the current test result section (or a general agent log) > - The main vm restarts reading the log after updating the test section (or clearing it) until the next marker or the process is shut down. > > Alternative: > -Disable the test and make no assumptions about contents of the agent vm process output. > > Testing: tier1 and tier2 tests on mainline jdk (Ubuntu Linux) in agentvm mode. > > > make test TEST=":tier1 :tier2" JTREG="TEST_MODE=agentvm" > > .... > > ============================== > Test summary > ============================== > TEST TOTAL PASS FAIL ERROR SKIP > jtreg:test/hotspot/jtreg:tier1 3124 2837 0 0 287 > jtreg:test/jdk:tier1 2519 2480 0 0 39 > jtreg:test/langtools:tier1 4670 4660 0 0 10 > jtreg:test/jaxp:tier1 0 0 0 0 0 > jtreg:test/lib-test:tier1 38 38 0 0 0 > jtreg:test/hotspot/jtreg:tier2 960 913 0 0 47 >>> jtreg:test/jdk:tier2 4455 4220 1 0 234 << > jtreg:test/langtools:tier2 14 12 0 0 2 > jtreg:test/jaxp:tier2 517 516 0 0 1 > jtreg:test/docs:tier2 4 0 0 0 4 > ============================== > TEST FAILURE > > > Unrelated failure: test/jdk/java/nio/channels/DatagramChannel/SendReceiveMaxSize.java > > > > > ---------System.out:(98/7409)---------- > Seed from RandomFactory = 7590698091695474155L > [15:02:42.244] config SendReceiveMaxSize.setUp(): success [0ms] > [15:02:42.272] test SendReceiveMaxSize.testGetOption(SendReceiveMaxSize$$Lambda/0x00000000450736f8 at 8d234b9, 65507, /10.201.67.1): success [7ms] > [15:02:42.273] test SendReceiveMaxSize.testGetOption(SendReceiveMaxSize$$Lambda/0x0000000045073920 at 449629ff, 65507, /10.201.67.1): success [0ms] > [15:02:42.273] test SendReceiveMaxSize.testGetOption(SendReceiveMaxSize$$Lambda/0x0000000045078000 at 2b071f3f, 65527, java.net.Inet6Address at 22212892): success [0ms] > [15:0... This pull request has been closed without being integrated. ------------- PR: https://git.openjdk.org/jtreg/pull/295 From syan at openjdk.org Wed Jan 28 07:07:23 2026 From: syan at openjdk.org (SendaoYan) Date: Wed, 28 Jan 2026 07:07:23 GMT Subject: RFR: 7904084: Unset javaOpts and jtregOpts in jtreg.sh [v4] In-Reply-To: References: Message-ID: > Hi all, > > In jtreg.sh it will combine all the java options and jtreg options in the `for i in "$@"` loop. SHELL use javaOpts and jtregOpts as global varable by default, this means jtreg.sh will receive the value of javaOpts and jtregOpts outside. I think this unexpected. > To avoid this siutation, I think we should unset javaOpts and jtregOpts before use it. SendaoYan has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision: - Merge branch 'openjdk:master' into jbs7904084 - Merge branch 'openjdk:master' into jbs7904084 - Merge branch 'openjdk:master' into jbs7904084 - 7904084: Unset javaOpts and jtregOpts in jtreg.sh ------------- Changes: - all: https://git.openjdk.org/jtreg/pull/291/files - new: https://git.openjdk.org/jtreg/pull/291/files/fb3a5dd1..a3076f53 Webrevs: - full: https://webrevs.openjdk.org/?repo=jtreg&pr=291&range=03 - incr: https://webrevs.openjdk.org/?repo=jtreg&pr=291&range=02-03 Stats: 196 lines in 18 files changed: 162 ins; 5 del; 29 mod Patch: https://git.openjdk.org/jtreg/pull/291.diff Fetch: git fetch https://git.openjdk.org/jtreg.git pull/291/head:pull/291 PR: https://git.openjdk.org/jtreg/pull/291 From syan at openjdk.org Wed Jan 28 07:42:26 2026 From: syan at openjdk.org (SendaoYan) Date: Wed, 28 Jan 2026 07:42:26 GMT Subject: RFR: 7904083: Print fatal error messages to stderr [v4] In-Reply-To: References: Message-ID: > Hi all, > > Currently the fatal error message was print to stderr, shows as below. I think it's bettor to print the fatal error message to stderr. > >> unset JAVA_HOME ; jtreg -version > No java executable at java > >> unset JAVA_HOME ; jtreg -version > /dev/null > #nothing > > The `>&2` usage for echo both works on linux and cygwin. I do not have other OS system to verify this change, but I think the risk of this change is low. SendaoYan has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision: - Merge branch 'openjdk:master' into stderr - Merge branch 'openjdk:master' into stderr - Merge branch 'openjdk:master' into stderr - 7904083: Print fatal error messages to stderr ------------- Changes: - all: https://git.openjdk.org/jtreg/pull/290/files - new: https://git.openjdk.org/jtreg/pull/290/files/c03ca794..0a46dc6b Webrevs: - full: https://webrevs.openjdk.org/?repo=jtreg&pr=290&range=03 - incr: https://webrevs.openjdk.org/?repo=jtreg&pr=290&range=02-03 Stats: 196 lines in 18 files changed: 162 ins; 5 del; 29 mod Patch: https://git.openjdk.org/jtreg/pull/290.diff Fetch: git fetch https://git.openjdk.org/jtreg.git pull/290/head:pull/290 PR: https://git.openjdk.org/jtreg/pull/290 From cstein at openjdk.org Wed Jan 28 15:34:12 2026 From: cstein at openjdk.org (Christian Stein) Date: Wed, 28 Jan 2026 15:34:12 GMT Subject: RFR: 7904084: Unset javaOpts and jtregOpts in jtreg.sh [v4] In-Reply-To: References: Message-ID: On Wed, 28 Jan 2026 07:07:23 GMT, SendaoYan wrote: >> Hi all, >> >> In jtreg.sh it will combine all the java options and jtreg options in the `for i in "$@"` loop. SHELL use javaOpts and jtregOpts as global varable by default, this means jtreg.sh will receive the value of javaOpts and jtregOpts outside. I think this unexpected. >> To avoid this siutation, I think we should unset javaOpts and jtregOpts before use it. > > SendaoYan has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision: > > - Merge branch 'openjdk:master' into jbs7904084 > - Merge branch 'openjdk:master' into jbs7904084 > - Merge branch 'openjdk:master' into jbs7904084 > - 7904084: Unset javaOpts and jtregOpts in jtreg.sh Marked as reviewed by cstein (Reviewer). ------------- PR Review: https://git.openjdk.org/jtreg/pull/291#pullrequestreview-3717376171 From cstein at openjdk.org Wed Jan 28 15:40:14 2026 From: cstein at openjdk.org (Christian Stein) Date: Wed, 28 Jan 2026 15:40:14 GMT Subject: RFR: 7904083: Print fatal error messages to stderr [v4] In-Reply-To: References: Message-ID: <10XRwI-TkuwzH4sTC_NtGqNDQeOMJ3-MESARBoWj5dY=.e2b706a8-4cc0-43a7-8ffa-f365db1dc3c6@github.com> On Wed, 28 Jan 2026 07:42:26 GMT, SendaoYan wrote: >> Hi all, >> >> Currently the fatal error message was print to stderr, shows as below. I think it's bettor to print the fatal error message to stderr. >> >>> unset JAVA_HOME ; jtreg -version >> No java executable at java >> >>> unset JAVA_HOME ; jtreg -version > /dev/null >> #nothing >> >> The `>&2` usage for echo both works on linux and cygwin. I do not have other OS system to verify this change, but I think the risk of this change is low. > > SendaoYan has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision: > > - Merge branch 'openjdk:master' into stderr > - Merge branch 'openjdk:master' into stderr > - Merge branch 'openjdk:master' into stderr > - 7904083: Print fatal error messages to stderr > [CODETOOLS-7904083](https://bugs.openjdk.org/browse/CODETOOLS-7904083): Print fatal error messages to stderr (Enhancement - P4) ?? Issue is not open. Please also close this PR after closing the underlying issue. ------------- PR Comment: https://git.openjdk.org/jtreg/pull/290#issuecomment-3812014604 From cstein at openjdk.org Wed Jan 28 16:17:44 2026 From: cstein at openjdk.org (Christian Stein) Date: Wed, 28 Jan 2026 16:17:44 GMT Subject: RFR: 7904143: Release jtreg 8.2.1 Message-ID: Please review this change to set jtreg's version number to `8.2.1` and update the `CHANGELOG.md` file to include a section about jtreg 8.2.1 URL targets used in the `CHANGELOG.md` file will start to work after the resulting commit was tagged. For example: https://git.openjdk.org/jtreg/compare/jtreg-8.2.1+1...master Note that this an empty fixup release. ------------- Commit messages: - 7904143: Release jtreg 8.2.1 Changes: https://git.openjdk.org/jtreg/pull/311/files Webrev: https://webrevs.openjdk.org/?repo=jtreg&pr=311&range=00 Issue: https://bugs.openjdk.org/browse/CODETOOLS-7904143 Stats: 6 lines in 2 files changed: 4 ins; 0 del; 2 mod Patch: https://git.openjdk.org/jtreg/pull/311.diff Fetch: git fetch https://git.openjdk.org/jtreg.git pull/311/head:pull/311 PR: https://git.openjdk.org/jtreg/pull/311 From jlahoda at openjdk.org Wed Jan 28 16:29:42 2026 From: jlahoda at openjdk.org (Jan Lahoda) Date: Wed, 28 Jan 2026 16:29:42 GMT Subject: RFR: 7904143: Release jtreg 8.2.1 In-Reply-To: References: Message-ID: On Wed, 28 Jan 2026 16:09:36 GMT, Christian Stein wrote: > Please review this change to set jtreg's version number to `8.2.1` and update the `CHANGELOG.md` file to include a section about jtreg 8.2.1 > > URL targets used in the `CHANGELOG.md` file will start to work after the resulting commit was tagged. For example: https://git.openjdk.org/jtreg/compare/jtreg-8.2.1+1...master > > Note that this an empty fixup release. Looks OK. ------------- Marked as reviewed by jlahoda (Lead). PR Review: https://git.openjdk.org/jtreg/pull/311#pullrequestreview-3717694578 From cstein at openjdk.org Wed Jan 28 16:35:14 2026 From: cstein at openjdk.org (Christian Stein) Date: Wed, 28 Jan 2026 16:35:14 GMT Subject: Integrated: 7904143: Release jtreg 8.2.1 In-Reply-To: References: Message-ID: On Wed, 28 Jan 2026 16:09:36 GMT, Christian Stein wrote: > Please review this change to set jtreg's version number to `8.2.1` and update the `CHANGELOG.md` file to include a section about jtreg 8.2.1 > > URL targets used in the `CHANGELOG.md` file will start to work after the resulting commit was tagged. For example: https://git.openjdk.org/jtreg/compare/jtreg-8.2.1+1...master > > Note that this an empty fixup release. This pull request has now been integrated. Changeset: 5afa26a2 Author: Christian Stein URL: https://git.openjdk.org/jtreg/commit/5afa26a21f06e3f231982f0d0abc50c33d68167c Stats: 6 lines in 2 files changed: 4 ins; 0 del; 2 mod 7904143: Release jtreg 8.2.1 Reviewed-by: jlahoda ------------- PR: https://git.openjdk.org/jtreg/pull/311 From syan at openjdk.org Thu Jan 29 01:15:29 2026 From: syan at openjdk.org (SendaoYan) Date: Thu, 29 Jan 2026 01:15:29 GMT Subject: RFR: 7904083: Print fatal error messages to stderr [v4] In-Reply-To: <10XRwI-TkuwzH4sTC_NtGqNDQeOMJ3-MESARBoWj5dY=.e2b706a8-4cc0-43a7-8ffa-f365db1dc3c6@github.com> References: <10XRwI-TkuwzH4sTC_NtGqNDQeOMJ3-MESARBoWj5dY=.e2b706a8-4cc0-43a7-8ffa-f365db1dc3c6@github.com> Message-ID: On Wed, 28 Jan 2026 15:37:09 GMT, Christian Stein wrote: > > [CODETOOLS-7904083](https://bugs.openjdk.org/browse/CODETOOLS-7904083): Print fatal error messages to stderr (Enhancement - P4) ?? Issue is not open. > > Please also close this PR after closing the underlying issue. Okey ------------- PR Comment: https://git.openjdk.org/jtreg/pull/290#issuecomment-3814782669 From syan at openjdk.org Thu Jan 29 01:15:31 2026 From: syan at openjdk.org (SendaoYan) Date: Thu, 29 Jan 2026 01:15:31 GMT Subject: Withdrawn: 7904083: Print fatal error messages to stderr In-Reply-To: References: Message-ID: On Tue, 23 Sep 2025 06:52:38 GMT, SendaoYan wrote: > Hi all, > > Currently the fatal error message was print to stderr, shows as below. I think it's bettor to print the fatal error message to stderr. > >> unset JAVA_HOME ; jtreg -version > No java executable at java > >> unset JAVA_HOME ; jtreg -version > /dev/null > #nothing > > The `>&2` usage for echo both works on linux and cygwin. I do not have other OS system to verify this change, but I think the risk of this change is low. This pull request has been closed without being integrated. ------------- PR: https://git.openjdk.org/jtreg/pull/290 From syan at openjdk.org Thu Jan 29 02:42:15 2026 From: syan at openjdk.org (SendaoYan) Date: Thu, 29 Jan 2026 02:42:15 GMT Subject: RFR: 7904084: Unset javaOpts and jtregOpts in jtreg.sh [v2] In-Reply-To: References: <8WJCZd44tfAGAlVfiyZAR_OFOosCwUz0WDOFi23snuI=.de9c7f05-6d32-4f59-b320-89e9cb244af0@github.com> Message-ID: On Tue, 2 Dec 2025 12:01:02 GMT, Christian Stein wrote: >> SendaoYan has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision: >> >> - Merge branch 'openjdk:master' into jbs7904084 >> - 7904084: Unset javaOpts and jtregOpts in jtreg.sh > > Did you see an error when used in combination with another or the same script? If yes, which one(s)? > > There's related prior-art in the script for the `DUALCASE` variable. Which is declard and initialized before each use, and `unset` after each use. Would it be possible to the same for `javaOpts` and `jtregOpts`? Or at least `unset` both after use. > > Another solution would be to introduce script-`local` variables, right? Thanks for the reviews @sormuras Does this PR need second reviewer, or may I integrate this PR now. ------------- PR Comment: https://git.openjdk.org/jtreg/pull/291#issuecomment-3815092641 From liach at openjdk.org Thu Jan 29 08:08:47 2026 From: liach at openjdk.org (Chen Liang) Date: Thu, 29 Jan 2026 08:08:47 GMT Subject: RFR: 7904084: Unset javaOpts and jtregOpts in jtreg.sh [v4] In-Reply-To: References: Message-ID: On Wed, 28 Jan 2026 07:07:23 GMT, SendaoYan wrote: >> Hi all, >> >> In jtreg.sh it will combine all the java options and jtreg options in the `for i in "$@"` loop. SHELL use javaOpts and jtregOpts as global varable by default, this means jtreg.sh will receive the value of javaOpts and jtregOpts outside. I think this unexpected. >> To avoid this siutation, I think we should unset javaOpts and jtregOpts before use it. > > SendaoYan has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision: > > - Merge branch 'openjdk:master' into jbs7904084 > - Merge branch 'openjdk:master' into jbs7904084 > - Merge branch 'openjdk:master' into jbs7904084 > - 7904084: Unset javaOpts and jtregOpts in jtreg.sh Clearing variable before loop makes sense. ------------- Marked as reviewed by liach (no project role). PR Review: https://git.openjdk.org/jtreg/pull/291#pullrequestreview-3721241834 From cstein at openjdk.org Thu Jan 29 08:16:44 2026 From: cstein at openjdk.org (Christian Stein) Date: Thu, 29 Jan 2026 08:16:44 GMT Subject: RFR: 7904084: Unset javaOpts and jtregOpts in jtreg.sh [v2] In-Reply-To: References: <8WJCZd44tfAGAlVfiyZAR_OFOosCwUz0WDOFi23snuI=.de9c7f05-6d32-4f59-b320-89e9cb244af0@github.com> Message-ID: On Thu, 29 Jan 2026 02:39:43 GMT, SendaoYan wrote: > [...] may I integrate this PR now. Yes. Happy to sponsor afterwards. ------------- PR Comment: https://git.openjdk.org/jtreg/pull/291#issuecomment-3816152643 From cstein at openjdk.org Thu Jan 29 08:34:35 2026 From: cstein at openjdk.org (Christian Stein) Date: Thu, 29 Jan 2026 08:34:35 GMT Subject: Integrated: 7904144: Update version to 8.3 Message-ID: Please review this change to update jtreg's version to 8.3 ------------- Commit messages: - 7904144: Update JTREG_VERSION to 8.3 Changes: https://git.openjdk.org/jtreg/pull/312/files Webrev: https://webrevs.openjdk.org/?repo=jtreg&pr=312&range=00 Issue: https://bugs.openjdk.org/browse/CODETOOLS-7904144 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jtreg/pull/312.diff Fetch: git fetch https://git.openjdk.org/jtreg.git pull/312/head:pull/312 PR: https://git.openjdk.org/jtreg/pull/312 From jlahoda at openjdk.org Thu Jan 29 08:34:36 2026 From: jlahoda at openjdk.org (Jan Lahoda) Date: Thu, 29 Jan 2026 08:34:36 GMT Subject: Integrated: 7904144: Update version to 8.3 In-Reply-To: References: Message-ID: On Thu, 29 Jan 2026 08:24:56 GMT, Christian Stein wrote: > Please review this change to update jtreg's version to 8.3 LGTM ------------- Marked as reviewed by jlahoda (Lead). PR Review: https://git.openjdk.org/jtreg/pull/312#pullrequestreview-3721317196 From cstein at openjdk.org Thu Jan 29 08:34:37 2026 From: cstein at openjdk.org (Christian Stein) Date: Thu, 29 Jan 2026 08:34:37 GMT Subject: Integrated: 7904144: Update version to 8.3 In-Reply-To: References: Message-ID: On Thu, 29 Jan 2026 08:24:56 GMT, Christian Stein wrote: > Please review this change to update jtreg's version to 8.3 This pull request has now been integrated. Changeset: 1eed6503 Author: Christian Stein URL: https://git.openjdk.org/jtreg/commit/1eed650345ec03c1fbafc7d79956f86e2b28b354 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod 7904144: Update version to 8.3 Reviewed-by: jlahoda ------------- PR: https://git.openjdk.org/jtreg/pull/312 From duke at openjdk.org Thu Jan 29 09:39:00 2026 From: duke at openjdk.org (duke) Date: Thu, 29 Jan 2026 09:39:00 GMT Subject: RFR: 7904084: Unset javaOpts and jtregOpts in jtreg.sh [v4] In-Reply-To: References: Message-ID: On Wed, 28 Jan 2026 07:07:23 GMT, SendaoYan wrote: >> Hi all, >> >> In jtreg.sh it will combine all the java options and jtreg options in the `for i in "$@"` loop. SHELL use javaOpts and jtregOpts as global varable by default, this means jtreg.sh will receive the value of javaOpts and jtregOpts outside. I think this unexpected. >> To avoid this siutation, I think we should unset javaOpts and jtregOpts before use it. > > SendaoYan has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision: > > - Merge branch 'openjdk:master' into jbs7904084 > - Merge branch 'openjdk:master' into jbs7904084 > - Merge branch 'openjdk:master' into jbs7904084 > - 7904084: Unset javaOpts and jtregOpts in jtreg.sh @sendaoYan Your change (at version a3076f53d2081c818c7435f9b633bb8d820ad330) is now ready to be sponsored by a Committer. ------------- PR Comment: https://git.openjdk.org/jtreg/pull/291#issuecomment-3816524339 From syan at openjdk.org Thu Jan 29 09:50:07 2026 From: syan at openjdk.org (SendaoYan) Date: Thu, 29 Jan 2026 09:50:07 GMT Subject: RFR: 7904084: Unset javaOpts and jtregOpts in jtreg.sh [v2] In-Reply-To: References: <8WJCZd44tfAGAlVfiyZAR_OFOosCwUz0WDOFi23snuI=.de9c7f05-6d32-4f59-b320-89e9cb244af0@github.com> Message-ID: <0rAwM-lejjuLqAdBEHCni_nM-L2ln2PCFEvmlkkS170=.aa234a14-afee-4e10-a4d9-98496f110dff@github.com> On Thu, 29 Jan 2026 08:14:08 GMT, Christian Stein wrote: >> Thanks for the reviews @sormuras >> >> Does this PR need second reviewer, or may I integrate this PR now. > >> [...] may I integrate this PR now. > > Yes. Happy to sponsor afterwards. Thanks @sormuras @liach ------------- PR Comment: https://git.openjdk.org/jtreg/pull/291#issuecomment-3816576964 From syan at openjdk.org Thu Jan 29 09:50:08 2026 From: syan at openjdk.org (SendaoYan) Date: Thu, 29 Jan 2026 09:50:08 GMT Subject: Integrated: 7904084: Unset javaOpts and jtregOpts in jtreg.sh In-Reply-To: References: Message-ID: On Wed, 24 Sep 2025 13:53:39 GMT, SendaoYan wrote: > Hi all, > > In jtreg.sh it will combine all the java options and jtreg options in the `for i in "$@"` loop. SHELL use javaOpts and jtregOpts as global varable by default, this means jtreg.sh will receive the value of javaOpts and jtregOpts outside. I think this unexpected. > To avoid this siutation, I think we should unset javaOpts and jtregOpts before use it. This pull request has now been integrated. Changeset: 3c9174b5 Author: SendaoYan Committer: Christian Stein URL: https://git.openjdk.org/jtreg/commit/3c9174b58e60e1231322509012a0f0a04aba2980 Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod 7904084: Unset javaOpts and jtregOpts in jtreg.sh Reviewed-by: cstein, liach ------------- PR: https://git.openjdk.org/jtreg/pull/291 From cstein at openjdk.org Thu Jan 29 15:01:16 2026 From: cstein at openjdk.org (Christian Stein) Date: Thu, 29 Jan 2026 15:01:16 GMT Subject: RFR: 7904141: JTReg should support running compact source files Message-ID: <4Kv3-E_4CQk8BnpKReRmy4NU2BkIWsTh9qttFh_tFc8=.3e34e17e-d9cb-49d0-81c6-5afa57a5710b@github.com> Please review this change that adds support for running compact source files as jtreg `main` tests. This pull request also adds JDK 25 to the GHA-based CI workflow and updates to use newer GitHub actions: `actions/checkout at v6` and `actions/setup-java at v5` ------------- Commit messages: - Cleanup - Fix syntax - Install JDK 25 and 21 - Configure correct makefile - Fix path to pre-installed JDK 25 - Introduce `JDK25HOME` variable - 7904141: JTReg should support running compact source files Changes: https://git.openjdk.org/jtreg/pull/313/files Webrev: https://webrevs.openjdk.org/?repo=jtreg&pr=313&range=00 Issue: https://bugs.openjdk.org/browse/CODETOOLS-7904141 Stats: 260 lines in 10 files changed: 249 ins; 0 del; 11 mod Patch: https://git.openjdk.org/jtreg/pull/313.diff Fetch: git fetch https://git.openjdk.org/jtreg.git pull/313/head:pull/313 PR: https://git.openjdk.org/jtreg/pull/313