JDK-8216470 : Some methods of System.Logger are unimplemented in PlatformLogger
  • Type: Bug
  • Component: javafx
  • Sub-Component: web
  • Affected Version: openjfx11
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-01-10
  • Updated: 2019-01-11
  • Resolved: 2019-01-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
openjfx12Fixed
Related Reports
Relates :  
Description
Following methods are unimplemented,

    @Override
    public String getName() {
       throw new UnsupportedOperationException("not implemented");
    }

    @Override
    public boolean isLoggable(System.Logger.Level level) {
        throw new UnsupportedOperationException("not implemented");
    }

    @Override
    public void log(System.Logger.Level level, ResourceBundle bundle, String format, Object... params) {
        throw new UnsupportedOperationException("not implemented");
    }

    @Override
    public void log(System.Logger.Level level, ResourceBundle bundle, String msg, Throwable thrown) {
        throw new UnsupportedOperationException("not implemented");
    }

Among those, getName() is used in JavaFX PerfLogger implementation. Implementing those would be trivial and straightforward.


Comments
Changeset: 1d6bec87575f Author: arajkumar Date: 2019-01-11 14:48 +0530 URL: http://hg.openjdk.java.net/openjfx/jfx-dev/rt/rev/1d6bec87575f 8216470: Some methods of System.Logger are unimplemented in PlatformLogger Reviewed-by: nlisker, kcr, aghaisas
11-01-2019

This was also mentioned on Stack overflow: https://stackoverflow.com/a/53909677/597657 and reported by another user a couple weeks ago here: https://github.com/javafxports/openjdk-jfx/issues/334
10-01-2019

This is a regression introduced in JavaFX 11, so we should fix it in 12, given that the solution looks simple and safe.
10-01-2019