langtools/test/tools/javac/policy/test3/A.java
author jeff
Wed, 22 Jun 2011 10:10:54 -0700
changeset 9916 c35ecac744a5
parent 2514 f8929e3790b4
child 37633 d16d6d59446d
permissions -rw-r--r--
7057046: Add embedded license to THIRD PARTY README Reviewed-by: lana
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2514
f8929e3790b4 6813059: replace use of JavaCompiler.errorCount with shouldContinue
jjg
parents:
diff changeset
     1
class A {
f8929e3790b4 6813059: replace use of JavaCompiler.errorCount with shouldContinue
jjg
parents:
diff changeset
     2
    void m1() {
f8929e3790b4 6813059: replace use of JavaCompiler.errorCount with shouldContinue
jjg
parents:
diff changeset
     3
        System.err.println("hello");
f8929e3790b4 6813059: replace use of JavaCompiler.errorCount with shouldContinue
jjg
parents:
diff changeset
     4
        0 // syntax error
f8929e3790b4 6813059: replace use of JavaCompiler.errorCount with shouldContinue
jjg
parents:
diff changeset
     5
        System.err.println("world");
f8929e3790b4 6813059: replace use of JavaCompiler.errorCount with shouldContinue
jjg
parents:
diff changeset
     6
    }
f8929e3790b4 6813059: replace use of JavaCompiler.errorCount with shouldContinue
jjg
parents:
diff changeset
     7
f8929e3790b4 6813059: replace use of JavaCompiler.errorCount with shouldContinue
jjg
parents:
diff changeset
     8
    void m2() {
f8929e3790b4 6813059: replace use of JavaCompiler.errorCount with shouldContinue
jjg
parents:
diff changeset
     9
    }
f8929e3790b4 6813059: replace use of JavaCompiler.errorCount with shouldContinue
jjg
parents:
diff changeset
    10
}