Replace val with native final var in Java >= 10

This commit is contained in:
Rawi01
2021-02-02 09:44:36 +01:00
committed by Roel Spilker
parent e050dafc90
commit fdcbaa033d
36 changed files with 128 additions and 16 deletions
@@ -1,3 +1,4 @@
// version :9
//issue 694: In javac, resolving the RHS (which is what val does) can cause an entire class to be resolved, breaking all usage of val inside that class. This tests that we handle that better.
class ValWithLocalClasses1 {
{