Open
Description
-H:±UnlockExperimentalVMOptions
was introduced in GraalVM for JDK 21 (see #7105). This is a follow up issue to track outstanding tasks such as its enforcement, bugs and improvements, or API option changes.
Main task
- Turn unlocking warning into a failure. This has the highest priority.
Bug fixes and improvements
-
-H:Log
and other options are not listed in the experimental output, which only handlesHostedOptionKey
but not otherOptionKey
s (see Add stable option for option -H:Log #7357).
(addressed by [GR-47922] Improve list of experimental options. #7720) - Provide migration messages across options (e.g.,
-H:IncludeResources
can be replaced with aresource-config.json
file , see Add stable option for -H:IncludeResources and -H:ExcludeResources #7354 (comment)). Currently, migration hints are only generated for hosted options that are annotated with@APIOption
. Another example is-H:Path
which can be replaced with-o
, which in turn belongs to-H:Name
.
(addressed by [GR-47922] Improve list of experimental options. #7720) -
Only print warning for existing hosted options (e.g.,won't fix, not considered a bugnative-image -H:+Nonono -m jdk.httpserver
should not show the warning)
API changes
- Introduce new API options for debugging features. In [GR-48956] Add stable option for debug options OmitInlinedMethodDebugLineInfo, TrackNodeSourcePosition, DeleteLocalSymbols and SourceLevelDebug #7356, we discussed
-gperf
and-gfull
.
Metadata
Metadata
Assignees
Type
Projects
Status
In Progress
Status
In progress