Optionally use VarHandles for Lazy Vals when targeting JDK 9+ by WojciechMazur · Pull Request #637 · scala/scala3-lts

Backports scala#24109 to LTS 3.3, but also keeps existing offset-based implementation. VarHandles are used if either explicitly targeting JDK 9+ (using --java-output-version) or when using implicit...