You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the increment operator is used inside of a Java static block, a temporary variable (which I believe is create by this line) is recorded as a field and written out to stub/jaif files with -Ainfer.
When the increment operator is used inside of a Java
static
block, a temporary variable (which I believe is create by this line) is recorded as a field and written out to stub/jaif files with -Ainfer.With this class
and this command
$CHECKERFRAMEWORK/checker/bin/javac -processor NullnessChecker -Ainfer=stubs TempVars.java
the generated stub file looks like
This class has no fields but there's a variable
tempPostfix
written under fields.This also happens with
jaif
files, but with those it causes a crash.Output for
$CHECKERFRAMEWORK/checker/bin/javac -processor NullnessChecker -Ainfer=stubs TempVars.java -version -verbose -AprintAllQualifiers
javac_temp_vars.txt
The text was updated successfully, but these errors were encountered: