Searched refs:jar (Results 1 - 25 of 375) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/java/util/jar/
H A DJavaUtilJarAccessImpl.java26 package java.util.jar;
36 public boolean jarFileHasClassPathAttribute(JarFile jar) throws IOException { argument
37 return jar.hasClassPathAttribute();
40 public CodeSource[] getCodeSources(JarFile jar, URL url) { argument
41 return jar.getCodeSources(url);
44 public CodeSource getCodeSource(JarFile jar, URL url, String name) { argument
45 return jar.getCodeSource(url, name);
48 public Enumeration<String> entryNames(JarFile jar, CodeSource[] cs) { argument
49 return jar.entryNames(cs);
52 public Enumeration<JarEntry> entries2(JarFile jar) { argument
56 setEagerValidation(JarFile jar, boolean eager) argument
60 getManifestDigests(JarFile jar) argument
[all...]
/openjdk7/jdk/test/java/util/jar/JarFile/
H A DJarNoManifest.java30 import java.util.jar.*;
35 File f = new File(System.getProperty("test.src","."), "no-manifest.jar");
36 JarFile jar = new JarFile(f);
37 ZipEntry entry = jar.getEntry("JarNoManifest.java");
39 InputStream in = jar.getInputStream(entry);
H A DSignedJarFileGetInputStream.java26 * @summary JarFile.getInputStream should not throw when jar file is signed
32 import java.util.jar.*;
37 JarFile jar = new JarFile(
38 new File(System.getProperty("test.src", "."), "Signed.jar"));
40 for (Enumeration e = jar.entries(); e.hasMoreElements();) {
42 InputStream is = jar.getInputStream(new ZipEntry(entry.getName()));
/openjdk7/jdk/test/java/net/URLClassLoader/sealing/
H A DMakefile3 # This makefile is only used to update b.jar and directory a,
8 all: b.jar
10 b.jar: classes
11 $(JBIN)/jar cmf manifest b.jar -C b p/B.class
17 rm -rf b.jar ?/p/*.class
/openjdk7/jdk/make/com/sun/crypto/provider/
H A DMakefile27 # Makefile for building sunjce_provider.jar.
37 # jar files do not require signing, but those for JDK do. If an unsigned
38 # jar file is installed into JDK, things will break when the crypto
45 # For OpenJDK, the jar files built here are installed directly into the
56 # be built and signed, and the resulting jar files MUST BE CHECKED INTO
67 # If OpenJDK, installs sunjce_provider.jar.
69 # sunjce_provider.jar.
71 # jar Builds/installs sunjce_provider.jar
77 # build-jar Build
[all...]
/openjdk7/jdk/src/share/classes/sun/misc/
H A DJavaUtilJarAccess.java33 import java.util.jar.JarEntry;
34 import java.util.jar.JarFile;
37 public boolean jarFileHasClassPathAttribute(JarFile jar) throws IOException; argument
38 public CodeSource[] getCodeSources(JarFile jar, URL url); argument
39 public CodeSource getCodeSource(JarFile jar, URL url, String name); argument
40 public Enumeration<String> entryNames(JarFile jar, CodeSource[] cs); argument
41 public Enumeration<JarEntry> entries2(JarFile jar); argument
42 public void setEagerValidation(JarFile jar, boolean eager); argument
43 public List getManifestDigests(JarFile jar); argument
/openjdk7/hotspot/test/compiler/7068051/
H A DTest7068051.sh37 ${COMPILEJAVA}/bin/jar xf ${COMPILEJAVA}/jre/lib/javaws.jar
38 ${COMPILEJAVA}/bin/jar cf foo.jar *
40 ${COMPILEJAVA}/bin/jar -uf0 foo.jar Test7068051.java
44 ${TESTJAVA}/bin/java ${TESTVMOPTS} -showversion -Xbatch Test7068051 foo.jar
/openjdk7/hotspot/agent/make/
H A Dhsdb.sh32 $SA_JAVA -showversion -cp $STARTDIR/../build/classes:$STARTDIR/../src/share/lib/js.jar:$STARTDIR/sa.jar:$STARTDIR/lib/js.jar sun.jvm.hotspot.HSDB $*
H A Dstart-rmiregistry.sh28 if [ -f $STARTDIR/sa.jar ] ; then
29 CP=$STARTDIR/sa.jar
/openjdk7/jdk/make/javax/crypto/
H A DMakefile27 # Makefile for building jce.jar and the various cryptographic strength
28 # policy jar files.
36 # jar files do not require signing, but those for JDK do. If an unsigned
37 # jar file is installed into JDK, things will break when the crypto
44 # For OpenJDK, the jar files built here are installed directly into the
55 # be built and signed, and the resulting jar files *MUST BE CHECKED INTO
67 # jce.jar/limited policy files.
70 # prebuilt/presigned jce.jar &
77 # jar Builds/installs jce.jar
[all...]
/openjdk7/jdk/test/java/io/Serializable/resolveClass/deserializeButton/
H A Drun.sh44 rm -f *.class *.jar
46 ${TESTJAVA}/bin/jar cf cb.jar *.class
50 rm -f *.class *.jar
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/jar/
H A DURLJarFileCallBack.java26 package sun.net.www.protocol.jar;
30 import java.util.jar.*;
/openjdk7/jdk/test/java/io/Serializable/resolveClass/consTest/
H A Drun.sh42 rm -f *.class *.jar
44 ${TESTJAVA}/bin/jar cf boot.jar *.class
46 ${TESTJAVA}/bin/javac -classpath boot.jar -d . ${TESTSRC}/Test.java
47 ${TESTJAVA}/bin/java -Xbootclasspath/a:boot.jar Test
48 rm -f *.class *.jar
/openjdk7/jdk/make/sun/jar/
H A DMakefile27 # Makefile for building jar utility.
45 AUTO_FILES_JAVA_DIRS = sun/tools/jar
51 RESOURCE_BUNDLES_COMPILED_PROPERTIES = sun/tools/jar/resources/jar.properties
/openjdk7/jdk/test/sun/nio/cs/
H A DTest4200310.sh25 # @summary make sure class files are not duplicated between rt.jar,
26 # charsets.jar, and localedata.jar
30 2>&1 $TESTJAVA/bin/jar -tf "$TESTJAVA/jre/lib/rt.jar" > class-list
31 2>&1 $TESTJAVA/bin/jar -tf "$TESTJAVA/jre/lib/charsets.jar" >> class-list
32 2>&1 $TESTJAVA/bin/jar -tf "$TESTJAVA/jre/lib/ext/localedata.jar" >> class-list
37 echo FAILED: $duplicates are duplicated between rt.jar, charset
[all...]
/openjdk7/jdk/test/tools/launcher/
H A DUnicodeTest.sh51 JAR="${TESTJAVA}"/bin/jar
72 "$JAR" -cvfm UnicodeTest.jar UnicodeTest-src/MANIFEST.MF \
84 echo "running test app using newly built jar file"
85 "$JAVA" -jar UnicodeTest.jar || exit 1
87 echo "running test app using jar file built in Solaris UTF-8 locale"
88 "$JAVA" -jar "${TESTSRC}"/UnicodeTest.jar || exit 1
90 # if we can switch to a C locale, then test whether jar files with
98 echo "running test app using newly built jar fil
[all...]
/openjdk7/jdk/make/sun/security/ec/
H A DMakefile27 # Makefile for building sunec.jar and sunec native library.
37 # jar files do not require signing, but those for JDK do. If an unsigned
38 # jar file is installed into JDK, things will break when the crypto
42 # the jar files built here are installed directly into the OpenJDK.
52 # be built, signed, and then the resulting jar files MUST BE CHECKED
63 # If OpenJDK, installs sunec.jar.
65 # sunec.jar.
67 # jar Builds/installs sunec.jar
73 # build-jar Build
[all...]
/openjdk7/jdk/make/sun/security/mscapi/
H A DMakefile27 # Makefile for building sunmscapi.jar and native libraries.
37 # jar files do not require signing, but those for JDK do. If an unsigned
38 # jar file is installed into JDK, things will break when the crypto
42 # the jar files built here are installed directly into the OpenJDK.
52 # be built, signed, and then the resulting jar files MUST BE CHECKED
63 # If OpenJDK, installs sunmscapi.jar.
65 # sunmscapi.jar.
67 # jar Builds/installs sunmscapi.jar
73 # build-jar Build
[all...]
/openjdk7/jdk/make/sun/security/pkcs11/
H A DMakefile27 # Makefile for building sunpkcs11.jar and native libraries.
37 # jar files do not require signing, but those for JDK do. If an unsigned
38 # jar file is installed into JDK, things will break when the crypto
42 # the jar files built here are installed directly into the OpenJDK.
52 # be built, signed, and then the resulting jar files MUST BE CHECKED
63 # If OpenJDK, installs sunpkcs11.jar.
65 # sunpkcs11.jar.
67 # jar Builds/installs sunpkcs11.jar
73 # build-jar Build
[all...]
/openjdk7/jdk/test/java/io/Serializable/superclassDataLoss/
H A Drun.sh44 ${TESTJAVA}/bin/jar cf cb1.jar A.class B.class
45 cp cb1.jar cb2.jar
50 rm -f *.class *.jar
/openjdk7/jdk/test/javax/imageio/stream/StreamCloserLeak/
H A Drun_test.sh163 echo "Create TestApp.jar..."
165 if [ -f TestApp.jar ] ; then
166 rm -f TestApp.jar
169 ${TESTJAVA}/bin/jar -cvf TestApp.jar -C ${TESTCLASSES} testapp
172 fail "Failed to create TestApp.jar"
175 echo "Create Test.jar..."
176 if [ -f Test.jar ] ; then
177 rm -f Test.jar
180 ${TESTJAVA}/bin/jar
[all...]
/openjdk7/jdk/test/sun/misc/IoTrace/
H A DioTraceTest.sh31 ${TESTJAVA}/bin/jar cfm iotraceagent.jar ${TESTSRC}/iotraceagent.mf IoTraceAgent.class IoTraceListener.class
34 ${TESTJAVA}/bin/java ${TESTVMOPTS} -javaagent:${TESTCLASSES}/iotraceagent.jar -cp ${TESTCLASSES} $*
/openjdk7/langtools/test/tools/javac/Paths/
H A DClass-Path.sh29 # @summary Test handling of the Class-Path attribute in jar file manifests
41 Sys rm -rf pkg Main.java Main.class Main.jar jars
42 Sys rm -rf MANIFEST.MF A.jar B.zip
49 # Create mutually referential jar files
72 Sys "$jar" cmf MANIFEST.MF A.jar pkg/A.class
74 MkManifestWithClassPath "A.jar"
75 Sys "$jar" cmf MANIFEST.MF B.zip pkg/B.class
84 Success "$javac" ${TESTTOOLVMOPTS} -cp "A.jar" Main.java
86 Success "$java" ${TESTVMOPTS} -cp "A.jar
[all...]
/openjdk7/hotspot/agent/src/scripts/
H A Dstart-debug-server.sh37 if [ ! -x ${JAVA_HOME}/bin/java -o ! -r ${JAVA_HOME}/lib/sa-jdi.jar ] ;
43 ${JAVA_HOME}/bin/java -classpath ${JAVA_HOME}/lib/sa-jdi.jar sun.jvm.hotspot.jdi.SADebugServer $*
H A Dstart-debug-server64.sh37 if [ ! -x ${JAVA_HOME}/bin/java -o ! -r ${JAVA_HOME}/lib/sa-jdi.jar ] ;
43 ${JAVA_HOME}/bin/java -d64 -classpath ${JAVA_HOME}/lib/sa-jdi.jar sun.jvm.hotspot.jdi.SADebugServer $*

Completed in 1366 milliseconds

1234567891011>>