NPE: check raw substitution during inline

This commit is contained in:
anna
2010-06-11 16:50:54 +04:00
parent 45c91b9b44
commit bfc75928b9
4 changed files with 38 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
public class NotRaw<T> {
T g<caret>et(T t){
T tt = t;
if ( t == null) {
return null;
} else
return null;
}
}
class Raw extends NotRaw {
void foo() {
Object o = get(null);
}
}