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
Looking up some JDK symbols fails with JDK21 #3376
Comments
The current test suite does exhibit the problem
https://github.com/scalameta/scalameta/actions/runs/6675947301/job/18144511902?pr=3377 |
With JDK<21,
import scala.meta.internal.metacp._
scala.meta.internal.classpath.ClasspathIndex(scala.meta.Classpath(Nil), true).getClassfile("java/util/ArrayList$ListItr.class").get.toClassNode.methods.get(0).parameters From there, I am not sure what to do... |
seems reminiscent of scala/bug#12783 (fixed by scala/scala#10397) |
Lookups that work with JDK20 do not work with JDK21:
Found through scalacenter/scalafix#1810
The text was updated successfully, but these errors were encountered: