JDK-8308245 : Add -proc:full to describe current default annotation processing policy
  • Type: Enhancement
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 8,11,17,21
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2023-05-16
  • Updated: 2024-02-05
  • Resolved: 2023-05-18
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 21 JDK 8
11.0.23-oracleFixed 17.0.11-oracleFixed 21 b24Fixed 8u411Fixed
Related Reports
CSR :  
Relates :  
Relates :  
Relates :  
Sub Tasks
JDK-8308456 :  
Description
The -proc:$POLICY option to javac accepts a few values including "none" and "only". There is not an option to name the current default policy of "processing with compilation." Such an explicit policy name should be added in case the future default changes.
Comments
Fix request [11u] I backport this for parity with 11.0.23-oracle. Clean backport. Test passes. SAP nightly testing passed.
26-01-2024

Fix request [17u] I backport this for parity with 17.0.11-oracle. Clean backport. Test pass. SAP nightly testing passed.
24-01-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk11u-dev/pull/2477 Date: 2024-01-23 07:44:23 +0000
23-01-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk17u-dev/pull/2161 Date: 2024-01-23 07:42:48 +0000
23-01-2024

It's also useful to provide a name for the default behavior for cases where the behavior is being specified/controlled by external scripting, when in may be easier to change the arg for the option, compared to dropping the option.
05-06-2023

Changeset: 42ecc8a3 Author: Joe Darcy <darcy@openjdk.org> Date: 2023-05-18 17:05:28 +0000 URL: https://git.openjdk.org/jdk/commit/42ecc8a37ffc7e4ad7beb49cac7d821c00a5568e
18-05-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/14044 Date: 2023-05-18 06:18:44 +0000
18-05-2023