test/tools/javac/generics/rawOverride/7062745/GenericOverrideTest.java

changeset 1169
116f68a5e677
parent 1059
0b5beb9562c6
child 1482
954541f13717
equal deleted inserted replaced
1165:1ae5988e201b 1169:116f68a5e677
208 JavacTask ct = (JavacTask)tool.getTask(null, fm, diagChecker, 208 JavacTask ct = (JavacTask)tool.getTask(null, fm, diagChecker,
209 null, null, Arrays.asList(source)); 209 null, null, Arrays.asList(source));
210 try { 210 try {
211 ct.analyze(); 211 ct.analyze();
212 } catch (Throwable ex) { 212 } catch (Throwable ex) {
213 throw new AssertionError("Error thron when compiling the following code:\n" + source.getCharContent(true)); 213 throw new AssertionError("Error thrown when compiling the following code:\n" + source.getCharContent(true));
214 } 214 }
215 check(); 215 check();
216 } 216 }
217 217
218 void check() { 218 void check() {

mercurial