> Please review this simple change to give a more informative error message for 
> `UnsupportedClassVersionError` when trying to load a recent classfile on an 
> older VM. The wording used has already been finalized - see JBS.
> 
> Testing:
> 
> - Updated test runtime/ClassFile/UnsupportedClassFileVersion.java. 
> - Added a new test case to 
> `test/hotspot/jtreg/runtime/ClassFile/PreviewVersion.java` to show preview 
> classfiles are also handled as expected
> 
> Tier 1 sanity testing.
> 
> Thanks
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

David Holmes has updated the pull request incrementally with one additional 
commit since the last revision:

  Check actual runtime version

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/32117/files
  - new: https://git.openjdk.org/jdk/pull/32117/files/6df17eb2..e20cef3c

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=32117&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=32117&range=01-02

  Stats: 3 lines in 1 file changed: 1 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/32117.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/32117/head:pull/32117

PR: https://git.openjdk.org/jdk/pull/32117

Reply via email to