T6304921.out 838 字节
Newer Older
1
T6304921.java:671/671/680: warning: [rawtypes] found raw type: java.util.ArrayList
M
mcimadamore 已提交
2 3
        List<Integer> list = new ArrayList();
                                 ^
4
  missing type parameters for generic class java.util.ArrayList<E>
5
T6304921.java:667/667/682: warning: [unchecked] unchecked conversion
D
duke 已提交
6 7
        List<Integer> list = new ArrayList();
                             ^
8 9
  required: java.util.List<java.lang.Integer>
  found:    java.util.ArrayList
J
jjg 已提交
10
error: warnings found and -Werror specified
11
T6304921.java:727/733/737: cannot find symbol
D
duke 已提交
12 13
        System.orr.println("abc"); // name not found
              ^
14 15
  symbol:   variable orr
  location: class java.lang.System
16
T6304921.java:812/816/822: operator + cannot be applied to int,boolean
D
duke 已提交
17 18
        return 123 + true; // bad binary expression
                   ^
J
jjg 已提交
19 20
3 errors
2 warnings