/openjdk7/jdk/test/sun/security/tools/jarsigner/ |
H A D | JarSigningNonAscii.java | 38 private static String jarFile; field in class:JarSigningNonAscii
|
/openjdk7/jdk/test/tools/launcher/ |
H A D | MainClassAttributeTest.java | 49 static void runTest(File jarFile, String expectedErrorMessage) { argument 51 "-jar", jarFile.getAbsolutePath()); 64 File jarFile = new File("missingmainentry.jar"); 65 createJar("cvf", jarFile.getName(), "."); 66 runTest(jarFile, "no main manifest attribute"); 71 File jarFile = new File("extensionmainentry.jar"); 72 createJar("Foo.class", jarFile, new File("Foo"), (String[])null); 73 runTest(jarFile, "Error: Could not find or load main class"); 78 File jarFile = new File("misspelledmainentry.jar"); 79 createJar("FooMIS", jarFile, ne [all...] |
/openjdk7/jdk/test/java/net/URLClassLoader/ |
H A D | ClassPathTest.java | 43 JarFile jarFile; field in class:ClassPathTest 61 jarFile = new JarFile(jarFileName); 75 manifest = jarFile.getManifest(); 80 //manifest = jarFile.getManifest();
|
/openjdk7/jdk/test/tools/jar/index/ |
H A D | MetaInf.java | 63 static boolean contains(File jarFile, String entryName) argument 65 ZipFile zf = new ZipFile(jarFile); 74 static void checkContains(File jarFile, String entryName) argument 76 if (! contains(jarFile, entryName)) 78 jarFile, entryName));
|
/openjdk7/jdk/src/windows/classes/sun/net/www/protocol/jar/ |
H A D | JarFileFactory.java | 59 URLConnection getConnection(JarFile jarFile) throws IOException { argument 62 u = urlCache.get(jarFile); 122 public void close(JarFile jarFile) { argument 124 URL urlRemoved = urlCache.remove(jarFile); 162 private Permission getPermission(JarFile jarFile) { argument 164 URLConnection uc = (URLConnection)getConnection(jarFile);
|
/openjdk7/jdk/src/solaris/classes/sun/net/www/protocol/jar/ |
H A D | JarFileFactory.java | 59 URLConnection getConnection(JarFile jarFile) throws IOException { argument 62 u = urlCache.get(jarFile); 112 public void close(JarFile jarFile) { argument 114 URL urlRemoved = urlCache.remove(jarFile); 152 private Permission getPermission(JarFile jarFile) { argument 154 URLConnection uc = getConnection(jarFile);
|
/openjdk7/langtools/test/tools/javac/file/zip/ |
H A D | T6836682.java | 106 static void createJarWithLargeFile(File jarFile, File javaFile, argument 114 zos = new ZipOutputStream(new FileOutputStream(jarFile)); 146 static void createLargeJar(File jarFile, File javaFile) throws IOException { argument 154 zos = new ZipOutputStream(new FileOutputStream(jarFile));
|
/openjdk7/jdk/test/tools/jar/ |
H A D | JarBackSlash.java | 56 File jarFile = File.createTempFile("JarBackSlashTest", ".jar"); 57 jarFile.deleteOnExit(); 59 try (JarOutputStream output = new JarOutputStream(new FileOutputStream(jarFile))) { 64 return jarFile; 67 private static void testJarList(String jarFile) throws IOException { argument 70 argList.add(jarFile); 90 private static void testJarExtract(String jarFile) throws IOException { argument 93 argList.add(jarFile);
|
H A D | JarEntryTime.java | 47 static void extractJar(File jarFile, boolean useExtractionTime) throws Throwable { argument 59 jarFile.getName() }; 64 jarFile.getName() }; 74 File jarFile = new File("JarEntryTime.jar"); 79 jarFile.delete(); 113 jarFile.getName(), dirOuter.getName() } )); 114 check(jarFile.exists()); 121 extractJar(jarFile, false); 134 extractJar(jarFile, true); 145 check(jarFile [all...] |
/openjdk7/jdk/src/share/instrument/ |
H A D | InstrumentationImplNativeMethods.c | 143 (JNIEnv * jnienv, jobject implThis, jlong agent, jstring jarFile, jboolean isBootLoader) { 144 appendToClassLoaderSearch(jnienv, (JPLISAgent*)(intptr_t)agent, jarFile, isBootLoader); 142 Java_sun_instrument_InstrumentationImpl_appendToClassLoaderSearch0(JNIEnv * jnienv, jobject implThis, jlong agent, jstring jarFile, jboolean isBootLoader) argument
|
H A D | JPLISAgent.c | 1414 appendToClassLoaderSearch(JNIEnv * jnienv, JPLISAgent * agent, jstring jarFile, jboolean isBootLoader) argument 1425 utf8Len = (*jnienv)->GetStringUTFLength(jnienv, jarFile); 1429 utf8Chars = (*jnienv)->GetStringUTFChars(jnienv, jarFile, &isCopy); 1443 (*jnienv)->ReleaseStringUTFChars(jnienv, jarFile, utf8Chars);
|
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/cmdline/ |
H A D | Transform.java | 88 private void setJarFileInputSrc(boolean flag, String jarFile) { argument 95 // TODO verify jarFile exists... 96 _jarFileSrc = jarFile; 236 String jarFile = null; 248 jarFile = args[++i]; 269 handler.setJarFileInputSrc(isJarFileSpecified, jarFile);
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/file/ |
H A D | BaseFileObject.java | 87 protected static URI createJarUri(File jarFile, String entryName) { argument 88 URI jarURI = jarFile.toURI().normalize();
|
H A D | Paths.java | 354 private void addJarClassPath(File jarFile, boolean warn) { argument 356 for (File f: fsInfo.getJarClassPath(jarFile)) { 360 log.error("error.reading.file", jarFile, JavacFileManager.getMessage(e));
|
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/jar/ |
H A D | URLJarFile.java | 221 JarFile jarFile = new URLJarFile(tmpFile.toFile(), closeController); 223 return jarFile; 284 public void close(JarFile jarFile); argument
|
H A D | JarURLConnection.java | 74 private JarFile jarFile; field in class:JarURLConnection 90 return jarFile; 111 jarFile.close(); 122 jarFile = factory.get(getJarFileURL(), getUseCaches()); 125 * to get the jarFile, and set it as our permission. 128 jarFileURLConnection = factory.getConnection(jarFile); 132 jarEntry = (JarEntry)jarFile.getEntry(entryName); 136 jarFile.close(); 142 jarFile.getName()); 160 jarFile [all...] |
/openjdk7/jdk/test/tools/pack200/ |
H A D | Utils.java | 315 static void pack(JarFile jarFile, File packFile) throws IOException { argument 331 packer.pack(jarFile, fos);
|