<AWT Dev> RFR: 8259511: java/awt/Window/MainKeyWindowTest/TestMainKeyWindow.java failed with "RuntimeException: Test failed: 20 failure(s)"

Sergey Bylokhov serb at openjdk.java.net
Mon Jan 18 04:08:43 UTC 2021


On Mon, 18 Jan 2021 03:53:36 GMT, Jayathirth D V <jdv at openjdk.org> wrote:

> I am trying to verify the fix in my mac, if i simply run the test without any change it is throwing error : "Use -nativepath to specify the location of native code".
> Do we need to change anything in the mac preferences to run this test?

This test has a native part so you need to specify this option and point it to the built test bundle, or you can run it via make file:
`make test TEST="jtreg:open/test/jdk/java/awt/Window/MainKeyWindowTest/TestMainKeyWindow.java"`

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

PR: https://git.openjdk.java.net/jdk/pull/2113


More information about the awt-dev mailing list