< prev index next >

test/com/sun/jdi/ClassesByName2Test.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2016, 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.

@@ -26,12 +26,11 @@
  *  @bug 4406439 4925740
  *  @summary ClassesByName2 verifies that all the classes in the loaded class list can be found with classesByName..
  *
  *  @author Tim Bell (based on ClassesByName by Robert Field)
  *
- *  @modules java.corba
- *           jdk.jdi
+ *  @modules jdk.jdi
  *  @run build TestScaffold VMConnection TargetListener TargetAdapter
  *  @run compile -g ClassesByName2Test.java
  *  @run driver ClassesByName2Test
  */
 import com.sun.jdi.*;

@@ -69,11 +68,15 @@
                     }
                 };
 
             Thread two = new Thread ("TWO") {
                     public void run () {
-                        javax.rmi.CORBA.Util.getCodebase(this.getClass());
+                    try {
+                        String s = String.format("%02x", 0xff);
+                    } catch (Exception e) {
+                        e.printStackTrace();
+                    }
                     }
                 };
 
             two.start();
             one.start();
< prev index next >