tests/generic-java-signatures/derivedNames.scala fails on macOS
See original GitHub issueCompiler version
3.0.0
Minimized example
sbt testCompilation derivedNames
Output
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at dotty.tools.vulpix.ChildJVMMain.runMain(ChildJVMMain.java:40)
at dotty.tools.vulpix.ChildJVMMain.main(ChildJVMMain.java:47)
Caused by: java.lang.AssertionError: assertion failed: Test$Foo$A<Test$Foo<T1>$B$> != Test$Foo.Test$Foo$A<Test.Test$Foo<T1>.B$>
at scala.runtime.Scala3RunTime$.assertFailed(Scala3RunTime.scala:8)
at Test$.main(derivedNames.scala:12)
at Test.main(derivedNames.scala)
... 6 more
Expectation
No test failed.
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (8 by maintainers)
Top Results From Across the Web
If an error occurred while updating or installing macOS
The message might say that an error occurred while downloading, preparing, or installing, or that the installer is damaged or could not be ......
Read more >Scala - Brew - MacOS - Unable to connect to sbt shell at all
So I'm just trying to get a project set up using JDK 15 / SBT 1.5.4 / Scala 2.13.6 all of which have...
Read more >RocksDB fails in earlier macOS versions · Issue #652 - GitHub
I see the following issue when I run the recognize_entities_dl pretrained model dyld: lazy symbol binding failed: Symbol not found: ...
Read more >How to Install Scala and Apache Spark on MacOS
Here is a Step by Step guide to installing Scala and Apache Spark on MacOS. Step 1: Get Homebrew. Homebrew makes your life ......
Read more >Fixing the “Failed to create the Java Virtual Machine” error on ...
To fix this, you will need to uninstall the problematic JDK version and install the latest one on your macOS machine: Run the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The test as-is already does different things on different platforms but that seems very weird to me, I would expect the difference to come from different JDK versions: https://github.com/lampepfl/dotty/blob/master/tests/generic-java-signatures/derivedNames.scala, can everyone list what the output of
java -version
is like for them?I’ve updated the jdk to
1.8.0_291
and the output is the same as on Linux. I’ll revert my previous change as it seems to only affect really outdated builds of1.8
.