javafxmobile-plugin icon indicating copy to clipboard operation
javafxmobile-plugin copied to clipboard

slf4j/logback issue with static interfaces fields on iOS

Open odbuser2 opened this issue 7 years ago • 0 comments

ch.qos.logback:logback-classic:1.2.3 ch.qos.logback:logback-core:1.2.3 org.slf4j:slf4j-api:1.7.25 org.javafxports:jfxmobile-plugin:2.0.20

Calling useLogger() in the following example will hang the vm on iOS. It works fine on the desktop and Android. I haven't looked deeper into slf4j/logback to see exactly where...

public interface Test {
    public static Logger LOGGER = LoggerFactory.getLogger(Test.class);
    default public useLogger() {
        LOGGER.info("This won't work");
    }
}

odbuser2 avatar May 10 '18 08:05 odbuser2