kotlin-graphics / imgui

Bloat-free Immediate Mode Graphical User interface for JVM with minimal dependencies (rewrite of dear imgui)
MIT License
594 stars 37 forks source link

JDK8 branch is not fully compiled on JDK8 #152

Closed zeroeightysix closed 3 years ago

zeroeightysix commented 3 years ago

As the title says: for some reason, the JDK8 branch is a mix of class version 52 (java 8) and class version 55 (java 11).

It seems like all kotlin got compiled to 8, but all java code is still being compiled to 11.

This is easily checked using the unix file command. Extract a jar built on the jdk8 branch and inspect dsl.class and Jdsl.class:

$ file dsl.class 
dsl.class: compiled Java class data, version 52.0 (Java 1.8)
$ file Jdsl.class 
Jdsl.class: compiled Java class data, version 55.0