checker-framework icon indicating copy to clipboard operation
checker-framework copied to clipboard

javac shows null as incompatibe type

Open shivanshsoni opened this issue 9 years ago • 2 comments

my code:

abstract class checker { R r; void checker4() { r=null; int i=0; } System.out.println(i+1); }

Output : screenshot 19

the current version of checker-framework: 2.1.9

shivanshsoni avatar Mar 26 '17 02:03 shivanshsoni

Please do not attach a screenshot. Instead, cut and paste the error message. That is more readable, and it is searchable too. Furthermore, it won't include irrelevant information from previous commands, as your screenshot does.

In addition, make sure your bug report is complete. I cannot compile your code because there is no definition of the R class that it references. Therefore, I cannot confirm the problem nor analyze it.

mernst avatar Mar 26 '17 04:03 mernst

I'm closing this issue, because it is incomplete and I requested the code over a week ago.

mernst avatar Apr 03 '17 19:04 mernst