JDK-8322883 : [BACKOUT] 8225377: type annotations are not visible to javac plugins across compilation boundaries
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 11.0.23,17.0.11,21.0.2
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2024-01-03
  • Updated: 2025-04-17
  • Resolved: 2024-01-03
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
11.0.23Fixed 17.0.11Fixed 21.0.2 b12Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Description
javac fails with "Unable to implement <class> method" after fixing JDK-8225377 and JDK-8320001 in 21.0.2 . More details in JDK-8322641.

Backing out fix JDK-8225377 and JDK-8320001 from 21.0.2.
Comments
Changeset: f423faa3 Author: Ravi Reddy <ravi.k.reddy@oracle.com> Committer: rreddy <ravi.k.reddy@oracle.com> Date: 2024-01-03 13:47:41 +0000 URL: https://git.openjdk.org/jdk21u/commit/f423faa3e05b2aee4c169dae1d0c9817b4be1b46
16-01-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk11u-dev/pull/2450 Date: 2024-01-10 09:12:03 +0000
10-01-2024

Fix request [17u] I backport this for parity with 21.0.2. 17.0.11 and 11.0.23 got JDK-8225377 and JDK-8320001, so they both need the backport. Risk: brings 17 back to buggy situation before 8225377. Not clean, difference in deleted code. SAP nighlty testing passed.
09-01-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk17u-dev/pull/2102 Date: 2024-01-04 14:30:30 +0000
04-01-2024

Changeset: 18e97aa2 Author: Ravi Reddy <rreddy@openjdk.org> Committer: Rob McKenna <robm@openjdk.org> Date: 2024-01-03 13:30:55 +0000 URL: https://git.openjdk.org/jdk21u/commit/18e97aa217087ff7af13a0147eaf091df3cb20eb
03-01-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk21u/pull/427 Date: 2024-01-03 10:46:27 +0000
03-01-2024

Fix Request JDK 21u. javac fails with "Unable to implement <class> method" after fixing JDK-8225377 and JDK-8320001 in 21.0.2. Backing out both the fixes from 21.0.2. javac failure is resolved after the backout of the fixes , also langtools:tier1 tests are passed.
03-01-2024