Summary
Deprecate the -profile
option.
Problem
Compact profiles were introduced in 8 and then removed in 9, with the
introduction of actual modules. javac
supports the use of profiles in conjunction with --release 8
, but the feature is little-used and is a
maintenance burden.
Solution
The option should be deprecated, and a warning message generated if the option is used, giving notice that the option may be removed in a future release.
Specification
The man page will be updated to include the following text for the option:
This option is deprecated and may be removed in a future release.
A message with similar content will be generated if the option is
used when invoking javac
.
- csr of
-
JDK-8245246 Deprecate -profile option in javac
-
- Resolved
-