JDK-8285756 : clean up use of bad arguments for `@clean` in langtools tests
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 11,17,18
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-04-27
  • Updated: 2024-02-29
  • Resolved: 2022-04-27
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 17 JDK 19
11.0.23Fixed 17.0.10-oracleFixed 19 b21Fixed
Related Reports
Blocks :  
Description
Some javac tests have bad/dysfunctional `@clean` tags that are now rejected by newer versions of jtreg (>=7)

They need to be fixed.
tools/javac/6257443/T6257443.java                                                                                Error. Parse Exception: Bad classname provided for `clean': foo.package-info
tools/javac/jvm/ClassRefDupInConstantPoolTest.java                                                               Error. Parse Exception: Bad classname provided for `clean': ClassRefDupInConstantPoolTest$Duplicates.class
tools/javac/warnings/suppress/PackageInfo.java                                                                   Error. Parse Exception: Bad classname provided for `clean': pack.package-info
Comments
A pull request was submitted for review. URL: https://git.openjdk.org/jdk11u-dev/pull/2555 Date: 2024-02-26 11:24:46 +0000
26-02-2024

[jdk11u-fix-request] Approval Request from Aleksey Shipilëv Clean backport to improve tests for jtreg update. Applies cleanly. Affected tests pass with old and new jtregs, see PR for testing details. Risk is low, test-only change.
26-02-2024

Fix request [17u] I backport this to enable jtreg 7 in jdk17. No risk, only a test change. Clean backport. SAP nightly testing passed.
18-06-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk17u-dev/pull/1463 Date: 2023-06-17 06:43:48 +0000
17-06-2023

Changeset: 3312d8c6 Author: Jonathan Gibbons <jjg@openjdk.org> Date: 2022-04-27 22:22:28 +0000 URL: https://git.openjdk.java.net/jdk/commit/3312d8c620003125a88540fd5b2bacff34732ade
27-04-2022

A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk/pull/8435 Date: 2022-04-27 21:15:25 +0000
27-04-2022