[jdk17] RFR: 8271174: runtime/ClassFile/UnsupportedClassFileVersion.java can be run in driver mode
David Holmes
dholmes at openjdk.java.net
Wed Jul 28 05:34:35 UTC 2021
On Tue, 27 Jul 2021 23:18:06 GMT, Igor Ignatyev <iignatyev at openjdk.org> wrote:
>> test/hotspot/jtreg/runtime/ClassFile/UnsupportedClassFileVersion.java line 30:
>>
>>> 28: * java.base/jdk.internal.misc
>>> 29: * java.management
>>> 30: * @compile -XDignore.symbol.file UnsupportedClassFileVersion.java
>>
>> I can't find what -XDignore.symbol.file was used for, so am unsure if removing it is in fact okay in all circumstances. ??
>
> I believe we had to have it b/c we used JDK internal API, i.e. asm, now we have corresponding `@modules` tags, and `-XDignore.symbol.file` isn't need anymore. also, it's used at `@compile`, so if it is required, the test would fail fast and (largely) independently from JVM configurations.
Okay, it seems it is not needed on this test as there are no warnings without it. Thanks.
-------------
PR: https://git.openjdk.java.net/jdk17/pull/276
More information about the hotspot-runtime-dev
mailing list