Review for 8056909: test/sun/reflect/CallerSensitive/CallerSensitiveFinder.java fails with OOME

Mandy Chung mandy.chung at oracle.com
Wed Oct 8 02:05:51 UTC 2014


A simple patch to take out -mx flag from the test.  The test should
use the default setting instead of setting the max heap size.

Thanks
Mandy
----------------

diff --git a/test/sun/reflect/CallerSensitive/CallerSensitiveFinder.java b/test/sun/reflect/CallerSensitive/CallerSensitiveFinder.java
--- a/test/sun/reflect/CallerSensitive/CallerSensitiveFinder.java
+++ b/test/sun/reflect/CallerSensitive/CallerSensitiveFinder.java
@@ -47,7 +47,7 @@
   * @summary Verify if CallerSensitive methods are annotated with
   *          sun.reflect.CallerSensitive annotation
   * @build CallerSensitiveFinder
- * @run main/othervm/timeout=900 -mx600m CallerSensitiveFinder
+ * @run main/othervm/timeout=900 CallerSensitiveFinder
   */
  public class CallerSensitiveFinder {
      private static int numThreads = 3;




More information about the core-libs-dev mailing list