Open ekrich opened 1 month ago
Another place it seems to occur.
sbt:sconfig-root> sconfigJS/testOnly ConfigFactoryTest
[warn] multiple main classes detected: run 'show discoveredMainClasses' to see the list
[info] Fast optimizing /Users/eric/workspace/sconfig/sconfig/js/target/scala-3.3.4/sconfig-test-fastopt
[error] Referring to non-existent class java.util.SequencedCollection
[error] called from org.ekrich.config.impl.SimpleConfigList
[error] called from org.ekrich.config.impl.DefaultTransformer$.transform(org.ekrich.config.impl.AbstractConfigValue,org.ekrich.config.ConfigValueType)org.ekrich.config.impl.AbstractConfigValue
[error] called from private org.ekrich.config.impl.ConfigConcatenation$.join(java.util.ArrayList,org.ekrich.config.impl.AbstractConfigValue)void
[error] called from private static org.ekrich.config.impl.ConfigConcatenation$.consolidate$$anonfun$2(java.util.ArrayList,org.ekrich.config.impl.AbstractConfigValue)java.lang.Object
Scala.js does not work for Scala
3.3.x
. Classes extendingjava.util.SequencedCollection
cause problems. Note that Scala Native has the class added although it is just a stub at this time.Reproduce:
sbt
++3.3.4
sconfigJS/test
or one of thetestOnly
seen below.Example error:
Now running the newest code I get the same as below.