javafxports / javafxmobile-plugin

A gradle plugin for building mobile applications in java.
BSD 3-Clause "New" or "Revised" License
42 stars 19 forks source link

slf4j/logback issue with static interfaces fields on iOS #58

Open odbuser2 opened 6 years ago

odbuser2 commented 6 years ago

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");
    }
}