RFR: 8291360: Create entry points to expose low-level class file information [v2]

David Holmes dholmes at openjdk.org
Tue Aug 2 06:54:42 UTC 2022


On Mon, 1 Aug 2022 18:51:31 GMT, Harold Seigel <hseigel at openjdk.org> wrote:

>> test/hotspot/jtreg/runtime/ClassFile/ClassFileVersionTest.java line 45:
>> 
>>> 43:         if (ver != expectedResult) {
>>> 44:             throw new RuntimeException(
>>> 45:                 "expected " + expectedResult + ", got " + ver + " for class " + className);
>> 
>> It would be clearer to show the expected and actual in minor:major format. That way if the test fails we can easily see which bit is wrong.
>
> Changed to display as major:minor version.

Seems odd to display as major:minor when it is stored as minor:majpor

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

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



More information about the build-dev mailing list