< prev index next >
test/java/awt/Component/SetEnabledPerformance/SetEnabledPerformance.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
--- 1,7 ----
/*
! * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 30,41 ****
import javax.swing.SwingUtilities;
/**
* @test
* @key headful
! * @bug 8071306
* @author Sergey Bylokhov
*/
public final class SetEnabledPerformance {
private static Frame frame;
--- 30,43 ----
import javax.swing.SwingUtilities;
/**
* @test
* @key headful
! * @bug 8071306 8165863
* @author Sergey Bylokhov
+ * @summary multiple setEnable() method calls cause poor GUI performance
+ * @run main/othervm -Xss2048k SetEnabledPerformance
*/
public final class SetEnabledPerformance {
private static Frame frame;
*** 69,73 ****
--- 71,76 ----
throw new RuntimeException("Too slow");
}
});
}
}
+
< prev index next >