8072770: [TESTBUG] Some Introspector tests fail with a Java heap bigger than 4GB
authorsimonis
Fri, 13 Feb 2015 19:14:44 +0100
changeset 28965 9468d534ab8c
parent 28964 f4a570561f34
child 28966 a5a2f36ea4bd
8072770: [TESTBUG] Some Introspector tests fail with a Java heap bigger than 4GB Reviewed-by: serb
jdk/test/java/beans/Introspector/7064279/Test7064279.java
jdk/test/java/beans/Introspector/Test7172865.java
jdk/test/java/beans/Introspector/Test7195106.java
--- a/jdk/test/java/beans/Introspector/7064279/Test7064279.java	Fri Feb 13 11:13:30 2015 +0100
+++ b/jdk/test/java/beans/Introspector/7064279/Test7064279.java	Fri Feb 13 19:14:44 2015 +0100
@@ -26,6 +26,7 @@
  * @bug 7064279
  * @summary Tests that Introspector does not have strong references to context class loader
  * @author Sergey Malenkov
+ * @run main/othervm -Xmx128m Test7064279
  */
 
 import java.beans.Introspector;
--- a/jdk/test/java/beans/Introspector/Test7172865.java	Fri Feb 13 11:13:30 2015 +0100
+++ b/jdk/test/java/beans/Introspector/Test7172865.java	Fri Feb 13 19:14:44 2015 +0100
@@ -30,6 +30,7 @@
  * @bug 7172854 7172865
  * @summary Tests that cached methods are not lost
  * @author Sergey Malenkov
+ * @run main/othervm -Xmx128m Test7172865
  */
 
 public class Test7172865 {
--- a/jdk/test/java/beans/Introspector/Test7195106.java	Fri Feb 13 11:13:30 2015 +0100
+++ b/jdk/test/java/beans/Introspector/Test7195106.java	Fri Feb 13 19:14:44 2015 +0100
@@ -26,6 +26,7 @@
  * @bug 7195106
  * @summary Tests that explicit BeanInfo is not collected
  * @author Sergey Malenkov
+ * @run main/othervm -Xmx128m Test7195106
  */
 
 import java.awt.Image;