Skip to content

Conversation

@Gedochao
Copy link
Contributor

@Gedochao Gedochao commented Nov 4, 2025

 >==== Running 'diagnostics' from BspTestDefinitions
[913] java.lang.NoClassDefFoundError: ch/epfl/scala/bsp4j/StatusCode$
[913]   at scala.cli.integration.BspTestDefinitions.$init$$$anonfun$7$$anonfun$1$$anonfun$1(BspTestDefinitions.scala:301)
[913]   at scala.cli.integration.BspTestDefinitions.$init$$$anonfun$7$$anonfun$1$$anonfun$adapted$1(BspTestDefinitions.scala:326)
[913]   at scala.concurrent.Future$.$anonfun$apply$1(Future.scala:687)
[913]   at scala.concurrent.impl.Promise$Transformation.run(Promise.scala:467)
[913]   at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1395)
[913]   at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
[913]   at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
[913]   at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
[913]   at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
[913]   at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
[913] Caused by: java.lang.ClassNotFoundException: ch.epfl.scala.bsp4j.StatusCode$
[913]   at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
[913]   at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
[913]   at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
[913]   ... 10 more

Despite bumping to expecty 0.17.1, this seems to still be happening.
There's something specific deeper in the Scala CLI integration test build at work, as I can't seem to minimize this anymore.

Copy link
Contributor Author

@Gedochao Gedochao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Raised this PR strictly for expecty reproduction's sake

@Gedochao Gedochao force-pushed the update/expecty-0.17.1-broken branch from 2deca8c to 0578c8e Compare November 4, 2025 10:15
@Gedochao Gedochao force-pushed the update/expecty-0.17.1-broken branch 2 times, most recently from 047160a to 639bece Compare November 4, 2025 18:52
@Gedochao Gedochao force-pushed the update/expecty-0.17.1-broken branch from 639bece to 98b1a71 Compare November 12, 2025 07:56
@Gedochao Gedochao changed the title Expecty 0.17.1 seems to still have some broken macro Revert some of expecty 0.17.1 workarounds Nov 13, 2025
@Gedochao Gedochao marked this pull request as ready for review November 13, 2025 07:24
@Gedochao
Copy link
Contributor Author

It seems this now passes the CI after a rebase.
Not sure what was wrong, but I can no longer reproduce the issue.
I think we should be fine with merging this, since the tests are passing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant