False-positive globally reachable private Java vars under -Ycheck-reentrant
#20324
Labels
area:experimental
area:private options
Issues tied to -Y private/internal compiler settings.
itype:bug
Compiler version
3.5.0-RC1-bin-20240501-e6bc130-NIGHTLY
Minimized example
Found in Scala 2 compiler forward-port #19897
Output
Expectation
isReadOnly
andaddress
are private/package private? variable, first of them can be only accessed via the accessor method. These should not be reported.The text was updated successfully, but these errors were encountered: