Java version = 14.0.1
OS = Windows 8
The 2 methods f1 and f2 in the code work the same way when I just simply run java Test for each separate compilat
java Test