With UnsupportedClassVersionError expected to be more commonly seen in the future with preview language features (JDK-8195734), it would be helpful to consumers of the error to have methods to retrieve the major and minor versions in question. Such methods would be a supplement to an informative detail message.
- relates to
-
JDK-8195734 JEP 12: Preview Features
- Completed