jdk/test/java/lang/System/LoggerFinder/internal/LoggerFinderLoaderTest/LoggerFinderLoaderTest.java
equal
deleted
inserted
replaced
179 throw new RuntimeException("Simulate exception while loading provider"); |
179 throw new RuntimeException("Simulate exception while loading provider"); |
180 } |
180 } |
181 } |
181 } |
182 |
182 |
183 System.Logger createSimpleLogger(String name) { |
183 System.Logger createSimpleLogger(String name) { |
184 PrivilegedAction<System.Logger> pa = () -> SimpleConsoleLogger.makeSimpleLogger(name, false); |
184 PrivilegedAction<System.Logger> pa = () -> SimpleConsoleLogger.makeSimpleLogger(name); |
185 return AccessController.doPrivileged(pa); |
185 return AccessController.doPrivileged(pa); |
186 } |
186 } |
187 |
187 |
188 |
188 |
189 @Override |
189 @Override |