JDK-8291734 : Return accurate ACC_SUPER access flag for classes
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.lang:reflect
  • Affected Version: 20
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-08-02
  • Updated: 2024-10-27
  • Resolved: 2022-08-10
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 20
20 b11Fixed
Related Reports
Blocks :  
Relates :  
Description
Before JDK-8291360, HotSpot did not expose the raw modifier bits of a class and returned processed bits to the Java side of core reflection. The processing included clearing out the ACC_SUPER bit of a class. Now that ACC_SUPER information is available, the Class.accessFlags (JDK-8266670) should return it.
Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/9799 Date: 2022-08-09 00:15:03 +0000
27-10-2024

Changeset: 68af7c13 Author: Joe Darcy <darcy@openjdk.org> Date: 2022-08-10 19:55:57 +0000 URL: https://git.openjdk.org/jdk/commit/68af7c1365712773a56f19ce3453baebffd006f4
10-08-2022