Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.util.StringTokenizer.asIterator() only exists in Java 9 #4168

Closed
He-Pin opened this issue Dec 20, 2024 · 1 comment
Closed

java.util.StringTokenizer.asIterator() only exists in Java 9 #4168

He-Pin opened this issue Dec 20, 2024 · 1 comment

Comments

@He-Pin
Copy link
Contributor

He-Pin commented Dec 20, 2024

Mill version 0.12.4

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)

This asInterator method only exists from Java 9.

Found this in com-lihaoyi/fastparse#324
When upgrade from 0.12.3 to 0.12.4

@lihaoyi
Copy link
Member

lihaoyi commented Dec 20, 2024

Mill 0.12.x only supports java 11 and above

@lihaoyi lihaoyi closed this as completed Dec 20, 2024
@lolgab lolgab closed this as not planned Won't fix, can't repro, duplicate, stale Dec 21, 2024
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

No branches or pull requests

3 participants