On Mon, 1 Aug 2022 18:51:31 GMT, Harold Seigel <[email protected]> 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