Searched refs:useListener (Results 1 - 1 of 1) sorted by relevance

/openjdk7/langtools/test/tools/javac/api/6406133/
H A DT6406133.java73 void compare(Locale loc1, Locale loc2, boolean useListener) { argument
74 String res1 = exec(useListener, loc1);
75 String res2 = exec(useListener, loc2);
82 String exec(boolean useListener, Locale locale) { argument
86 DiagnosticTester listener = useListener ? new DiagnosticTester(locale) : null;
94 String res = useListener ? listener.result : pw.toString();
95 System.err.println("[locale:"+ locale + ", listener:" + useListener + "] " +res);

Completed in 510 milliseconds