You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update Zinc to understand that jrt:// classpath entries should have a timestamp based on the JDK (maybe $JAVA_HOME/jmods/*.mod? Find out exactly what file backs jrt://)
Adapt REPL :javap command (currently gets IllegalArgumentException in JavapClass$JavapTool$.apply(JavapClass.scala:337)
javac allows programmers to declare module requirements, exports inline in the sourcetree ("module-info.java" files). What should we do?
app class loader is no longer a URLClassloader. Lots of places enumerate the classpath for JARs to initialize settings for a compiler. Experiment, document.
Update classfile reader to parse module-info.class (perhaps using ASM)
JEP-193VarHandles introduce a number of new methods annotated with @PolymorphicSignature. Expand our compiler support to these methods.
Maybe: foster creation of a library of Java 8/9 shims that use invokedynamic to use some Java 9 features (e.g VarHandle) when available but fall back to Java 8 alternatives (e.g. Unsafe._), as prototyped in retronym/scala@a95f03e
In general, Scala now works just fine on JDK 11
For the current support status of each JDK version, see https://docs.scala-lang.org/overviews/jdk-compatibility/overview.html
JDK9 JEP list
isJavaAtLeast(and elsewhere?) SI-9750 scala.util.Properties.isJavaAtLeast works with JDK9 scala#5276jrt://classpath entries should have a timestamp based on the JDK (maybe$JAVA_HOME/jmods/*.mod? Find out exactly what file backsjrt://):javapcommand (currently getsIllegalArgumentExceptioninJavapClass$JavapTool$.apply(JavapClass.scala:337)StringConcatFactoryfor string concatenation on JDK 9+ scala#9556VarHandlesintroduce a number of new methods annotated with@PolymorphicSignature. Expand our compiler support to these methods.VarHandle) when available but fall back to Java 8 alternatives (e.g.Unsafe._), as prototyped in retronym/scala@a95f03esun.boot.classpath: https://github.com/sbt/zinc/blob/1.x/internal/zinc-compile-core/src/main/scala/sbt/internal/inc/CompilerArguments.scala#L83