sbt / sbt-osgi

sbt plugin for creating OSGi bundles
Apache License 2.0
47 stars 43 forks source link

`ConcurrentModificationException` when bunding on JDK17 #74

Closed raboof closed 2 years ago

raboof commented 2 years ago

https://github.com/akka/akka/issues/31132

[error] java.util.ConcurrentModificationException
[error]     at java.base/java.util.TreeMap.callMappingFunctionWithCheck(TreeMap.java:750)
[error]     at java.base/java.util.TreeMap.computeIfAbsent(TreeMap.java:604)
[error]     at aQute.bnd.osgi.Jar.putResource(Jar.java:259)
[error]     at aQute.bnd.osgi.Jar$1.visitFile(Jar.java:186)
[error]     at aQute.bnd.osgi.Jar$1.visitFile(Jar.java:167)
[error]     at java.base/java.nio.file.Files.walkFileTree(Files.java:2811)
[error]     at aQute.bnd.osgi.Jar.buildFromDirectory(Jar.java:166)
[error]     at aQute.bnd.osgi.Jar.<init>(Jar.java:109)
[error]     at aQute.bnd.osgi.Jar.<init>(Jar.java:138)
[error]     at aQute.bnd.osgi.Analyzer.setClasspath(Analyzer.java:1465)
[error]     at com.typesafe.sbt.osgi.Osgi$.bundleTask(Osgi.scala:57)
[error]     at com.typesafe.sbt.osgi.SbtOsgi$.$anonfun$defaultOsgiSettings$1(SbtOsgi.scala:55)
raboof commented 2 years ago

this problem possibly has been fixed already between 0.9.4 and 0.9.6. let's close for now.