test/jdk/com/sun/jdi/EarlyReturnTest.java
changeset 49118 dbbbf6d7cf6e
parent 47216 71c04702a3d5
equal deleted inserted replaced
49117:0a93645a57f1 49118:dbbbf6d7cf6e
    80 
    80 
    81     public static Class       classValue = Object.class;
    81     public static Class       classValue = Object.class;
    82     public static ClassLoader classLoaderValue;
    82     public static ClassLoader classLoaderValue;
    83     {
    83     {
    84         try {
    84         try {
    85             urls[0] = new URL("hi there");
    85             urls[0] = new URL("file:/foo");
    86         } catch (java.net.MalformedURLException ee) {
    86         } catch (java.net.MalformedURLException ex) {
       
    87             throw new AssertionError(ex);
    87         }
    88         }
    88         classLoaderValue = new URLClassLoader(urls);
    89         classLoaderValue = new URLClassLoader(urls);
    89     }
    90     }
    90 
    91 
    91     public static Thread      threadValue = Thread.currentThread();
    92     public static Thread      threadValue = Thread.currentThread();
   114 
   115 
   115     public static Class eclassValue = String.class;
   116     public static Class eclassValue = String.class;
   116     public static ClassLoader eclassLoaderValue;
   117     public static ClassLoader eclassLoaderValue;
   117     {
   118     {
   118         try {
   119         try {
   119             urls[0] = new URL("been there, done that");
   120             urls[0] = new URL("file:/bar");
   120         } catch (java.net.MalformedURLException ee) {
   121         } catch (java.net.MalformedURLException ex) {
       
   122             throw new AssertionError(ex);
   121         }
   123         }
   122         classLoaderValue = new URLClassLoader(urls);
   124         classLoaderValue = new URLClassLoader(urls);
   123     }
   125     }
   124     public static Thread ethreadValue;
   126     public static Thread ethreadValue;
   125     public static ThreadGroup ethreadGroupValue;
   127     public static ThreadGroup ethreadGroupValue;