changeset 8170:58fd427b454d

8024985: com/sun/jdi/StepTest.java failed since jdk8b107 Reviewed-by: dcubed
author sla
date Fri, 20 Sep 2013 10:14:35 +0200
parents 0ef7ddef9de0
children 6a1c70e191d4
files test/com/sun/jdi/ExceptionEvents.java test/com/sun/jdi/FilterNoMatch.java test/com/sun/jdi/JDIScaffold.java test/com/sun/jdi/PopAndStepTest.java test/com/sun/jdi/RepStep.java test/com/sun/jdi/TestScaffold.java
diffstat 6 files changed, 29 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/test/com/sun/jdi/ExceptionEvents.java	Thu Sep 19 20:41:54 2013 -0700
+++ b/test/com/sun/jdi/ExceptionEvents.java	Fri Sep 20 10:14:35 2013 +0200
@@ -417,8 +417,12 @@
         request = eventRequestManager().createExceptionRequest(exceptionClass,
                                                                caught, uncaught);
         request.addClassExclusionFilter("java.*");
+        request.addClassExclusionFilter("javax.*");
         request.addClassExclusionFilter("sun.*");
         request.addClassExclusionFilter("com.sun.*");
+        request.addClassExclusionFilter("com.oracle.*");
+        request.addClassExclusionFilter("oracle.*");
+        request.addClassExclusionFilter("jdk.internal.*");
         request.setSuspendPolicy(suspendPolicy);
         request.enable();
 
--- a/test/com/sun/jdi/FilterNoMatch.java	Thu Sep 19 20:41:54 2013 -0700
+++ b/test/com/sun/jdi/FilterNoMatch.java	Fri Sep 20 10:14:35 2013 +0200
@@ -121,9 +121,13 @@
 
         // We have to filter out all these so that they don't cause the
         // listener to be called.
-        request1.addClassExclusionFilter( "java.*");
-        request1.addClassExclusionFilter( "com.*");
-        request1.addClassExclusionFilter( "sun.*");
+        request1.addClassExclusionFilter("java.*");
+        request1.addClassExclusionFilter("javax.*");
+        request1.addClassExclusionFilter("sun.*");
+        request1.addClassExclusionFilter("com.sun.*");
+        request1.addClassExclusionFilter("com.oracle.*");
+        request1.addClassExclusionFilter("oracle.*");
+        request1.addClassExclusionFilter("jdk.internal.*");
 
         // We want our listener to be called if a pattern does not match.
         // So, here we want patterns that do not match HelloWorld.
--- a/test/com/sun/jdi/JDIScaffold.java	Thu Sep 19 20:41:54 2013 -0700
+++ b/test/com/sun/jdi/JDIScaffold.java	Fri Sep 20 10:14:35 2013 +0200
@@ -450,8 +450,12 @@
                   requestManager.createStepRequest(thread, gran, depth);
 
         sr.addClassExclusionFilter("java.*");
+        sr.addClassExclusionFilter("javax.*");
         sr.addClassExclusionFilter("sun.*");
         sr.addClassExclusionFilter("com.sun.*");
+        sr.addClassExclusionFilter("com.oracle.*");
+        sr.addClassExclusionFilter("oracle.*");
+        sr.addClassExclusionFilter("jdk.internal.*");
         sr.addCountFilter(1);
         sr.enable();
         StepEvent retEvent = (StepEvent)waitForRequestedEvent(sr);
--- a/test/com/sun/jdi/PopAndStepTest.java	Thu Sep 19 20:41:54 2013 -0700
+++ b/test/com/sun/jdi/PopAndStepTest.java	Fri Sep 20 10:14:35 2013 +0200
@@ -130,8 +130,12 @@
         StepRequest srInto = erm.createStepRequest(mainThread, StepRequest.STEP_LINE,
                                                    StepRequest.STEP_INTO);
         srInto.addClassExclusionFilter("java.*");
+        srInto.addClassExclusionFilter("javax.*");
         srInto.addClassExclusionFilter("sun.*");
         srInto.addClassExclusionFilter("com.sun.*");
+        srInto.addClassExclusionFilter("com.oracle.*");
+        srInto.addClassExclusionFilter("oracle.*");
+        srInto.addClassExclusionFilter("jdk.internal.*");
         srInto.addCountFilter(1);
         srInto.enable(); // This fails
         mainThread.popFrames(frameFor("A"));
--- a/test/com/sun/jdi/RepStep.java	Thu Sep 19 20:41:54 2013 -0700
+++ b/test/com/sun/jdi/RepStep.java	Fri Sep 20 10:14:35 2013 +0200
@@ -75,8 +75,12 @@
                                                    DEPTH);
 
         sr.addClassExclusionFilter("java.*");
+        sr.addClassExclusionFilter("javax.*");
         sr.addClassExclusionFilter("sun.*");
         sr.addClassExclusionFilter("com.sun.*");
+        sr.addClassExclusionFilter("com.oracle.*");
+        sr.addClassExclusionFilter("oracle.*");
+        sr.addClassExclusionFilter("jdk.internal.*");
         sr.enable();
     }
 
--- a/test/com/sun/jdi/TestScaffold.java	Thu Sep 19 20:41:54 2013 -0700
+++ b/test/com/sun/jdi/TestScaffold.java	Fri Sep 20 10:14:35 2013 +0200
@@ -746,8 +746,12 @@
                   requestManager.createStepRequest(thread, gran, depth);
 
         sr.addClassExclusionFilter("java.*");
+        sr.addClassExclusionFilter("javax.*");
         sr.addClassExclusionFilter("sun.*");
         sr.addClassExclusionFilter("com.sun.*");
+        sr.addClassExclusionFilter("com.oracle.*");
+        sr.addClassExclusionFilter("oracle.*");
+        sr.addClassExclusionFilter("jdk.internal.*");
         sr.addCountFilter(1);
         sr.enable();
         StepEvent retEvent = (StepEvent)waitForRequestedEvent(sr);
@@ -829,7 +833,8 @@
 
         Method method = findMethod(rt, methodName, methodSignature);
         if (method == null) {
-            throw new IllegalArgumentException("Bad method name/signature");
+            throw new IllegalArgumentException("Bad method name/signature: "
+                    + clsName + "." + methodName + ":" + methodSignature);
         }
 
         return resumeTo(method.location());