JDK-8339550 : Enable javac lint options for tests
  • Type: Bug
  • Component: javafx
  • Sub-Component: other
  • Affected Version: jfx23
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-09-04
  • Updated: 2024-09-19
  • Resolved: 2024-09-16
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.
Other
jfx24 b10Fixed
Related Reports
Blocks :  
Blocks :  
Description
JDK-8327255 added build.gradle support for enabling javac lint warnings, and then JDK-8334161 added -Werror to treat warnings as errors. We should do the same for tests, once the tests are lint clean.

This would be done by added the list of lint options to the "defaultTestLintOptions" variable in build.gradle. To test this prior to changing build.gradle, run gradle test with the "-PTEST_LINT" option.
Comments
Changeset: 3e6a2724 Branch: master Author: Kevin Rushforth <kcr@openjdk.org> Date: 2024-09-16 12:47:02 +0000 URL: https://git.openjdk.org/jfx/commit/3e6a27240abcffd500a7150a8e934918683d6173
16-09-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jfx/pull/1565 Date: 2024-09-13 14:52:22 +0000
13-09-2024