changeset 11152:1d6bec87575f 12+8

8216470: Some methods of System.Logger are unimplemented in PlatformLogger Reviewed-by: nlisker, kcr, aghaisas
author arajkumar
date Fri, 11 Jan 2019 14:48:45 +0530
parents 95c2792650ff
children cf3c996ca3b9
files modules/javafx.base/src/main/java/com/sun/javafx/logging/PlatformLogger.java
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/modules/javafx.base/src/main/java/com/sun/javafx/logging/PlatformLogger.java	Fri Jan 11 11:21:23 2019 +0530
+++ b/modules/javafx.base/src/main/java/com/sun/javafx/logging/PlatformLogger.java	Fri Jan 11 14:48:45 2019 +0530
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2009, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2009, 2019, 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
@@ -118,22 +118,22 @@
      */
     @Override
     public String getName() {
-       throw new UnsupportedOperationException("not implemented");
+        return loggerProxy.getName();
     }
 
     @Override
     public boolean isLoggable(System.Logger.Level level) {
-        throw new UnsupportedOperationException("not implemented");
+        return loggerProxy.isLoggable(level);
     }
 
     @Override
     public void log(System.Logger.Level level, ResourceBundle bundle, String format, Object... params) {
-        throw new UnsupportedOperationException("not implemented");
+        loggerProxy.log(level, bundle, format, params);
     }
 
     @Override
     public void log(System.Logger.Level level, ResourceBundle bundle, String msg, Throwable thrown) {
-        throw new UnsupportedOperationException("not implemented");
+        loggerProxy.log(level, bundle, msg, thrown);
     }
 
     // ------------------------------------------------------------------------