Open jestan opened 1 year ago
Thanks for the bug report, can you post a little more of your log or a simple test case project?
The only guess I have right now is that it was added in Java 11, and the plugin is presently limited to Java 8, but that should still allow the jre emulation to provide methods not otherwise present in the traditional JRE (this is how some specific Map specialization works, etc).
I am using latest snapshot version of the plugin (0.21-SNAPSHOT) and using Optional.isEmpty method causes a compile error.
j2cl build prints an error like this
According to J2CL repo, this method seems to be supported https://github.com/google/j2cl/blob/master/jre/java/java/util/Optional.java#L60
I am wondering why it doesn't work as expected?