changeset 6427:97d337a98c67

Move classes to packages so that jtreg doesn't get confused.
author akhil
date Fri, 16 Nov 2012 21:31:23 -0800
parents c79261933eb2
children 789b1e626278
files test-ng/tests/org/openjdk/tests/vm/DefaultMethodsTest.java test-ng/tests/org/openjdk/tests/vm/StrictfpDefault.java test-ng/tests/org/openjdk/tests/vm/SynchronizedDefault.java
diffstat 3 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test-ng/tests/org/openjdk/tests/vm/DefaultMethodsTest.java	Fri Nov 16 18:03:34 2012 -0800
+++ b/test-ng/tests/org/openjdk/tests/vm/DefaultMethodsTest.java	Fri Nov 16 21:31:23 2012 -0800
@@ -802,7 +802,7 @@
 
     public void testStrictfpDefault() {
         try {
-            java.lang.Class.forName("StrictfpDefault"); 
+            java.lang.Class.forName("org.openjdk.tests.vm.StrictfpDefault");
         } catch (Exception e) {
             fail("Could not load class", e);
         }
@@ -810,7 +810,7 @@
 
     public void testSynchronizedDefault() {
         try {
-            java.lang.Class.forName("SynchronizedDefault"); 
+            java.lang.Class.forName("org.openjdk.tests.vm.SynchronizedDefault");
         } catch (Exception e) {
             fail("Could not load class", e);
         }
--- a/test-ng/tests/org/openjdk/tests/vm/StrictfpDefault.java	Fri Nov 16 18:03:34 2012 -0800
+++ b/test-ng/tests/org/openjdk/tests/vm/StrictfpDefault.java	Fri Nov 16 21:31:23 2012 -0800
@@ -23,6 +23,8 @@
  * questions.
  */
 
+package org.openjdk.tests.vm;
+
 interface StrictfpDefault {
     default strictfp void m() {}
 }
--- a/test-ng/tests/org/openjdk/tests/vm/SynchronizedDefault.java	Fri Nov 16 18:03:34 2012 -0800
+++ b/test-ng/tests/org/openjdk/tests/vm/SynchronizedDefault.java	Fri Nov 16 21:31:23 2012 -0800
@@ -23,6 +23,8 @@
  * questions.
  */
 
+package org.openjdk.tests.vm;
+
 interface SynchronizedDefault {
     default synchronized void m() {}
 }