-
Notifications
You must be signed in to change notification settings - Fork 149
Closed
Labels
enhancementNew feature or requestNew feature or requestjdkissues tied with using a particular JDKissues tied with using a particular JDK
Description
Why do we actually use Unsafe in Scala CLI? Looks like we might need to remove it if possible
Originally posted by @tgodzik in #3920 (comment)
It seems we retain an old hack for lazy vals, which used to be necessary pre-Scala 3.3.
We need to
- check if it's still needed for any reason
- if yes, make sure it'll handle JDK 24+ well (no warnings)
- if no, perhaps get rid of it altogether
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestjdkissues tied with using a particular JDKissues tied with using a particular JDK
Type
Projects
Status
Done