Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8205281 | 11.0.1 | Calvin Cheung | P3 | Resolved | Fixed | team |
When the UseAppCDS command-line option was obsoleted, using the standard appropriate obsolete message, the standard message is confusing to anyone who is currently using UseAppCDS:
Sample:
java -XX:+UseAppCDS -Xshare:off XX:DumpLoadedClassList=zprint.filter.classlist -cp "$filter_path" zprint.main < helloworld.clj > /dev/null
OpenJDK 64-Bit Server VM warning: Ignoring option UseAppCDS; support was removed in 11.0
Between Matthew Gilliard's blog and other sources, UseAppCDS is currently in use by customers (e.g. the clojure community).
It would be helpful to add a message which informs users that -XShare:{on, auto,off) replaces this. Perhaps the alias mechanism could be used for this?
Sample:
java -XX:+UseAppCDS -Xshare:off XX:DumpLoadedClassList=zprint.filter.classlist -cp "$filter_path" zprint.main < helloworld.clj > /dev/null
OpenJDK 64-Bit Server VM warning: Ignoring option UseAppCDS; support was removed in 11.0
Between Matthew Gilliard's blog and other sources, UseAppCDS is currently in use by customers (e.g. the clojure community).
It would be helpful to add a message which informs users that -XShare:{on, auto,off) replaces this. Perhaps the alias mechanism could be used for this?
- backported by
-
JDK-8205281 UseAppCDS obsolete message is confusing
-
- Resolved
-
- relates to
-
JDK-8204591 Expire/remove the UseAppCDS option in JDK 12
-
- Resolved
-