Skip to content

Conversation

He-Pin
Copy link
Contributor

@He-Pin He-Pin commented Dec 8, 2024

Makes it compiles on Java 21

@He-Pin
Copy link
Contributor Author

He-Pin commented Dec 20, 2024

rror: Exception in thread "main" java.lang.NoSuchMethodError: java.util.StringTokenizer.asIterator()Ljava/util/Iterator;
	at mill.eval.Plan$.splitEnclosing$1(Plan.scala:52)
	at mill.eval.Plan$.$anonfun$assignOverridenTaskSegments$3(Plan.scala:58)
	at scala.collection.immutable.List.map(List.scala:247)
	at scala.collection.immutable.List.map(List.scala:79)

@lihaoyi Seems mill 0.12.4 need a fix then, because it now using the method only exists from Java 9.

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