This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
for (String method : methods.values()) {
pw.print(method);
}
pw.println(" private void Bundle() {}");
pw.println(" private Bundle() {}");
pw.println("}");
pw.flush();
pw.close();
assertTrue(err.toString(), err.toString().contains("NOI18N"));
public void testUtilityClass() {
try {
Bundle.class.newInstance();
fail("should have thrown");
} catch (Exception notAllowed) {
// expected
private static boolean isJDK7EarlyBuild() {
String run = System.getProperty("java.runtime.version");
if ("1.7".equals(System.getProperty("java.specification.version")) && run != null) {
return new TreeMap<String,String>(NbCollections.checkedMapByFilter(p, String.class, String.class, true)).toString();