Lines 4699-4703
Link Here
|
4699 |
"}\n", |
4699 |
"}\n", |
4700 |
}, |
4700 |
}, |
4701 |
""); |
4701 |
""); |
4702 |
} |
4702 |
} |
|
|
4703 |
|
4704 |
//https://bugs.eclipse.org/bugs/show_bug.cgi?id=96974 |
4705 |
public void test147() { |
4706 |
Map options = this.getCompilerOptions(); |
4707 |
options.put(CompilerOptions.OPTION_ReportNonExternalizedStringLiteral, CompilerOptions.WARNING); |
4708 |
this.runNegativeTest( |
4709 |
new String[] { |
4710 |
"X.java", |
4711 |
"@SuppressWarnings({\"nls\"})\n" + |
4712 |
"public class X<T> {\n" + |
4713 |
" String test= \"\";\n" + |
4714 |
"}", |
4715 |
}, |
4716 |
"", |
4717 |
null, |
4718 |
true, |
4719 |
options |
4720 |
); |
4721 |
} |
4703 |
} |
4722 |
} |