equal
deleted
inserted
replaced
107 } catch (Throwable t) { |
107 } catch (Throwable t) { |
108 System.err.println("URLClassLoader(validURLArray, null, null) threw " + t); |
108 System.err.println("URLClassLoader(validURLArray, null, null) threw " + t); |
109 failures++; |
109 failures++; |
110 } |
110 } |
111 try { |
111 try { |
112 loader = new URLClassLoader(null, null, null); |
112 loader = new URLClassLoader((URL[])null, null, null); |
113 System.err.println("URLClassLoader(null, null, null) did not throw NPE"); |
113 System.err.println("URLClassLoader(null, null, null) did not throw NPE"); |
114 failures++; |
114 failures++; |
115 } catch (NullPointerException e) { |
115 } catch (NullPointerException e) { |
116 // expected |
116 // expected |
117 } |
117 } |