langtools/test/tools/javac/6304921/T6304921.out
changeset 2085 4792e12a8ca2
parent 1996 c855318a4b03
child 2984 e15ff3a34054
equal deleted inserted replaced
1998:29b961506419 2085:4792e12a8ca2
     1 T6304921.java:671/671/680: warning: [rawtypes] found raw type: java.util.ArrayList
     1 T6304921.java:671/671/680: warning: [rawtypes] found raw type: java.util.ArrayList
     2 missing type parameters for generic class java.util.ArrayList<E>
       
     3         List<Integer> list = new ArrayList();
     2         List<Integer> list = new ArrayList();
     4                                  ^
     3                                  ^
       
     4   missing type parameters for generic class java.util.ArrayList<E>
     5 T6304921.java:667/667/682: warning: [unchecked] unchecked conversion
     5 T6304921.java:667/667/682: warning: [unchecked] unchecked conversion
     6 found   : java.util.ArrayList
       
     7 required: java.util.List<java.lang.Integer>
       
     8         List<Integer> list = new ArrayList();
     6         List<Integer> list = new ArrayList();
     9                              ^
     7                              ^
       
     8   required: java.util.List<java.lang.Integer>
       
     9   found:    java.util.ArrayList
    10 error: warnings found and -Werror specified
    10 error: warnings found and -Werror specified
    11 T6304921.java:727/733/737: cannot find symbol
    11 T6304921.java:727/733/737: cannot find symbol
    12 symbol  : variable orr
       
    13 location: class java.lang.System
       
    14         System.orr.println("abc"); // name not found
    12         System.orr.println("abc"); // name not found
    15               ^
    13               ^
       
    14   symbol:   variable orr
       
    15   location: class java.lang.System
    16 T6304921.java:812/816/822: operator + cannot be applied to int,boolean
    16 T6304921.java:812/816/822: operator + cannot be applied to int,boolean
    17         return 123 + true; // bad binary expression
    17         return 123 + true; // bad binary expression
    18                    ^
    18                    ^
    19 3 errors
    19 3 errors
    20 2 warnings
    20 2 warnings