-
Notifications
You must be signed in to change notification settings - Fork 21
-release 8 causes java.time.Instant to have a fictitious constructor #12565
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
Comments
This is for any earlier release, using ct.sym. (8 is sometimes a special version number. "Lucky 8".) |
The condition for adding a ctor in ClassFileParser needs a couple of tweaks. |
For some reason, there is no label for |
Are backports to 2.12 for stuff like this still accepted or are they frowned upon? |
@Jasper-M I think they just throw you "side eye". |
thanks @Jasper-M for the great catch and bug report, and thanks @som-snytt for the fix 🚀 |
Same bug in Scala 3: scala/scala3#15144 |
Reproduction steps
Problem
java.time.Instant
doesn't have a default constructor but the compiler seems to think that it does.The text was updated successfully, but these errors were encountered: