8266129: tools/jpackage/windows/WinInstallerIconTest.java hangs with fastdebug

Reviewed-by: asemenyuk, almatvee
This commit is contained in:
Andy Herrick 2021-05-01 12:03:12 +00:00
parent 3e667cc405
commit 5c083e8560

View File

@ -47,10 +47,17 @@ import jdk.jpackage.test.TKit;
* @build jdk.jpackage.test.*
* @build WinInstallerIconTest
* @requires (os.family == "windows")
* @requires !vm.debug
* @modules jdk.jpackage/jdk.jpackage.internal
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
* --jpt-run=WinInstallerIconTest
*/
/*
* note: AWT can throw assertion from GetDiBits() extracting icon
* bits in fastdebug mode on windows headless systems. That is why
* we have @requires !vm.debug" above.
*/
public class WinInstallerIconTest {
@Test