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
[error] 5 | private val myUnsafe: AbstractUnsafe = new AbstractUnsafe {
[error] | ^^^^^^^^^^^^^^
[error] |Unable to emit reference to constructor AbstractUnsafe in class AbstractUnsafe, class AbstractUnsafe is not accessible in anonymous class AbstractChannel.this.AbstractUnsafe {...}
[error] one error found
[error] (Compile / compileIncremental) Compilation failed
Compiler version
3.6.2
Minimized code
Given the following Java class
The following Scala class, located in a different package, extends the above Java class and contains an anonymous inner class.
Output
Failed with
Expectation
Should Compile
Possibly related to #21631.
The text was updated successfully, but these errors were encountered: