/openjdk9/langtools/test/tools/doclint/tool/ |
H A D | MaxDiagsTest.java | 21 public int warnings(int a1, int a2) throws Exception { return 0; } method in class:MaxDiagsTest
|
H A D | StatsTest.java | 19 public int warnings(int a1, int a2) throws Exception { return 0; } method in class:StatsTest
|
/openjdk9/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ |
H A D | ErrorManager.java | 46 private int warnings; field in class:ErrorManager 51 /** Treat warnings as errors. */ 78 count += warnings; 169 warnings++; 198 * Check whether warnings should be treated like errors 199 * @return true if warnings should be treated like errors 206 * Set warnings to be treated as errors 207 * @param warningsAsErrors true if warnings should be treated as errors, false otherwise 222 * Get number of warnings 223 * @return number of warnings [all...] |
/openjdk9/langtools/test/tools/javac/varargs/warning/ |
H A D | Warn4.java | 170 Warning[][] warnings; field in class:Warn4.Signature 172 Signature(String template, Warning[][] warnings) { argument 174 this.warnings = warnings; 178 return warnings[other.ordinal()] != null; 182 return warnings[other.ordinal()] == unchecked || 183 warnings[other.ordinal()] == both; 187 return warnings[other.ordinal()] == vararg || 188 warnings[other.ordinal()] == both; 246 Set<Warning> warnings [all...] |
/openjdk9/jdk/test/sun/security/tools/jarsigner/warnings/ |
H A D | Test.java | 158 String... warnings) { 160 for (String warning : warnings) { 163 if (warnings.length > 0) { 173 protected void checkSigning(OutputAnalyzer analyzer, String... warnings) { argument 175 for (String warning : warnings) { 178 if (warnings.length > 0) { 157 checkVerifying(OutputAnalyzer analyzer, int expectedExitCode, String... warnings) argument
|
/openjdk9/jdk/src/java.desktop/share/classes/javax/swing/text/rtf/ |
H A D | RTFParser.java | 56 /** A stream to which to write warnings and debugging information 59 protected PrintStream warnings; field in class:RTFParser 109 //warnings = System.out; 123 if (warnings != null) { 124 warnings.println(s);
|
/openjdk9/jdk/test/sun/util/resources/TimeZone/ |
H A D | Bug4640234.java | 83 StringBuffer warnings = new StringBuffer(""); 109 warnings.append(testTZ(timezone, locale)); 122 if (warnings.indexOf(result[0]) == -1) { 123 warnings.append(result[0]); 138 if (warnings.indexOf(result[0]) == -1) { 139 warnings.append(result[0]); 155 System.out.println(warnings.toString()); 159 System.out.println(warnings.toString()); 234 * in other cases, [0] - warnings for not localized, [1] - errors for
|
/openjdk9/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/ast/ |
H A D | ConsAltNode.java | 106 public void verifyTree(final Set<Node> set, final WarnCallback warnings) { argument 111 warnings.warn("broken list car: " + this.getAddressName() + " -> " + car.getAddressName()); 113 car.verifyTree(set,warnings); 117 warnings.warn("broken list cdr: " + this.getAddressName() + " -> " + cdr.getAddressName()); 119 cdr.verifyTree(set,warnings);
|
H A D | Node.java | 68 public void verifyTree(final Set<Node> set, final WarnCallback warnings) { argument 72 warnings.warn("broken link to child: " + this.getAddressName() + " -> " + getChild().getAddressName()); 74 getChild().verifyTree(set, warnings);
|
/openjdk9/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/ |
H A D | Regex.java | 48 WarnCallback warnings; field in class:Regex 101 public Regex(final char[]chars, final int p, final int end, final int option, final WarnCallback warnings) { argument 102 this(chars, p, end, option, Syntax.RUBY, warnings); 106 public Regex(final char[] chars, final int p, final int end, final int option, final Syntax syntax, final WarnCallback warnings) { argument 107 this(chars, p, end, option, Config.ENC_CASE_FOLD_DEFAULT, syntax, warnings); 111 public Regex(final char[] chars, final int p, final int end, final int optionp, final int caseFoldFlag, final Syntax syntax, final WarnCallback warnings) { argument 128 this.warnings = warnings; 133 this.warnings = null; 158 return warnings; [all...] |
H A D | ScanEnvironment.java | 110 reg.warnings.warn("character class has '" + s + "' without escape");
|
H A D | Analyser.java | 82 root.verifyTree(new HashSet<Node>(), env.reg.warnings);
|
/openjdk9/hotspot/test/compiler/rtm/cli/ |
H A D | RTMLockingAwareTest.java | 84 // For correct values it is expected to see no warnings 126 String warnings[] = new String[] { warningMessage }; 140 (isWarningExpected ? warnings : null), 141 (isWarningExpected ? null : warnings),
|
/openjdk9/langtools/test/tools/javac/MethodParameters/ |
H A D | MethodParametersTester.java | 56 private int warnings; field in class:MethodParametersTester 142 if(0 != warnings) 143 System.err.println("Test generated " + warnings + " warnings"); 196 warnings++;
|
/openjdk9/jdk/test/javax/sql/testng/test/rowset/ |
H A D | RowSetWarningTests.java | 33 private final String[] warnings = {"Warning 1", "cause 1", "Warning 2", field in class:RowSetWarningTests 169 assertTrue(warnings[num++].equals(e.getMessage())); 189 assertTrue(warnings[num++].equals(sqe.getMessage())); 229 assertTrue(warnings[num++].equals(sqe.getMessage()));
|
/openjdk9/jdk/test/java/sql/testng/test/sql/ |
H A D | SQLWarningTests.java | 33 private final String[] warnings = {"Warning 1", "cause 1", "Warning 2", field in class:SQLWarningTests 222 assertTrue(warnings[num++].equals(e.getMessage())); 240 assertTrue(warnings[num++].equals(sqe.getMessage()));
|
/openjdk9/jdk/src/jdk.policytool/share/classes/sun/security/tools/policytool/ |
H A D | PolicyTool.java | 102 // anyone can add warnings 103 Vector<String> warnings; field in class:PolicyTool 144 warnings = new Vector<String>(); 225 warnings = new Vector<String>(); 265 warnings.addElement(form.format(source)); 283 warnings.addElement(form.format(source)); 299 warnings.addElement(form.format(source)); 305 warnings.addElement(form.format(source)); 320 warnings.addElement(form.format(source)); 1210 tool.warnings [all...] |
/openjdk9/jdk/src/jdk.rmic/share/classes/sun/tools/javac/ |
H A D | BatchEnvironment.java | 100 * The number of errors and warnings 107 * A list of files containing deprecation warnings. 1243 if (warnings()) { 1267 // list of files with deprecation warnings. 1284 // warnings, try to add it to the list. Otherwise, just 1286 if (warnings()) {
|
H A D | Main.java | 653 if (ndepfiles > 0 && env.warnings()) { 688 msg += ", " + getText("main.warnings", env.nwarnings); 702 output(getText("main.warnings", env.nwarnings));
|
/openjdk9/jdk/src/jdk.rmic/share/classes/sun/tools/java/ |
H A D | Environment.java | 817 public final boolean warnings() { method in class:Environment 836 * Deprecation warnings are enabled.
|
/openjdk9/common/autoconf/ |
H A D | generated-configure.sh | 1986 --disable-warnings-as-errors 1987 do not consider native warnings to be an error [all...] |