RFR: 8228571: [TESTBUG] Fix tests failing on non-aot platforms after JDK-8227512

Langer, Christoph christoph.langer at sap.com
Wed Jul 24 08:12:59 UTC 2019


Sorry, wrong bug URL. The correct one is: https://bugs.openjdk.java.net/browse/JDK-8228571

From: Langer, Christoph
Sent: Mittwoch, 24. Juli 2019 10:09
To: compiler-dev at openjdk.java.net; hotspot-compiler-dev at openjdk.java.net
Cc: Alan Bateman <Alan.Bateman at oracle.com>; 'Vladimir Kozlov' <vladimir.kozlov at oracle.com>; 'Pengfei Li (Arm Technology China)' <Pengfei.Li at arm.com>; 'daniel.daugherty at oracle.com' <daniel.daugherty at oracle.com>; David Holmes <david.holmes at oracle.com>
Subject: RFR: 8228571: [TESTBUG] Fix tests failing on non-aot platforms after JDK-8227512

Hi,

Please review a fix for two tests that fail on non-aot builds/platforms after JDK-8227512:
langtools/tools/javac/modules/InheritRuntimeEnvironmentTest.java
langtools/tools/javac/file/LimitedImage.java

Bug: https://bugs.openjdk.java.net/browse/JDK-8227512
Webrev: http://cr.openjdk.java.net/~clanger/webrevs/8228571.0/

I would fix it by setting up two test run configurations, one with graal and the other without. Therefore I need to add some configuration to langtools/TEST.ROOT to be able to use "@requires vm.graal.enabled".

Best regards
Christoph



More information about the hotspot-compiler-dev mailing list