JDK-8298475 : Remove JVM_ACC_PROMOTED_FLAGS
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 21
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-12-09
  • Updated: 2022-12-19
  • Resolved: 2022-12-14
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 21
21 b02Fixed
Related Reports
Relates :  
Relates :  
Description
AccessFlags uses a mechanism to pass flags from parsing methods to set in access flags in InstanceKlass.  There's only one flag: JVM_ACC_HAS_LOCAL_VARIABLE_TABLE that uses this. Other flags passed up to InstanceKlass simply pass boolean return values.

The change is to pass this as a boolean return value also, and set it in InstanceKlassMiscStatus flags.  This is part of the work to make AccessFlags only be ones found in the class file, and use internal JVM status flags for JVM internal status.
Comments
Changeset: 2e801e16 Author: Coleen Phillimore <coleenp@openjdk.org> Date: 2022-12-14 12:47:08 +0000 URL: https://git.openjdk.org/jdk/commit/2e801e16ec40ce0e25d8679e21d7da347c52d7be
14-12-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/11655 Date: 2022-12-13 18:28:22 +0000
13-12-2022