jdk/test/java/lang/System/LoggerFinder/internal/LoggerFinderLoaderTest/LoggerFinderLoaderTest.java
changeset 36679 0e6911cee995
parent 33875 c1c71107d45f
child 37672 03684934dc09
equal deleted inserted replaced
36678:4a684dceb848 36679:0e6911cee995
   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