publicclass JarNoManifest { publicstaticvoid main(String[] args) throws Exception {
File f = new File(System.getProperty("test.src","."), "no-manifest.jar");
JarFile jar = new JarFile(f);
ZipEntry entry = jar.getEntry("JarNoManifest.java"); // The following throws a NullPointerException when the bug is present
InputStream in = jar.getInputStream(entry);
}
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.