bug
bug copied to clipboard
Scala 2 bug reports only. Please, no questions — proper bug reports only.
## reproduction steps https://openjdk.java.net/jeps/360 https://github.com/scala/scala/blob/v2.13.3/src/compiler/scala/tools/nsc/javac/JavaParsers.scala#L1002 ``` $ java --version openjdk 15 2020-09-15 OpenJDK Runtime Environment (build 15+36-1562) OpenJDK 64-Bit Server VM (build 15+36-1562, mixed mode, sharing) ``` build.sbt ```scala javacOptions...
## Problem outline I know this was a conversation a long time ago in https://github.com/scala/scala/pull/9743 but recently this conversation has surfaced again. Recently in `sbt-scoverage` I had some [reports](https://github.com/scoverage/sbt-scoverage/issues/439) of...
## reproduction steps ### `java --version` ``` openjdk 15 2020-09-15 OpenJDK Runtime Environment (build 15+36-1562) OpenJDK 64-Bit Server VM (build 15+36-1562, mixed mode, sharing) ``` ### `A.java` ```java package foo;...
This puts a file named `.scala_history_jline3` in the root of my home folder. I have no idea what "JLine3" is, nor do I imagine most people who have ever installed...
## reproduction steps using Scala 2.13.6, ```scala Welcome to Scala 2.13.6 (OpenJDK 64-Bit Server VM, Java 17). Type in expressions for evaluation. Or try :help. scala> trait Base { |...
See attached exception traces. With Scala 2.11.8 and Hadoop CDH v5.4, calling `typeOf` on a type annotated with the Hadoop `InterfaceAudience` annotation causes a `scala.reflect.internal.Symbols$CyclicReference: illegal cyclic reference involving object...
Using Scala 2.12.6, the following code crashes with a ClassCastException: ```scala trait Outer[T] { object Group { case class C1(x: T) } } object IntOuter extends Outer[Int] object StringOuter extends...
as @allanrenucci commented at https://github.com/scala/scala/pull/7645#issuecomment-454558554 , > [Here](https://github.com/lampepfl/dotty/blob/master/compiler/src/dotty/tools/repl/JLineTerminal.scala) is the implementation in Dotty for reference. I believe it would be straigforward to port our [syntax highlighter](https://github.com/lampepfl/dotty/blob/master/compiler/src/dotty/tools/dotc/printing/SyntaxHighlighting.scala) someone want to have...
## Reproduction steps Scala version: Scala 2.13.8 ```scala val valuesPerIteration: Long = 1000 * 1000 * 10 val arraySize = 1000 val arr: Seq[Any] = new Array[Any](arraySize) var n =...
## Reproduction steps ```scala ➜ ~ scala Welcome to Scala 2.13.8 (OpenJDK 64-Bit Server VM, Java 18.0.1.1). Type in expressions for evaluation. Or try :help. scala> class C(var c: Int)...