diff --git a/devel/jdk/1.3/Makefile b/devel/jdk/1.3/Makefile index 1439cfb9823..6f58c2cdd4f 100644 --- a/devel/jdk/1.3/Makefile +++ b/devel/jdk/1.3/Makefile @@ -1,15 +1,14 @@ -# $OpenBSD: Makefile,v 1.10 2005/02/20 11:18:55 sturm Exp $ +# $OpenBSD: Makefile,v 1.11 2005/06/03 17:27:53 kurt Exp $ # $FreeBSD: ports/java/jdk12/Makefile,v 1.11 2002/08/19 20:47:04 glewis Exp $ -# Requires existing JDK 1.3 to build -ONLY_FOR_ARCHS= i386 +ONLY_FOR_ARCHS= i386 powerpc COMMENT= "Java2(TM) Standard Edition Dev Kit v${V}" COMMENT-jre= "Java2(TM) Standard Edition Runtime Environment v${V}" V= 1.3.1 DISTNAME= j2sdk-1_3_1-src -PKGNAME= jdk-${V} -PKGNAME-jre= jre-${V} +PKGNAME= jdk-${V}p0 +PKGNAME-jre= jre-${V}p0 CATEGORIES= devel/jdk java @@ -18,13 +17,13 @@ MULTI_PACKAGES= -jre # wwws is not a typo in the following: HOMEPAGE= http://wwws.sun.com/software/communitysource/j2se/java2/index.html -MAINTAINER= Kurt Miller +MAINTAINER= Kurt Miller DISTFILES= j2sdk-1_3_1-src.tar.gz DISTFILES+= bsd-jdk131-patches-9.tar.gz # Sun Community Source License -# http://www.sun.com/981208/scsl/principles.html +# http://www.sun.com/software/communitysource/j2se/java2/license.html PERMIT_PACKAGE_CDROM= "SCSL" PERMIT_PACKAGE_FTP= "SCSL" PERMIT_DISTFILES_CDROM= "SCSL" @@ -46,55 +45,50 @@ TAR= ${LOCALBASE}/bin/gtar MAKE_ENV= ALT_MOTIF_DIR="${LOCALBASE}" \ OPENWINHOME="${X11BASE}" \ OTHER_CFLAGS="${CFLAGS}" \ + BUILD_NUMBER="`whoami`-`date '+%Y-%m-%d-%H:%M'`" \ HAVE_DPS="yes" -FLAVORS= no_plugin +# Error message for distfile. +FETCH_MANUALLY= "You must manually fetch the distribution files, place" +FETCH_MANUALLY+="them in ${FULLDISDIR} and then run make again." +FETCH_MANUALLY+="Get the SCSL source file:" +FETCH_MANUALLY+=" j2sdk-1_3_1-src.tar.gz" +FETCH_MANUALLY+="from http://wwws.sun.com/software/communitysource/j2se/java2/download.html" +FETCH_MANUALLY+="Get the BSD patchset file:" +FETCH_MANUALLY+=" bsd-jdk131-patches-9.tar.gz" +FETCH_MANUALLY+="from http://www.eyesbeyond.com/freebsddom/java/jdk13.html" + PSEUDO_FLAVORS= native_bootstrap -FLAVOR?= no_plugin +FLAVOR?= .if ${FLAVOR:L:Mnative_bootstrap} BUILD_DEPENDS+= :jdk-1.3*:devel/jdk/1.3 MAKE_ENV+= ALT_BOOTDIR="${LOCALBASE}/${JDKHOME}" .else -BUILD_DEPENDS+= :jdk-linux->=1.3.1_10:devel/jdk/1.3-linux -MAKE_ENV+= ALT_BOOTDIR="${LOCALBASE}/jdk1.3.1-linux" +DISTFILES+= j2sdk-1_3_1-linux-i386.bin +FETCH_MANUALLY+= "Get the linux binary sdk file:" +FETCH_MANUALLY+= " j2sdk-1_3_1-linux-i386.bin" +FETCH_MANUALLY+= "from http://java.sun.com/products/archive/j2se/1.3.1/" +DISTFILES+= bootstrap-src-jdk131-1.tar.gz +FETCH_MANUALLY+= "Get the bootstrap source dist file:" +FETCH_MANUALLY+= " bootstrap-src-jdk131-1.tar.gz" +FETCH_MANUALLY+= "from http://www.intricatesoftware.com/OpenBSD/java/jdk13.html" +BUILD_DEPENDS+= ::archivers/unzip +MAKE_ENV+= ALT_BOOTDIR="${WRKDIST}" +LINUXFILES= jdk1.3.1/lib/tools.jar \ + jdk1.3.1/jre/lib/rt.jar +EXTRACT_CASES+= *.bin) \ + perl -p0777 -e "s/.*?PK\03\04/PK\03\04/s" ${FULLDISTDIR}/$$archive > \ + ${WRKDIR}/$$archive.zip && \ + unzip -j ${WRKDIR}/$$archive ${LINUXFILES} ;; +. if ${MACHINE_ARCH} == "powerpc" +PATCH_LIST= patch-* pack-patch-* +. endif .endif WANTLIB= ICE SM X11 Xext Xp Xt Xtst c dps m ossaudio pthread -.if !${FLAVOR:L:Mno_plugin} -BROKEN= "Security Vulnerability With Java Plug-in in JRE/SDK (SunSolve \#57591)" -LIB_DEPENDS= glib.1::devel/glib \ - gtk.1.2::x11/gtk+ \ - nspr4.1::devel/nspr - -MODULES= devel/gettext - -MAKE_ENV+= LIBG_HDRS="${LOCALBASE}/include/glib-1.2" \ - GTK_HDRS="${LOCALBASE}/include/gtk-1.2" \ - LIBIDL_HDRS= \ - INTL_DIR="${LOCALBASE}" \ - BUILD_NUMBER="`whoami`-`date '+%Y-%m-%d-%H:%M'`" - -ALL_TARGET= all plugin images -.else -#no plugin - no messages -MESSAGE= /dev/null - -MAKE_ENV+= BUILD_NUMBER="`whoami`-`date '+%Y-%m-%d-%H:%M'`-no_plugin" - ALL_TARGET= all images -.endif - -# Error message for distfile. -FETCH_MANUALLY= "You must manually fetch the source distribution" -FETCH_MANUALLY+="and BSD patches:" -.for file in ${DISTFILES} -FETCH_MANUALLY+=" ${file}" -.endfor -FETCH_MANUALLY+="from http://www.sun.com/software/java2/download.html" -FETCH_MANUALLY+="and http://www.eyesbeyond.com/freebsddom/java/jdk13.html," -FETCH_MANUALLY+="place it in ${FULLDISTDIR} and then run make again." JDKHOME= jdk-${V} JREHOME= jre-${V} @@ -105,27 +99,40 @@ SYSTRACE_SUBST_VARS= LOCALBASE # Deal with Sun's internal build structure WRKDIST= ${WRKDIR} WRKSRC= ${WRKDIR}/j2sdk1.3.1/make -JDKIMAGEDIR= ${WRKDIR}/j2sdk1.3.1/build/bsd-${ARCH}/jdk-image-${ARCH} -JDKIMAGEDIR_G= ${WRKDIR}/j2sdk1.3.1/build/bsd-${ARCH}/jdk-debug-image-${ARCH} -JREIMAGEDIR= ${WRKDIR}/j2sdk1.3.1/build/bsd-${ARCH}/jre-image-${ARCH} +BUILDDIR= ${WRKDIR}/j2sdk1.3.1/build +CLASSESDIR= ${BUILDDIR}/bsd-${MACHINE_ARCH}/classes +JDKIMAGEDIR= ${BUILDDIR}/bsd-${MACHINE_ARCH}/jdk-image-${MACHINE_ARCH} +JDKIMAGEDIR_G= ${BUILDDIR}/bsd-${MACHINE_ARCH}/jdk-debug-image-${MACHINE_ARCH} +JREIMAGEDIR= ${BUILDDIR}/bsd-${MACHINE_ARCH}/jre-image-${MACHINE_ARCH} CACERTSDIR= ${WRKDIR}/j2sdk1.3.1/src/share/lib/security -SYSCTL= ${SUDO} sysctl -w kern.emul.linux +.if !${FLAVOR:L:Mnative_bootstrap} +post-extract: + @mv ${BUILDDIR}/bootsrc ${BUILDDIR}/bsd-${MACHINE_ARCH} + @mkdir -p ${CLASSESDIR} + @cd ${CLASSESDIR} && \ + xargs unzip -q ${WRKDIR}/tools.jar < ${FILESDIR}/tools_jar_class_list && \ + xargs unzip -q ${WRKDIR}/rt.jar < ${FILESDIR}/rt_jar_class_list +.endif pre-patch: @cp -f ${FILESDIR}/cacerts ${CACERTSDIR} @cd ${WRKDIR} && \ ${CHMOD} -R u+w * && \ - ${PATCH} -p0 -z .orig.bsd < ${WRKDIR}/jdk131.patches + ${PATCH} -p0 -z .orig.bsd --quiet < ${WRKDIR}/jdk131.patches .if !${FLAVOR:L:Mnative_bootstrap} -pre-build: - @sysctl -n kern.emul.linux > ${WRKDIR}/.emul_linux - @${SYSCTL}=1 +post-patch: + @cd ${WRKDIR}/bin && \ + ${CHMOD} +x bootscript +.for prog in java javac javah + @cd ${WRKDIR}/bin && \ + ln -s bootscript ${prog} +.endfor +.endif post-build: - @${SYSCTL}=`cat ${WRKDIR}/.emul_linux` -.endif + @rm -rf ${JDKIMAGEDIR}/demo/jfc/SwingSet2/resources do-install: ${INSTALL_DATA_DIR} ${PREFIX}/${JDKHOME} diff --git a/devel/jdk/1.3/distinfo b/devel/jdk/1.3/distinfo index 67abfd39141..54c33140529 100644 --- a/devel/jdk/1.3/distinfo +++ b/devel/jdk/1.3/distinfo @@ -1,8 +1,16 @@ +MD5 (bootstrap-src-jdk131-1.tar.gz) = fef4d181ce52462715b6a52ef08b6f7b MD5 (bsd-jdk131-patches-9.tar.gz) = 29c83880d3555abcf74fc7df9db1959f +MD5 (j2sdk-1_3_1-linux-i386.bin) = c76ea483213796e2a12109dff6b73e3a MD5 (j2sdk-1_3_1-src.tar.gz) = 787a01655133df85e65eda7deb2ece57 +RMD160 (bootstrap-src-jdk131-1.tar.gz) = e7779e9c9a9cd3529af7cfb9c6ad4115b8a83d8e RMD160 (bsd-jdk131-patches-9.tar.gz) = a6ff124a88949abc9a3018361208dff3f5c41664 +RMD160 (j2sdk-1_3_1-linux-i386.bin) = 9636ca0ac2baea6a57dc63d41baea8c5a18f220a RMD160 (j2sdk-1_3_1-src.tar.gz) = 4ed3dfb58e24c2fa5b4ec567445aa7635765886a +SHA1 (bootstrap-src-jdk131-1.tar.gz) = c69a830c6e9c564213f8a47d5d79da13a50d005a SHA1 (bsd-jdk131-patches-9.tar.gz) = 7f38ff2c46bcf5563f01d18a17ea2e0d34189b3a +SHA1 (j2sdk-1_3_1-linux-i386.bin) = 86c4fd2695a4e099f44b9dfefd8c5af0112f065c SHA1 (j2sdk-1_3_1-src.tar.gz) = 90f6f7a7756ca574193ea8f2deaf2d0e095692d1 +SIZE (bootstrap-src-jdk131-1.tar.gz) = 205826 SIZE (bsd-jdk131-patches-9.tar.gz) = 642883 +SIZE (j2sdk-1_3_1-linux-i386.bin) = 26924751 SIZE (j2sdk-1_3_1-src.tar.gz) = 29876595 diff --git a/devel/jdk/1.3/files/rt_jar_class_list b/devel/jdk/1.3/files/rt_jar_class_list new file mode 100644 index 00000000000..18c2713e87f --- /dev/null +++ b/devel/jdk/1.3/files/rt_jar_class_list @@ -0,0 +1,1009 @@ +java/io/ +java/io/InputStream.class +java/io/IOException.class +java/io/Serializable.class +java/io/PrintStream.class +java/io/FilterOutputStream.class +java/io/OutputStream.class +java/io/PrintWriter.class +java/io/Writer.class +java/io/ObjectStreamField.class +java/io/UnsupportedEncodingException.class +java/io/BufferedWriter.class +java/io/OutputStreamWriter.class +java/io/File.class +java/io/ObjectOutputStream$PutField.class +java/io/ObjectOutputStream$PutFieldImpl.class +java/io/ObjectOutputStream$HandleTable.class +java/io/ObjectOutputStream$ReplaceTable.class +java/io/ObjectOutputStream$Stack.class +java/io/ObjectOutputStream$1.class +java/io/ObjectOutputStream.class +java/io/ObjectOutput.class +java/io/DataOutput.class +java/io/ObjectStreamConstants.class +java/io/ObjectInputStream$GetField.class +java/io/ObjectInputStream$GetFieldImpl.class +java/io/ObjectInputStream.class +java/io/ObjectInput.class +java/io/DataInput.class +java/io/ValidationCallback.class +java/io/CharConversionException.class +java/io/ObjectStreamException.class +java/io/FileSystem.class +java/io/FilenameFilter.class +java/io/FileFilter.class +java/io/FileDescriptor.class +java/io/ObjectStreamClass$1.class +java/io/ObjectStreamClass$2.class +java/io/ObjectStreamClass$ObjectStreamClassEntry.class +java/io/ObjectStreamClass$CompareClassByName.class +java/io/ObjectStreamClass$CompareMemberByName.class +java/io/ObjectStreamClass$MethodSignature.class +java/io/ObjectStreamClass.class +java/io/DataOutputStream.class +java/io/InvalidClassException.class +java/io/SerializablePermission.class +java/io/StreamCorruptedException.class +java/io/OptionalDataException.class +java/io/NotActiveException.class +java/io/ObjectInputValidation.class +java/io/InvalidObjectException.class +java/io/DataInputStream.class +java/io/FilterInputStream.class +java/io/SyncFailedException.class +java/io/InterruptedIOException.class +java/io/FileInputStream.class +java/io/FileNotFoundException.class +java/io/ByteArrayOutputStream.class +java/io/ByteArrayInputStream.class +java/io/NotSerializableException.class +java/io/FilePermission$1.class +java/io/FilePermission.class +java/io/Externalizable.class +java/io/UTFDataFormatException.class +java/io/WriteAbortedException.class +java/io/EOFException.class +java/io/BufferedInputStream.class +java/io/PushbackInputStream.class +java/io/BufferedReader.class +java/io/Reader.class +java/io/InputStreamReader.class +java/io/FileOutputStream.class +java/io/BufferedOutputStream.class +java/io/StreamTokenizer.class +java/io/StringReader.class +java/io/FilePermissionCollection.class +java/io/FileReader.class +java/io/FileWriter.class +java/io/PipedInputStream.class +java/io/PipedOutputStream.class +java/io/SequenceInputStream.class +java/io/StringBufferInputStream.class +java/io/LineNumberInputStream.class +java/io/RandomAccessFile.class +java/io/LineNumberReader.class +java/io/CharArrayReader.class +java/io/FilterReader.class +java/io/PushbackReader.class +java/io/PipedReader.class +java/io/PipedWriter.class +java/io/CharArrayWriter.class +java/io/FilterWriter.class +java/io/StringWriter.class +java/io/UnixFileSystem.class +java/lang/ +java/lang/Object.class +java/lang/Exception.class +java/lang/Throwable.class +java/lang/Class$1.class +java/lang/Class.class +java/lang/CloneNotSupportedException.class +java/lang/String$CaseInsensitiveComparator.class +java/lang/String$1.class +java/lang/String.class +java/lang/Comparable.class +java/lang/InterruptedException.class +java/lang/ClassNotFoundException.class +java/lang/ClassLoader$1.class +java/lang/ClassLoader$2.class +java/lang/ClassLoader$NativeLibrary.class +java/lang/ClassLoader$3.class +java/lang/ClassLoader$4.class +java/lang/ClassLoader.class +java/lang/InstantiationException.class +java/lang/IllegalAccessException.class +java/lang/Package$1.class +java/lang/Package.class +java/lang/reflect/ +java/lang/reflect/Field.class +java/lang/reflect/AccessibleObject.class +java/lang/reflect/Member.class +java/lang/reflect/Method.class +java/lang/reflect/Constructor.class +java/lang/reflect/InvocationTargetException.class +java/lang/reflect/Modifier.class +java/lang/reflect/ReflectPermission.class +java/lang/reflect/Array.class +java/lang/reflect/Proxy.class +java/lang/reflect/InvocationHandler.class +java/lang/reflect/UndeclaredThrowableException.class +java/lang/SecurityException.class +java/lang/RuntimeException.class +java/lang/NoSuchFieldException.class +java/lang/NoSuchMethodException.class +java/lang/RuntimePermission.class +java/lang/ThreadLocal$SecureKey.class +java/lang/ThreadLocal.class +java/lang/StringBuffer.class +java/lang/Cloneable.class +java/lang/ClassFormatError.class +java/lang/LinkageError.class +java/lang/Error.class +java/lang/IllegalArgumentException.class +java/lang/NumberFormatException.class +java/lang/SecurityManager$1.class +java/lang/SecurityManager$2.class +java/lang/SecurityManager.class +java/lang/ThreadGroup.class +java/lang/Thread.class +java/lang/Runnable.class +java/lang/Integer.class +java/lang/Number.class +java/lang/ref/ +java/lang/ref/SoftReference.class +java/lang/ref/Reference$Lock.class +java/lang/ref/Reference$ReferenceHandler.class +java/lang/ref/Reference$1.class +java/lang/ref/Reference.class +java/lang/ref/ReferenceQueue$Null.class +java/lang/ref/ReferenceQueue$Lock.class +java/lang/ref/ReferenceQueue$1.class +java/lang/ref/ReferenceQueue.class +java/lang/ref/WeakReference.class +java/lang/ref/FinalReference.class +java/lang/ref/PhantomReference.class +java/lang/ref/Finalizer$1.class +java/lang/ref/Finalizer$2.class +java/lang/ref/Finalizer$3.class +java/lang/ref/Finalizer$FinalizerThread.class +java/lang/ref/Finalizer.class +java/lang/Boolean.class +java/lang/Byte.class +java/lang/Character$Subset.class +java/lang/Character$UnicodeBlock.class +java/lang/Character.class +java/lang/Double.class +java/lang/Float.class +java/lang/Long.class +java/lang/Runtime.class +java/lang/Process.class +java/lang/Short.class +java/lang/StackOverflowError.class +java/lang/VirtualMachineError.class +java/lang/NullPointerException.class +java/lang/IndexOutOfBoundsException.class +java/lang/Math.class +java/lang/System$1.class +java/lang/System.class +java/lang/StringIndexOutOfBoundsException.class +java/lang/InternalError.class +java/lang/UnsatisfiedLinkError.class +java/lang/NoClassDefFoundError.class +java/lang/IllegalStateException.class +java/lang/NegativeArraySizeException.class +java/lang/ArrayIndexOutOfBoundsException.class +java/lang/UnsupportedOperationException.class +java/lang/OutOfMemoryError.class +java/lang/IllegalAccessError.class +java/lang/IncompatibleClassChangeError.class +java/lang/NoSuchMethodError.class +java/lang/ClassCastException.class +java/lang/IllegalThreadStateException.class +java/lang/ThreadDeath.class +java/lang/InheritableThreadLocal.class +java/lang/Void.class +java/lang/FloatingDecimal.class +java/lang/FDBigInt.class +java/lang/Shutdown$WrappedHook.class +java/lang/Shutdown$Lock.class +java/lang/Shutdown$1.class +java/lang/Shutdown.class +java/lang/StrictMath.class +java/lang/ArithmeticException.class +java/lang/Terminator$1.class +java/lang/Terminator.class +java/lang/ExceptionInInitializerError.class +java/lang/Compiler$1.class +java/lang/Compiler.class +java/lang/ArrayStoreException.class +java/lang/IllegalMonitorStateException.class +java/lang/ClassCircularityError.class +java/lang/UnsupportedClassVersionError.class +java/lang/AbstractMethodError.class +java/lang/InstantiationError.class +java/lang/NoSuchFieldError.class +java/lang/VerifyError.class +java/lang/UnknownError.class +java/lang/UNIXProcess$1.class +java/lang/UNIXProcess$2.class +java/lang/UNIXProcess$3.class +java/lang/UNIXProcess$4.class +java/lang/UNIXProcess.class +java/lang/ProcessInputStream.class +java/lang/UNIXProcessReaper.class +java/lang/UNIXProcessForker.class +java/net/ +java/net/URL.class +java/net/InetAddress$CacheEntry.class +java/net/InetAddress.class +java/net/InetAddressImpl.class +java/net/URLStreamHandler.class +java/net/MalformedURLException.class +java/net/NetPermission.class +java/net/URLConnection$1.class +java/net/URLConnection.class +java/net/URLStreamHandlerFactory.class +java/net/SocketPermission.class +java/net/UnknownHostException.class +java/net/FileNameMap.class +java/net/ContentHandlerFactory.class +java/net/ContentHandler.class +java/net/UnknownServiceException.class +java/net/URLClassLoader$1.class +java/net/URLClassLoader$2.class +java/net/URLClassLoader$4.class +java/net/URLClassLoader$3.class +java/net/URLClassLoader$5.class +java/net/URLClassLoader$6.class +java/net/URLClassLoader$7.class +java/net/URLClassLoader.class +java/net/HttpURLConnection.class +java/net/ProtocolException.class +java/net/JarURLConnection.class +java/net/UnknownContentHandler.class +java/net/SocketPermissionCollection.class +java/net/FactoryURLClassLoader.class +java/net/URLEncoder.class +java/net/Authenticator.class +java/net/PasswordAuthentication.class +java/net/SocketOptions.class +java/net/SocketException.class +java/net/ServerSocket.class +java/net/SocketImpl.class +java/net/Socket$1.class +java/net/Socket$2.class +java/net/Socket.class +java/net/SocketImplFactory.class +java/net/SocketInputStream.class +java/net/SocketOutputStream.class +java/net/DatagramSocket.class +java/net/DatagramSocketImpl.class +java/net/DatagramPacket.class +java/net/DatagramSocketImplFactory.class +java/net/PlainDatagramSocketImpl.class +java/net/MulticastSocket.class +java/net/BindException.class +java/net/ConnectException.class +java/net/NoRouteToHostException.class +java/net/PlainSocketImpl.class +java/net/URLDecoder.class +java/security/ +java/security/BasicPermission.class +java/security/Permission.class +java/security/Guard.class +java/security/BasicPermissionCollection.class +java/security/PermissionCollection.class +java/security/ProtectionDomain.class +java/security/cert/ +java/security/cert/Certificate$CertificateRep.class +java/security/cert/Certificate.class +java/security/cert/CertificateEncodingException.class +java/security/cert/CertificateException.class +java/security/cert/CertificateFactory$1.class +java/security/cert/CertificateFactory.class +java/security/cert/CertificateFactorySpi.class +java/security/cert/CRL.class +java/security/cert/CRLException.class +java/security/cert/X509Certificate.class +java/security/cert/X509Extension.class +java/security/cert/X509CRL.class +java/security/cert/CertificateExpiredException.class +java/security/cert/CertificateNotYetValidException.class +java/security/cert/X509CRLEntry.class +java/security/cert/CertificateParsingException.class +java/security/CodeSource.class +java/security/GeneralSecurityException.class +java/security/PublicKey.class +java/security/Key.class +java/security/NoSuchAlgorithmException.class +java/security/InvalidKeyException.class +java/security/KeyException.class +java/security/NoSuchProviderException.class +java/security/SignatureException.class +java/security/AllPermission.class +java/security/AllPermissionCollection$1.class +java/security/AllPermissionCollection.class +java/security/AccessControlContext$1.class +java/security/AccessControlContext.class +java/security/DomainCombiner.class +java/security/AccessControlException.class +java/security/PrivilegedAction.class +java/security/AccessController.class +java/security/PrivilegedExceptionAction.class +java/security/PrivilegedActionException.class +java/security/Permissions.class +java/security/PermissionsEnumerator.class +java/security/PermissionsHash.class +java/security/SecureClassLoader.class +java/security/Policy$1.class +java/security/Policy.class +java/security/MessageDigest$Delegate.class +java/security/MessageDigest.class +java/security/MessageDigestSpi.class +java/security/Provider.class +java/security/DigestException.class +java/security/Security$ProviderProperty.class +java/security/Security$1.class +java/security/Security$2.class +java/security/Security$3.class +java/security/Security.class +java/security/SecurityPermission.class +java/security/DigestOutputStream.class +java/security/UnresolvedPermissionCollection.class +java/security/UnresolvedPermission.class +java/security/KeyStore$1.class +java/security/KeyStore.class +java/security/IdentityScope$1.class +java/security/IdentityScope.class +java/security/Identity.class +java/security/Principal.class +java/security/KeyStoreSpi.class +java/security/KeyStoreException.class +java/security/UnrecoverableKeyException.class +java/security/KeyManagementException.class +java/security/Certificate.class +java/security/AlgorithmParameters.class +java/security/AlgorithmParametersSpi.class +java/security/spec/ +java/security/spec/AlgorithmParameterSpec.class +java/security/spec/InvalidParameterSpecException.class +java/security/spec/X509EncodedKeySpec.class +java/security/spec/EncodedKeySpec.class +java/security/spec/KeySpec.class +java/security/spec/InvalidKeySpecException.class +java/security/spec/DSAParameterSpec.class +java/security/spec/DSAPrivateKeySpec.class +java/security/spec/DSAPublicKeySpec.class +java/security/spec/RSAKeyGenParameterSpec.class +java/security/spec/RSAPublicKeySpec.class +java/security/spec/RSAPrivateKeySpec.class +java/security/spec/RSAPrivateCrtKeySpec.class +java/security/spec/PKCS8EncodedKeySpec.class +java/security/InvalidParameterException.class +java/security/Signer$1.class +java/security/Signer.class +java/security/KeyPair.class +java/security/PrivateKey.class +java/security/Signature$Delegate.class +java/security/Signature.class +java/security/SignatureSpi.class +java/security/SecureRandom.class +java/security/InvalidAlgorithmParameterException.class +java/security/SecureRandomSpi.class +java/security/KeyFactory.class +java/security/KeyFactorySpi.class +java/security/AlgorithmParameterGeneratorSpi.class +java/security/AlgorithmParameterGenerator.class +java/security/DigestInputStream.class +java/security/GuardedObject.class +java/security/KeyPairGeneratorSpi.class +java/security/KeyPairGenerator$Delegate.class +java/security/KeyPairGenerator.class +java/security/ProviderException.class +java/security/SignedObject.class +java/util/ +java/util/Comparator.class +java/util/Locale.class +java/util/Hashtable$KeySet.class +java/util/Hashtable$EntrySet.class +java/util/Hashtable$ValueCollection.class +java/util/Hashtable$Entry.class +java/util/Hashtable$Enumerator.class +java/util/Hashtable$EmptyEnumerator.class +java/util/Hashtable$EmptyIterator.class +java/util/Hashtable$1.class +java/util/Hashtable.class +java/util/Dictionary.class +java/util/Map$Entry.class +java/util/Map.class +java/util/Vector$1.class +java/util/Vector.class +java/util/AbstractList$Itr.class +java/util/AbstractList$ListItr.class +java/util/AbstractList$1.class +java/util/AbstractList.class +java/util/AbstractCollection.class +java/util/Collection.class +java/util/List.class +java/util/Iterator.class +java/util/ListIterator.class +java/util/SubList$1.class +java/util/SubList.class +java/util/Set.class +java/util/HashMap$1.class +java/util/HashMap$2.class +java/util/HashMap$3.class +java/util/HashMap$Entry.class +java/util/HashMap$EmptyHashIterator.class +java/util/HashMap$HashIterator.class +java/util/HashMap.class +java/util/AbstractMap$2.class +java/util/AbstractMap$1.class +java/util/AbstractMap$4.class +java/util/AbstractMap$3.class +java/util/AbstractMap.class +java/util/Enumeration.class +java/util/Stack.class +java/util/jar/ +java/util/jar/Manifest$FastInputStream.class +java/util/jar/Manifest.class +java/util/jar/Attributes$Name.class +java/util/jar/Attributes.class +java/util/jar/JarInputStream.class +java/util/jar/JarEntry.class +java/util/jar/JarVerifier$VerifierStream.class +java/util/jar/JarVerifier.class +java/util/jar/JarException.class +java/util/jar/JarFile$1.class +java/util/jar/JarFile$JarFileEntry.class +java/util/jar/JarFile.class +java/util/jar/JarOutputStream.class +java/util/ArrayList.class +java/util/MissingResourceException.class +java/util/ResourceBundle$ResourceCacheKey.class +java/util/ResourceBundle$1.class +java/util/ResourceBundle.class +java/util/Properties.class +java/util/Random.class +java/util/HashSet.class +java/util/AbstractSet.class +java/util/StringTokenizer.class +java/util/zip/ +java/util/zip/ZipInputStream.class +java/util/zip/InflaterInputStream.class +java/util/zip/ZipConstants.class +java/util/zip/ZipEntry.class +java/util/zip/CRC32.class +java/util/zip/Checksum.class +java/util/zip/Inflater.class +java/util/zip/ZipException.class +java/util/zip/DataFormatException.class +java/util/zip/ZipFile$1.class +java/util/zip/ZipFile$2.class +java/util/zip/ZipFile$ZipFileInputStream.class +java/util/zip/ZipFile.class +java/util/zip/Adler32.class +java/util/zip/CheckedInputStream.class +java/util/zip/CheckedOutputStream.class +java/util/zip/Deflater.class +java/util/zip/DeflaterOutputStream.class +java/util/zip/GZIPInputStream.class +java/util/zip/GZIPOutputStream.class +java/util/zip/ZipOutputStream.class +java/util/NoSuchElementException.class +java/util/Collections$1.class +java/util/Collections$UnmodifiableCollection.class +java/util/Collections$UnmodifiableSet.class +java/util/Collections$UnmodifiableSortedSet.class +java/util/Collections$2.class +java/util/Collections$UnmodifiableList.class +java/util/Collections$3.class +java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry.class +java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet.class +java/util/Collections$UnmodifiableMap.class +java/util/Collections$UnmodifiableSortedMap.class +java/util/Collections$SynchronizedCollection.class +java/util/Collections$SynchronizedSet.class +java/util/Collections$SynchronizedSortedSet.class +java/util/Collections$SynchronizedList.class +java/util/Collections$SynchronizedMap.class +java/util/Collections$SynchronizedSortedMap.class +java/util/Collections$4.class +java/util/Collections$EmptySet.class +java/util/Collections$EmptyList.class +java/util/Collections$EmptyMap.class +java/util/Collections$5.class +java/util/Collections$SingletonSet.class +java/util/Collections$SingletonList.class +java/util/Collections$SingletonMap$ImmutableEntry.class +java/util/Collections$SingletonMap.class +java/util/Collections$CopiesList.class +java/util/Collections$ReverseComparator.class +java/util/Collections$6.class +java/util/Collections.class +java/util/SortedSet.class +java/util/SortedMap.class +java/util/PropertyPermission.class +java/util/ConcurrentModificationException.class +java/util/EmptyStackException.class +java/util/LinkedList$ListItr.class +java/util/LinkedList$Entry.class +java/util/LinkedList.class +java/util/AbstractSequentialList.class +java/util/Date.class +java/util/Calendar.class +java/util/TimeZone$1.class +java/util/TimeZone.class +java/util/SimpleTimeZone.class +java/util/GregorianCalendar.class +java/util/Arrays$ArrayList.class +java/util/Arrays.class +java/util/PropertyResourceBundle$1.class +java/util/PropertyResourceBundle.class +java/util/PropertyPermissionCollection.class +java/util/TimeZoneData.class +java/util/WeakHashMap$WeakKey.class +java/util/WeakHashMap$Entry.class +java/util/WeakHashMap$1.class +java/util/WeakHashMap$EntrySet.class +java/util/WeakHashMap.class +java/util/BitSet.class +java/util/EventListener.class +java/util/EventObject.class +java/util/ListResourceBundle$1.class +java/util/ListResourceBundle.class +java/util/Observable.class +java/util/Observer.class +java/util/TooManyListenersException.class +java/util/TreeSet.class +java/util/TreeMap$1.class +java/util/TreeMap$2.class +java/util/TreeMap$3.class +java/util/TreeMap$SubMap$EntrySetView.class +java/util/TreeMap$SubMap.class +java/util/TreeMap$Iterator.class +java/util/TreeMap$Entry.class +java/util/TreeMap.class +java/util/Timer$1.class +java/util/Timer.class +java/util/TaskQueue.class +java/util/TimerThread.class +java/util/TimerTask.class +java/text/ +java/text/MessageFormat.class +java/text/Format.class +java/text/FieldPosition.class +java/text/ParsePosition.class +java/text/ParseException.class +java/text/NumberFormat.class +java/text/resources/ +java/text/resources/LocaleData$1.class +java/text/resources/LocaleData.class +java/text/resources/DateFormatZoneData$1.class +java/text/resources/DateFormatZoneData.class +java/text/resources/DateFormatZoneData_en.class +java/text/resources/LocaleElements.class +java/text/resources/LocaleElements_en.class +java/text/resources/LocaleElements_en_US.class +java/text/DecimalFormat.class +java/text/DecimalFormatSymbols.class +java/text/DigitList.class +java/text/SimpleDateFormat.class +java/text/DateFormat.class +java/text/DateFormatSymbols.class +java/text/ChoiceFormat.class +java/text/Utility.class +java/text/Collator.class +java/text/CollationKey.class +java/text/RuleBasedCollator.class +java/text/CollationElementIterator.class +java/text/CharacterIterator.class +java/text/RBCollationTables$BuildAPI.class +java/text/RBCollationTables$1.class +java/text/RBCollationTables.class +java/text/Normalizer$DecompIterator.class +java/text/Normalizer.class +java/text/CompactIntArray.class +java/text/IntHashtable.class +java/text/CompactShortArray$Iterator.class +java/text/CompactShortArray.class +java/text/CompactByteArray.class +java/text/CollationRules.class +java/text/EntryPair.class +java/text/RBTableBuilder.class +java/text/MergeCollation.class +java/text/PatternEntry$Parser.class +java/text/PatternEntry.class +java/text/StringCharacterIterator.class +java/text/Annotation.class +java/text/AttributedCharacterIterator$Attribute.class +java/text/AttributedCharacterIterator.class +java/text/AttributedString$AttributedStringIterator.class +java/text/AttributedString$AttributeMap.class +java/text/AttributedString.class +java/text/AttributeEntry.class +java/text/CharacterBreakData.class +java/text/TextBoundaryData.class +java/text/WordBreakTable.class +java/text/SpecialMapping.class +java/text/UnicodeClassMapping.class +java/text/CompactCharArray.class +java/text/CompactStringArray.class +java/text/LineBreakData.class +java/text/SentenceBreakData.class +java/text/SimpleTextBoundary.class +java/text/BreakIterator.class +java/text/WordBreakData.class +java/math/ +java/math/BigInteger.class +java/math/MutableBigInteger.class +java/math/BitSieve.class +java/math/SignedMutableBigInteger.class +java/math/BigDecimal.class +sun/io/ +sun/io/ByteToCharConverter.class +sun/io/CharToByteConverter.class +sun/io/MalformedInputException.class +sun/io/UnknownCharacterException.class +sun/io/ConversionBufferFullException.class +sun/io/Converters.class +sun/io/CharacterEncoding$1.class +sun/io/CharacterEncoding.class +sun/io/ByteToCharASCII.class +sun/io/ByteToCharUTF8.class +sun/io/ByteToCharUTF16.class +sun/io/ByteToCharUnicode.class +sun/io/ByteToCharUnicodeBig.class +sun/io/ByteToCharUnicodeBigUnmarked.class +sun/io/ByteToCharUnicodeLittle.class +sun/io/ByteToCharUnicodeLittleUnmarked.class +sun/io/CharToByteASCII.class +sun/io/CharToByteUTF8.class +sun/io/CharToByteUTF16.class +sun/io/CharToByteUnicode.class +sun/io/CharToByteUnicodeBig.class +sun/io/CharToByteUnicodeBigUnmarked.class +sun/io/CharToByteUnicodeLittle.class +sun/io/CharToByteUnicodeLittleUnmarked.class +sun/io/ByteToCharISO8859_1.class +sun/io/CharToByteISO8859_1.class +sun/io/ByteToCharCp1252.class +sun/io/ByteToCharSingleByte.class +sun/io/CharToByteCp1252.class +sun/io/CharToByteSingleByte.class +sun/misc/ +sun/misc/URLClassPath$1.class +sun/misc/URLClassPath$2.class +sun/misc/URLClassPath$3.class +sun/misc/URLClassPath$Loader.class +sun/misc/URLClassPath$4.class +sun/misc/URLClassPath$5.class +sun/misc/URLClassPath$JarLoader.class +sun/misc/URLClassPath$6.class +sun/misc/URLClassPath$FileLoader.class +sun/misc/URLClassPath.class +sun/misc/Resource.class +sun/misc/SoftCache$ValueCell.class +sun/misc/SoftCache$Entry.class +sun/misc/SoftCache$1.class +sun/misc/SoftCache$EntrySet.class +sun/misc/SoftCache.class +sun/misc/VM.class +sun/misc/VMNotification.class +sun/misc/CompoundEnumeration.class +sun/misc/Launcher$1.class +sun/misc/Launcher$2.class +sun/misc/Launcher$ExtClassLoader.class +sun/misc/Launcher$3.class +sun/misc/Launcher$AppClassLoader.class +sun/misc/Launcher$4.class +sun/misc/Launcher$Factory.class +sun/misc/Launcher.class +sun/misc/PathPermissions$1.class +sun/misc/PathPermissions.class +sun/misc/BASE64Decoder.class +sun/misc/CharacterDecoder.class +sun/misc/JarIndex.class +sun/misc/InvalidJarIndexException.class +sun/misc/ExtensionDependency$1.class +sun/misc/ExtensionDependency$2.class +sun/misc/ExtensionDependency$3.class +sun/misc/ExtensionDependency.class +sun/misc/ExtensionInstallationProvider.class +sun/misc/ExtensionInstallationException.class +sun/misc/ExtensionInfo.class +sun/misc/Version.class +sun/misc/CEStreamExhausted.class +sun/misc/CEFormatException.class +sun/misc/ProxyGenerator$1.class +sun/misc/ProxyGenerator$FieldInfo.class +sun/misc/ProxyGenerator$ExceptionTableEntry.class +sun/misc/ProxyGenerator$MethodInfo.class +sun/misc/ProxyGenerator$ProxyMethod.class +sun/misc/ProxyGenerator$PrimitiveTypeInfo.class +sun/misc/ProxyGenerator$ConstantPool$Entry.class +sun/misc/ProxyGenerator$ConstantPool$ValueEntry.class +sun/misc/ProxyGenerator$ConstantPool$IndirectEntry.class +sun/misc/ProxyGenerator$ConstantPool.class +sun/misc/ProxyGenerator.class +sun/misc/SignalHandler.class +sun/misc/Signal$1.class +sun/misc/Signal.class +sun/misc/HexDumpEncoder.class +sun/misc/CharacterEncoder.class +sun/misc/NativeSignalHandler.class +sun/misc/MessageUtils.class +sun/misc/GC$LatencyLock.class +sun/misc/GC$1.class +sun/misc/GC$Daemon.class +sun/misc/GC$LatencyRequest.class +sun/misc/GC.class +sun/misc/Service$LazyIterator.class +sun/misc/Service$1.class +sun/misc/Service.class +sun/misc/ServiceConfigurationError.class +sun/misc/Ref.class +sun/misc/BASE64Encoder.class +sun/misc/CacheEntry.class +sun/misc/Cache.class +sun/misc/CacheEnumerator.class +sun/misc/CRC16.class +sun/misc/UCDecoder.class +sun/misc/UUDecoder.class +sun/misc/UCEncoder.class +sun/misc/UUEncoder.class +sun/misc/Compare.class +sun/misc/Timeable.class +sun/misc/Timer.class +sun/misc/TimerThread.class +sun/misc/TimerTickThread.class +sun/misc/ConditionLock.class +sun/misc/Lock.class +sun/misc/Regexp.class +sun/misc/RegexpPool.class +sun/misc/RegexpNode.class +sun/misc/REException.class +sun/misc/RegexpTarget.class +sun/misc/Request.class +sun/misc/RequestProcessor.class +sun/misc/Queue.class +sun/misc/QueueElement.class +sun/misc/FIFOQueueEnumerator.class +sun/misc/LIFOQueueEnumerator.class +sun/misc/Sort.class +sun/security/ +sun/security/util/ +sun/security/util/Debug.class +sun/security/util/ManifestEntryVerifier.class +sun/security/util/ManifestDigester$Position.class +sun/security/util/ManifestDigester$Entry.class +sun/security/util/ManifestDigester.class +sun/security/util/PropertyExpander$ExpandException.class +sun/security/util/PropertyExpander.class +sun/security/util/SignatureFileVerifier.class +sun/security/util/DerEncoder.class +sun/security/util/ObjectIdentifier.class +sun/security/util/BigInt.class +sun/security/util/DerInputStream.class +sun/security/util/DerValue.class +sun/security/util/DerOutputStream.class +sun/security/util/DerInputBuffer.class +sun/security/util/BitArray.class +sun/security/util/ByteArrayLexOrder.class +sun/security/util/ByteArrayTagOrder.class +sun/security/util/DerIndefLenConverter.class +sun/security/util/SignatureFile$Block.class +sun/security/util/SignatureFile.class +sun/security/action/ +sun/security/action/GetPropertyAction.class +sun/security/action/LoadLibraryAction.class +sun/security/action/GetBooleanAction.class +sun/security/action/GetIntegerAction.class +sun/security/action/GetLongAction.class +sun/security/provider/ +sun/security/provider/PolicyFile$1.class +sun/security/provider/PolicyFile$2.class +sun/security/provider/PolicyFile$3.class +sun/security/provider/PolicyFile$4.class +sun/security/provider/PolicyFile$5.class +sun/security/provider/PolicyFile$PolicyEntry.class +sun/security/provider/PolicyFile.class +sun/security/provider/PolicyParser$GrantEntry.class +sun/security/provider/PolicyParser$PermissionEntry.class +sun/security/provider/PolicyParser$ParsingException.class +sun/security/provider/PolicyParser.class +sun/security/provider/PolicyPermissions.class +sun/security/provider/IdentityDatabase$1.class +sun/security/provider/IdentityDatabase.class +sun/security/provider/SystemIdentity.class +sun/security/provider/SystemSigner.class +sun/security/provider/SecureRandom.class +sun/security/provider/Sun$1.class +sun/security/provider/Sun.class +sun/security/provider/SeedGenerator$1.class +sun/security/provider/SeedGenerator$2.class +sun/security/provider/SeedGenerator$BogusThread.class +sun/security/provider/SeedGenerator.class +sun/security/provider/DSA.class +sun/security/provider/DSAKeyFactory.class +sun/security/provider/DSAKeyPairGenerator.class +sun/security/provider/DSAParameterGenerator.class +sun/security/provider/SHA.class +sun/security/provider/DSAParameters.class +sun/security/provider/DSAPrivateKey.class +sun/security/provider/DSAPublicKey.class +sun/security/provider/MD5.class +sun/security/provider/JavaKeyStore$KeyEntry.class +sun/security/provider/JavaKeyStore$TrustedCertEntry.class +sun/security/provider/JavaKeyStore.class +sun/security/provider/KeyProtector.class +sun/security/provider/X509Factory.class +sun/security/pkcs/ +sun/security/pkcs/PKCS7.class +sun/security/pkcs/SignerInfo.class +sun/security/pkcs/ContentInfo.class +sun/security/pkcs/ParsingException.class +sun/security/pkcs/PKCS9Attributes.class +sun/security/pkcs/PKCS9Attribute.class +sun/security/pkcs/PKCS10.class +sun/security/pkcs/PKCS10Attributes.class +sun/security/pkcs/PKCS10Attribute.class +sun/security/pkcs/PKCS8Key.class +sun/security/pkcs/EncryptedPrivateKeyInfo.class +sun/security/pkcs/EncodingException.class +sun/security/x509/ +sun/security/x509/AlgorithmId.class +sun/security/x509/X500Name.class +sun/security/x509/GeneralNameInterface.class +sun/security/x509/RDN.class +sun/security/x509/AVA.class +sun/security/x509/X509CertImpl.class +sun/security/x509/X509CertInfo.class +sun/security/x509/CertAttrSet.class +sun/security/x509/CertificateVersion.class +sun/security/x509/CertificateSerialNumber.class +sun/security/x509/CertificateAlgorithmId.class +sun/security/x509/CertificateIssuerName.class +sun/security/x509/CertificateValidity.class +sun/security/x509/CertificateSubjectName.class +sun/security/x509/CertificateX509Key.class +sun/security/x509/CertificateIssuerUniqueIdentity.class +sun/security/x509/CertificateSubjectUniqueIdentity.class +sun/security/x509/CertificateExtensions.class +sun/security/x509/SerialNumber.class +sun/security/x509/UniqueIdentity.class +sun/security/x509/Extension.class +sun/security/x509/X509CRLImpl.class +sun/security/x509/CRLExtensions.class +sun/security/x509/PKIXExtensions.class +sun/security/x509/KeyUsageExtension.class +sun/security/x509/X509AttributeName.class +sun/security/x509/AttributeNameEnumeration.class +sun/security/x509/OIDMap$1.class +sun/security/x509/OIDMap.class +sun/security/x509/BasicConstraintsExtension.class +sun/security/x509/X509Key.class +sun/security/x509/X509CRLEntryImpl.class +sun/security/x509/AuthorityKeyIdentifierExtension.class +sun/security/x509/KeyIdentifier.class +sun/security/x509/GeneralNames.class +sun/security/x509/GeneralNamesException.class +sun/security/x509/SubjectKeyIdentifierExtension.class +sun/security/x509/PrivateKeyUsageExtension.class +sun/security/x509/PolicyMappingsExtension.class +sun/security/x509/SubjectAlternativeNameExtension.class +sun/security/x509/IssuerAlternativeNameExtension.class +sun/security/x509/NameConstraintsExtension.class +sun/security/x509/GeneralSubtrees.class +sun/security/x509/PolicyConstraintsExtension.class +sun/security/x509/CRLNumberExtension.class +sun/security/x509/CRLReasonCodeExtension.class +sun/security/x509/NetscapeCertTypeExtension$MapEntry.class +sun/security/x509/NetscapeCertTypeExtension.class +sun/security/x509/GeneralName.class +sun/security/x509/CertificatePolicyMap.class +sun/security/x509/CertificatePolicyId.class +sun/security/x509/GeneralSubtree.class +sun/security/x509/OtherName.class +sun/security/x509/RFC822Name.class +sun/security/x509/DNSName.class +sun/security/x509/URIName.class +sun/security/x509/IPAddressName.class +sun/security/x509/OIDName.class +sun/security/x509/EDIPartyName.class +sun/security/x509/AlgIdDSA.class +sun/security/x509/CertAndKeyGen.class +sun/security/x509/X509Cert.class +sun/security/x509/X500Signer.class +sun/security/x509/CertException.class +sun/security/x509/CertParseError.class +sun/security/x509/CertificatePolicySet.class +sun/security/x509/ReasonFlags.class +sun/net/ +sun/net/InetAddressCachePolicy.class +sun/net/www/ +sun/net/www/MimeTable$1.class +sun/net/www/MimeTable$2.class +sun/net/www/MimeTable.class +sun/net/www/MimeEntry.class +sun/net/www/ApplicationLaunchException.class +sun/net/www/URLConnection.class +sun/net/www/MessageHeader.class +sun/net/www/MimeLauncher.class +sun/net/www/protocol/ +sun/net/www/protocol/jar/ +sun/net/www/protocol/jar/Handler.class +sun/net/www/protocol/jar/JarURLConnection.class +sun/net/www/protocol/jar/JarFileFactory.class +sun/net/www/protocol/jar/URLJarFile$1.class +sun/net/www/protocol/jar/URLJarFile$URLJarFileEntry.class +sun/net/www/protocol/jar/URLJarFile.class +sun/net/www/protocol/file/ +sun/net/www/protocol/file/Handler.class +sun/net/www/protocol/file/FileURLConnection.class +sun/net/www/protocol/http/ +sun/net/www/protocol/http/Handler.class +sun/net/www/protocol/http/HttpURLConnection$1.class +sun/net/www/protocol/http/HttpURLConnection$2.class +sun/net/www/protocol/http/HttpURLConnection.class +sun/net/www/protocol/http/HttpAuthenticator.class +sun/net/www/protocol/http/AuthenticationInfo.class +sun/net/www/protocol/http/EmptyInputStream.class +sun/net/www/protocol/http/BasicAuthentication.class +sun/net/www/protocol/http/DigestAuthentication.class +sun/net/www/protocol/doc/ +sun/net/www/protocol/doc/Handler.class +sun/net/www/protocol/doc/DocURLConnection.class +sun/net/www/protocol/netdoc/ +sun/net/www/protocol/netdoc/Handler.class +sun/net/www/protocol/verbatim/ +sun/net/www/protocol/verbatim/Handler.class +sun/net/www/protocol/verbatim/VerbatimConnection.class +sun/net/www/protocol/ftp/ +sun/net/www/protocol/ftp/Handler.class +sun/net/www/protocol/ftp/FtpURLConnection.class +sun/net/www/protocol/ftp/FtpDirectoryThread.class +sun/net/www/protocol/gopher/ +sun/net/www/protocol/gopher/GopherClient.class +sun/net/www/protocol/gopher/GopherInputStream.class +sun/net/www/protocol/gopher/Handler.class +sun/net/www/protocol/gopher/GopherURLConnection.class +sun/net/www/protocol/mailto/ +sun/net/www/protocol/mailto/Handler.class +sun/net/www/protocol/mailto/MailToURLConnection.class +sun/net/www/protocol/systemresource/ +sun/net/www/protocol/systemresource/Handler.class +sun/net/www/protocol/systemresource/SystemResourceURLConnection.class +sun/net/www/ParseUtil.class +sun/net/www/content/ +sun/net/www/content/text/ +sun/net/www/content/text/Generic.class +sun/net/www/content/text/plain.class +sun/net/www/content/text/PlainTextInputStream.class +sun/net/www/content/image/ +sun/net/www/content/image/gif.class +sun/net/www/content/image/jpeg.class +sun/net/www/content/image/x_xbitmap.class +sun/net/www/content/image/x_xpixmap.class +sun/net/www/content/image/png.class +sun/net/www/content/audio/ +sun/net/www/content/audio/aiff.class +sun/net/www/content/audio/basic.class +sun/net/www/content/audio/wav.class +sun/net/www/content/audio/x_aiff.class +sun/net/www/content/audio/x_wav.class +sun/net/www/HeaderParser.class +sun/net/www/MeteredStream.class +sun/net/www/http/ +sun/net/www/http/HttpClient$1.class +sun/net/www/http/HttpClient$2.class +sun/net/www/http/HttpClient$3.class +sun/net/www/http/HttpClient$4.class +sun/net/www/http/HttpClient.class +sun/net/www/http/KeepAliveStream.class +sun/net/www/http/KeepAliveCache$1.class +sun/net/www/http/KeepAliveCache.class +sun/net/www/http/KeepAliveKey.class +sun/net/www/http/ChunkedInputStream.class +sun/net/www/http/ClientVector.class diff --git a/devel/jdk/1.3/files/tools_jar_class_list b/devel/jdk/1.3/files/tools_jar_class_list new file mode 100644 index 00000000000..5b0155fe9bc --- /dev/null +++ b/devel/jdk/1.3/files/tools_jar_class_list @@ -0,0 +1,157 @@ +com/sun/tools/javac/ +com/sun/tools/javac/Main.class +com/sun/tools/javac/v8/ +com/sun/tools/javac/v8/CommandLine.class +com/sun/tools/javac/v8/util/ +com/sun/tools/javac/v8/util/ListBuffer$Enumerator.class +com/sun/tools/javac/v8/util/ListBuffer.class +com/sun/tools/javac/v8/util/List.class +com/sun/tools/javac/v8/util/Enumeration.class +com/sun/tools/javac/v8/util/Log.class +com/sun/tools/javac/v8/util/LayoutCharacters.class +com/sun/tools/javac/v8/util/Hashtable$Entry.class +com/sun/tools/javac/v8/util/Hashtable.class +com/sun/tools/javac/v8/util/Set$Entry.class +com/sun/tools/javac/v8/util/Set.class +com/sun/tools/javac/v8/util/Name.class +com/sun/tools/javac/v8/util/FileEntry$Regular.class +com/sun/tools/javac/v8/util/FileEntry$Zipped.class +com/sun/tools/javac/v8/util/FileEntry.class +com/sun/tools/javac/v8/util/ByteBuffer.class +com/sun/tools/javac/v8/util/Abort.class +com/sun/tools/javac/v8/util/Base.class +com/sun/tools/javac/v8/util/Bits.class +com/sun/tools/javac/v8/util/Convert.class +com/sun/tools/javac/v8/util/FatalError.class +com/sun/tools/javac/v8/util/Names.class +com/sun/tools/javac/v8/util/Pair.class +com/sun/tools/javac/v8/util/Position.class +com/sun/tools/javac/v8/util/Util.class +com/sun/tools/javac/v8/JavaCompiler.class +com/sun/tools/javac/v8/code/ +com/sun/tools/javac/v8/code/ClassReader$BadClassFile.class +com/sun/tools/javac/v8/code/ClassReader$Archive.class +com/sun/tools/javac/v8/code/ClassReader$SourceCompleter.class +com/sun/tools/javac/v8/code/ClassReader.class +com/sun/tools/javac/v8/code/ClassFile$NameAndType.class +com/sun/tools/javac/v8/code/ClassFile.class +com/sun/tools/javac/v8/code/Symbol$TypeSymbol.class +com/sun/tools/javac/v8/code/Symbol$PackageSymbol.class +com/sun/tools/javac/v8/code/Symbol$ClassSymbol.class +com/sun/tools/javac/v8/code/Symbol$VarSymbol.class +com/sun/tools/javac/v8/code/Symbol$MethodSymbol.class +com/sun/tools/javac/v8/code/Symbol$OperatorSymbol.class +com/sun/tools/javac/v8/code/Symbol$Completer.class +com/sun/tools/javac/v8/code/Symbol$CompletionFailure.class +com/sun/tools/javac/v8/code/Symbol.class +com/sun/tools/javac/v8/code/Flags.class +com/sun/tools/javac/v8/code/Kinds.class +com/sun/tools/javac/v8/code/TypeTags.class +com/sun/tools/javac/v8/code/ByteCodes.class +com/sun/tools/javac/v8/code/Scope$Entry.class +com/sun/tools/javac/v8/code/Scope.class +com/sun/tools/javac/v8/code/Type$ClassType.class +com/sun/tools/javac/v8/code/Type$ArrayType.class +com/sun/tools/javac/v8/code/Type$MethodType.class +com/sun/tools/javac/v8/code/Type$PackageType.class +com/sun/tools/javac/v8/code/Type$TypeVar.class +com/sun/tools/javac/v8/code/Type$ErrorType.class +com/sun/tools/javac/v8/code/Type.class +com/sun/tools/javac/v8/code/Code$Chain.class +com/sun/tools/javac/v8/code/Code.class +com/sun/tools/javac/v8/code/ClassWriter.class +com/sun/tools/javac/v8/code/Pool.class +com/sun/tools/javac/v8/code/CompleteClassReader.class +com/sun/tools/javac/v8/comp/ +com/sun/tools/javac/v8/comp/Symtab.class +com/sun/tools/javac/v8/comp/Check$Validator.class +com/sun/tools/javac/v8/comp/Check.class +com/sun/tools/javac/v8/comp/Infer.class +com/sun/tools/javac/v8/comp/Resolve$ResolveError.class +com/sun/tools/javac/v8/comp/Resolve$AccessError.class +com/sun/tools/javac/v8/comp/Resolve$StaticError.class +com/sun/tools/javac/v8/comp/Resolve$AmbiguityError.class +com/sun/tools/javac/v8/comp/Resolve.class +com/sun/tools/javac/v8/comp/Enter$MemberEnter.class +com/sun/tools/javac/v8/comp/Enter$CompleteEnter.class +com/sun/tools/javac/v8/comp/Enter.class +com/sun/tools/javac/v8/comp/Attr.class +com/sun/tools/javac/v8/comp/Gen$1.class +com/sun/tools/javac/v8/comp/Gen$2.class +com/sun/tools/javac/v8/comp/Gen$GenFinalizer.class +com/sun/tools/javac/v8/comp/Gen$GenContext.class +com/sun/tools/javac/v8/comp/Gen.class +com/sun/tools/javac/v8/comp/Env.class +com/sun/tools/javac/v8/comp/ConstFold.class +com/sun/tools/javac/v8/comp/Items$Item.class +com/sun/tools/javac/v8/comp/Items$StackItem.class +com/sun/tools/javac/v8/comp/Items$IndexedItem.class +com/sun/tools/javac/v8/comp/Items$SelfItem.class +com/sun/tools/javac/v8/comp/Items$LocalItem.class +com/sun/tools/javac/v8/comp/Items$StaticItem.class +com/sun/tools/javac/v8/comp/Items$MemberItem.class +com/sun/tools/javac/v8/comp/Items$ImmediateItem.class +com/sun/tools/javac/v8/comp/Items$AssignItem.class +com/sun/tools/javac/v8/comp/Items$CondItem.class +com/sun/tools/javac/v8/comp/Items.class +com/sun/tools/javac/v8/comp/AttrContext.class +com/sun/tools/javac/v8/comp/Flow.class +com/sun/tools/javac/v8/comp/TransInner$ClassMap.class +com/sun/tools/javac/v8/comp/TransInner$FreeVarCollector.class +com/sun/tools/javac/v8/comp/TransInner.class +com/sun/tools/javac/v8/comp/TransTypes.class +com/sun/tools/javac/v8/tree/ +com/sun/tools/javac/v8/tree/TreeMaker.class +com/sun/tools/javac/v8/tree/Tree$TopLevel.class +com/sun/tools/javac/v8/tree/Tree$Import.class +com/sun/tools/javac/v8/tree/Tree$ClassDef.class +com/sun/tools/javac/v8/tree/Tree$MethodDef.class +com/sun/tools/javac/v8/tree/Tree$VarDef.class +com/sun/tools/javac/v8/tree/Tree$Block.class +com/sun/tools/javac/v8/tree/Tree$DoLoop.class +com/sun/tools/javac/v8/tree/Tree$WhileLoop.class +com/sun/tools/javac/v8/tree/Tree$ForLoop.class +com/sun/tools/javac/v8/tree/Tree$Labelled.class +com/sun/tools/javac/v8/tree/Tree$Switch.class +com/sun/tools/javac/v8/tree/Tree$Case.class +com/sun/tools/javac/v8/tree/Tree$Synchronized.class +com/sun/tools/javac/v8/tree/Tree$Try.class +com/sun/tools/javac/v8/tree/Tree$Catch.class +com/sun/tools/javac/v8/tree/Tree$Conditional.class +com/sun/tools/javac/v8/tree/Tree$Exec.class +com/sun/tools/javac/v8/tree/Tree$Break.class +com/sun/tools/javac/v8/tree/Tree$Continue.class +com/sun/tools/javac/v8/tree/Tree$Return.class +com/sun/tools/javac/v8/tree/Tree$Throw.class +com/sun/tools/javac/v8/tree/Tree$Apply.class +com/sun/tools/javac/v8/tree/Tree$NewClass.class +com/sun/tools/javac/v8/tree/Tree$NewArray.class +com/sun/tools/javac/v8/tree/Tree$Assign.class +com/sun/tools/javac/v8/tree/Tree$Assignop.class +com/sun/tools/javac/v8/tree/Tree$Operation.class +com/sun/tools/javac/v8/tree/Tree$TypeCast.class +com/sun/tools/javac/v8/tree/Tree$TypeTest.class +com/sun/tools/javac/v8/tree/Tree$Indexed.class +com/sun/tools/javac/v8/tree/Tree$Select.class +com/sun/tools/javac/v8/tree/Tree$Ident.class +com/sun/tools/javac/v8/tree/Tree$Literal.class +com/sun/tools/javac/v8/tree/Tree$TypeIdent.class +com/sun/tools/javac/v8/tree/Tree$TypeArray.class +com/sun/tools/javac/v8/tree/Tree$TypeParameter.class +com/sun/tools/javac/v8/tree/Tree$Erroneous.class +com/sun/tools/javac/v8/tree/Tree$Factory.class +com/sun/tools/javac/v8/tree/Tree$Visitor.class +com/sun/tools/javac/v8/tree/Tree.class +com/sun/tools/javac/v8/tree/Pretty.class +com/sun/tools/javac/v8/tree/TreeInfo.class +com/sun/tools/javac/v8/tree/TreeTranslator.class +com/sun/tools/javac/v8/Main.class +com/sun/tools/javac/v8/parser/ +com/sun/tools/javac/v8/parser/Parser.class +com/sun/tools/javac/v8/parser/Tokens.class +com/sun/tools/javac/v8/parser/Scanner.class +com/sun/tools/javac/v8/resources/ +com/sun/tools/javac/v8/resources/compiler.properties +com/sun/tools/javac/v8/resources/javac.properties +com/sun/tools/javac/v8/resources/compiler_ja.properties +com/sun/tools/javac/v8/resources/javac_ja.properties diff --git a/devel/jdk/1.3/patches/pack-patch-j2sdk1_3_1_build_bsd-powerpc_tmp_java_java_lang_jvm_CClassHeaders_java_lang_Thread_h b/devel/jdk/1.3/patches/pack-patch-j2sdk1_3_1_build_bsd-powerpc_tmp_java_java_lang_jvm_CClassHeaders_java_lang_Thread_h new file mode 100644 index 00000000000..66cc960e5df --- /dev/null +++ b/devel/jdk/1.3/patches/pack-patch-j2sdk1_3_1_build_bsd-powerpc_tmp_java_java_lang_jvm_CClassHeaders_java_lang_Thread_h @@ -0,0 +1,19 @@ +$OpenBSD: pack-patch-j2sdk1_3_1_build_bsd-powerpc_tmp_java_java_lang_jvm_CClassHeaders_java_lang_Thread_h,v 1.1 2005/06/03 17:27:54 kurt Exp $ +--- j2sdk1.3.1/build/bsd-powerpc/tmp/java/java.lang/jvm/CClassHeaders/java_lang_Thread.h.orig Fri May 27 18:34:31 2005 ++++ j2sdk1.3.1/build/bsd-powerpc/tmp/java/java.lang/jvm/CClassHeaders/java_lang_Thread.h Fri May 27 18:34:57 2005 +@@ -11,6 +11,7 @@ struct Hjava_lang_ClassLoader; + struct Hjava_security_AccessControlContext; + struct Hjava_util_Map; + ++#pragma pack(4) + typedef struct Classjava_lang_Thread { + struct HArrayOfChar *name; + int32_t priority; +@@ -34,6 +35,7 @@ typedef struct Classjava_lang_Thread { + #undef java_lang_Thread_MAX_PRIORITY + #define java_lang_Thread_MAX_PRIORITY 10L + } Classjava_lang_Thread; ++#pragma pack() + HandleTo(java_lang_Thread); + + #ifdef __cplusplus diff --git a/devel/jdk/1.3/patches/pack-patch-j2sdk1_3_1_build_bsd-powerpc_tmp_java_java_lang_jvm_CClassHeaders_java_lang_ref_SoftReference_h b/devel/jdk/1.3/patches/pack-patch-j2sdk1_3_1_build_bsd-powerpc_tmp_java_java_lang_jvm_CClassHeaders_java_lang_ref_SoftReference_h new file mode 100644 index 00000000000..4694eda28fc --- /dev/null +++ b/devel/jdk/1.3/patches/pack-patch-j2sdk1_3_1_build_bsd-powerpc_tmp_java_java_lang_jvm_CClassHeaders_java_lang_ref_SoftReference_h @@ -0,0 +1,19 @@ +$OpenBSD: pack-patch-j2sdk1_3_1_build_bsd-powerpc_tmp_java_java_lang_jvm_CClassHeaders_java_lang_ref_SoftReference_h,v 1.1 2005/06/03 17:27:54 kurt Exp $ +--- j2sdk1.3.1/build/bsd-powerpc/tmp/java/java.lang/jvm/CClassHeaders/java_lang_ref_SoftReference.h.orig Fri May 27 18:35:16 2005 ++++ j2sdk1.3.1/build/bsd-powerpc/tmp/java/java.lang/jvm/CClassHeaders/java_lang_ref_SoftReference.h Fri May 27 18:35:35 2005 +@@ -8,6 +8,7 @@ struct Hjava_lang_Object; + struct Hjava_lang_ref_ReferenceQueue; + struct Hjava_lang_ref_Reference; + ++#pragma pack(4) + typedef struct Classjava_lang_ref_SoftReference { + struct Hjava_lang_Object *referent; + struct Hjava_lang_ref_ReferenceQueue *queue; +@@ -17,6 +18,7 @@ typedef struct Classjava_lang_ref_SoftRe + /* Inaccessible static: clock */ + int64_t timestamp; + } Classjava_lang_ref_SoftReference; ++#pragma pack() + HandleTo(java_lang_ref_SoftReference); + + #ifdef __cplusplus diff --git a/devel/jdk/1.3/patches/patch-bin_bootscript b/devel/jdk/1.3/patches/patch-bin_bootscript new file mode 100644 index 00000000000..8c5b50d37ac --- /dev/null +++ b/devel/jdk/1.3/patches/patch-bin_bootscript @@ -0,0 +1,14 @@ +$OpenBSD: patch-bin_bootscript,v 1.1 2005/06/03 17:27:54 kurt Exp $ +--- bin/bootscript.orig Wed Nov 3 10:15:11 2004 ++++ bin/bootscript Wed Nov 3 10:15:04 2004 +@@ -0,0 +1,10 @@ ++#!/bin/sh ++ ++# this makes sure the sanity check passes ++case $1 in ++ -version) ++ echo 'java version "1.3.1"' ++ ;; ++esac; ++ ++exit 0 diff --git a/devel/jdk/1.3/patches/patch-j2sdk1_3_1_ext_plugin_build_solaris_GNUmakefile b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_ext_plugin_build_solaris_GNUmakefile deleted file mode 100644 index e0e34e9b27f..00000000000 --- a/devel/jdk/1.3/patches/patch-j2sdk1_3_1_ext_plugin_build_solaris_GNUmakefile +++ /dev/null @@ -1,36 +0,0 @@ -$OpenBSD: patch-j2sdk1_3_1_ext_plugin_build_solaris_GNUmakefile,v 1.1.1.1 2004/01/29 22:02:20 pvalchev Exp $ ---- j2sdk1.3.1/ext/plugin/build/solaris/GNUmakefile.orig 2004-01-08 20:10:46.000000000 -0500 -+++ j2sdk1.3.1/ext/plugin/build/solaris/GNUmakefile 2004-01-08 22:33:03.000000000 -0500 -@@ -358,9 +358,10 @@ CLASSPATH= $(CLASSDIR):$(JAVASRCDIR) - SHARE_INCLUDE = ../../../../src/share/javavm/export - SOLARIS_INCLUDE = ../../../../src/solaris/javavm/export - AWT_INCLUDE = ../../../../src/solaris/native/sun/awt -+NSPR_INCLUDE = $(LOCALBASE)/include/nspr - - INCLUDES4= \ -- -I$(MOZ_HDRS)/solaris/navig4/nspr \ -+ -I$(NSPR_INCLUDE) \ - -I$(MOZ_HDRS)/solaris/navig4/xpcom -I$(MOZ_HDRS)/solaris/navig4/caps \ - -I$(MOZ_HDRS)/solaris/navig4/js -I$(MOZ_HDRS)/solaris/navig4/raptor \ - -I$(CCLASSHEADERS) \ -@@ -371,7 +372,7 @@ INCLUDES4= \ - -I$(X11_INCLUDE) -I$(INTL_INCLUDE) - - INCLUDES5= \ -- -I$(CCLASSHEADERS) \ -+ -I$(NSPR_INCLUDE) -I$(CCLASSHEADERS) \ - -I$(COMMONSRCDIR) -I$(NAVIG5SRCDIR) \ - -I$(X11_INCLUDE) -I$(MOTIF_INCLUDE) \ - -I$(SHARE_INCLUDE) -I$(SOLARIS_INCLUDE) \ -@@ -449,7 +450,11 @@ l10n: $(L10N_MESSAGES) - - - all_java: javah_headers -+ifeq ($(findstring native,$(HPIS)), native) - all_c: $(PLUGIN) $(PLUGIN_OJI) $(JAVA_VM) $(GREEN_JAVA_VM) $(PLUGIN_JNI) -+else -+all_c: $(PLUGIN) $(PLUGIN_OJI) $(GREEN_JAVA_VM) $(PLUGIN_JNI) -+endif - - - #---------------------------------------------------------------------- diff --git a/devel/jdk/1.3/patches/patch-j2sdk1_3_1_ext_plugin_oji-plugin_src_motif_common_utils_c b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_ext_plugin_oji-plugin_src_motif_common_utils_c deleted file mode 100644 index c6c46ccf8c2..00000000000 --- a/devel/jdk/1.3/patches/patch-j2sdk1_3_1_ext_plugin_oji-plugin_src_motif_common_utils_c +++ /dev/null @@ -1,97 +0,0 @@ -$OpenBSD: patch-j2sdk1_3_1_ext_plugin_oji-plugin_src_motif_common_utils_c,v 1.2 2004/08/14 21:50:38 naddy Exp $ ---- j2sdk1.3.1/ext/plugin/oji-plugin/src/motif/common/utils.c.orig Wed Jul 14 21:56:30 2004 -+++ j2sdk1.3.1/ext/plugin/oji-plugin/src/motif/common/utils.c Wed Jul 14 22:50:55 2004 -@@ -2,7 +2,6 @@ - #include - #include - #include "Debug.h" --#include "utils.h" - #include - #ifdef SVR4 - #include -@@ -20,9 +19,15 @@ - #include - #include - #include -+#include "utils.h" - #include "plugin_defs.h" - #include "pluginversion.h" - -+#if defined(__OpenBSD__) -+#include -+#include -+#endif -+ - int tracing = 0; - - static int init_utils_called = 0; -@@ -295,6 +300,69 @@ int s_pipe(int fds[2]) { - #endif - #endif - -+#if defined(__OpenBSD__) && !defined(RTLD_DEFAULT) -+char * -+dlfname(const void *addr) -+{ -+#ifdef __ELF__ -+ int tag; -+ Elf_Dyn *dp; -+ struct link_map *lm; -+ Elf_Ehdr *ehdr; -+ Elf_Phdr *phdr; -+ char *s; -+ int i; -+ -+ lm = NULL; -+ -+ for (dp = _DYNAMIC; (tag = dp->d_tag) != 0; dp++) { -+ if (tag == DT_DEBUG) { -+ lm = ((struct r_debug *)(dp->d_un.d_ptr))->r_map; -+ } -+ } -+ -+ for (; lm != NULL; lm = lm->l_next) { -+ ehdr = (Elf_Ehdr *)lm->l_addr; -+ if (ehdr == NULL) -+ continue; -+ -+ phdr = (Elf_Phdr *)((char *)lm->l_addr + ehdr->e_phoff); -+ -+ for (i = 0; i < ehdr->e_phnum; i++) { -+ switch (phdr[i].p_type) { -+ case PT_LOAD: -+ s = (char *)phdr[i].p_vaddr + (int)lm->l_addr; -+ if (addr >= s && addr < s + phdr[i].p_memsz) -+ return (char *)lm->l_name; -+ break; -+ default: -+ break; -+ } -+ } -+ } -+ -+ return NULL; -+#else -+ struct so_map *so_map; -+ -+ so_map = (struct so_map *)dlopen(0, RTLD_LAZY); -+ for (; so_map; so_map = so_map->som_next) { -+ if (addr >= (void *) so_map->som_addr -+ && (so_map->som_next == 0 -+ || addr < (void *) so_map->som_next->som_addr)) { -+ break; -+ } -+ } -+ return so_map ? so_map->som_path : NULL; -+#endif -+} -+ -+int -+dladdr(const void *addr, Dl_info *info) -+{ -+ return((info->dli_fname = dlfname(addr)) ? 1 : 0); -+} -+#endif - - - diff --git a/devel/jdk/1.3/patches/patch-j2sdk1_3_1_ext_plugin_oji-plugin_src_motif_common_utils_h b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_ext_plugin_oji-plugin_src_motif_common_utils_h deleted file mode 100644 index 25c4623d6e1..00000000000 --- a/devel/jdk/1.3/patches/patch-j2sdk1_3_1_ext_plugin_oji-plugin_src_motif_common_utils_h +++ /dev/null @@ -1,18 +0,0 @@ -$OpenBSD: patch-j2sdk1_3_1_ext_plugin_oji-plugin_src_motif_common_utils_h,v 1.2 2004/08/14 21:50:38 naddy Exp $ ---- j2sdk1.3.1/ext/plugin/oji-plugin/src/motif/common/utils.h.orig Sun May 6 09:15:31 2001 -+++ j2sdk1.3.1/ext/plugin/oji-plugin/src/motif/common/utils.h Wed Jul 14 22:41:48 2004 -@@ -61,6 +61,14 @@ extern "C" { - void plugin_raw_formal_error(const char *msg); - /* Wrapper that does a dlsym with error checking */ - void *load_function(void* library_handle, const char* function_name); -+#if defined(__OpenBSD__) && !defined(RTLD_DEFAULT) -+ typedef struct { -+ const char *dli_fname; -+ char *_padding[3]; -+ } Dl_info; -+ -+ int dladdr(const void *, Dl_info *); -+#endif - #ifdef __cplusplus - } - #endif diff --git a/devel/jdk/1.3/patches/patch-j2sdk1_3_1_make_com_sun_javah_Makefile b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_make_com_sun_javah_Makefile new file mode 100644 index 00000000000..ed51908c381 --- /dev/null +++ b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_make_com_sun_javah_Makefile @@ -0,0 +1,12 @@ +$OpenBSD: patch-j2sdk1_3_1_make_com_sun_javah_Makefile,v 1.1 2005/06/03 17:27:54 kurt Exp $ +--- j2sdk1.3.1/make/com/sun/javah/Makefile.orig Fri May 27 17:33:35 2005 ++++ j2sdk1.3.1/make/com/sun/javah/Makefile Fri May 27 17:34:02 2005 +@@ -58,7 +58,7 @@ ifeq ($(TRUE_PLATFORM), NetBSD) + OTHER_PROPERTIES = NetBSD_i386.properties + endif + ifeq ($(TRUE_PLATFORM), OpenBSD) +-OTHER_PROPERTIES = OpenBSD_i386.properties ++OTHER_PROPERTIES = OpenBSD_i386.properties OpenBSD_powerpc.properties OpenBSD_arm.properties + endif + endif + diff --git a/devel/jdk/1.3/patches/patch-j2sdk1_3_1_make_common_Defs-bsd_gmk b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_make_common_Defs-bsd_gmk index f71ebeba690..7c1169a0066 100644 --- a/devel/jdk/1.3/patches/patch-j2sdk1_3_1_make_common_Defs-bsd_gmk +++ b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_make_common_Defs-bsd_gmk @@ -1,6 +1,28 @@ -$OpenBSD: patch-j2sdk1_3_1_make_common_Defs-bsd_gmk,v 1.1 2004/01/30 13:52:27 wilfried Exp $ ---- j2sdk1.3.1/make/common/Defs-bsd.gmk.orig 2004-01-30 00:45:41.000000000 -0500 -+++ j2sdk1.3.1/make/common/Defs-bsd.gmk 2004-01-30 00:46:37.000000000 -0500 +$OpenBSD: patch-j2sdk1_3_1_make_common_Defs-bsd_gmk,v 1.2 2005/06/03 17:27:54 kurt Exp $ +--- j2sdk1.3.1/make/common/Defs-bsd.gmk.orig Fri Apr 22 12:24:07 2005 ++++ j2sdk1.3.1/make/common/Defs-bsd.gmk Fri Apr 22 12:26:53 2005 +@@ -32,9 +32,9 @@ + AR = $(USRBIN_PATH)ar + AS = $(USRBIN_PATH)as + CAT = $(UNIXCOMMAND_PATH)cat +-CC = $(COMPILER_PATH)gcc +-CPP = $(COMPILER_PATH)gcc -E +-CXX = $(COMPILER_PATH)g++ ++CC ?= $(COMPILER_PATH)gcc ++CPP ?= $(COMPILER_PATH)gcc -E ++CXX ?= $(COMPILER_PATH)g++ + CD = cd # intrinsic unix command + CHMOD = $(UNIXCOMMAND_PATH)chmod + CMP = $(USRBIN_PATH)cmp +@@ -90,7 +90,7 @@ ZIPEXE = $(DEVTOOLS_PATH)zip + + + ifeq ($(TRUE_PLATFORM), OpenBSD) +-archExpr = $(UNAME) -m ++archExpr = arch -s + else + archExpr = $(UNAME) -p + endif @@ -413,7 +413,6 @@ ifeq ($(TRUE_PLATFORM), NetBSD) else ifeq ($(TRUE_PLATFORM), OpenBSD) diff --git a/devel/jdk/1.3/patches/patch-j2sdk1_3_1_make_common_Program_gmk b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_make_common_Program_gmk new file mode 100644 index 00000000000..488aa91a577 --- /dev/null +++ b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_make_common_Program_gmk @@ -0,0 +1,15 @@ +$OpenBSD: patch-j2sdk1_3_1_make_common_Program_gmk,v 1.1 2005/06/03 17:27:54 kurt Exp $ +--- j2sdk1.3.1/make/common/Program.gmk.orig Wed Apr 20 13:15:59 2005 ++++ j2sdk1.3.1/make/common/Program.gmk Wed Apr 20 13:16:04 2005 +@@ -56,7 +56,11 @@ else + THREADLIBS = -pthread $(LIBTHREAD) + endif + else ++ifeq ($(TRUE_PLATFORM), OpenBSD) ++THREADLIBS = -pthread $(LIBTHREAD) ++else + THREADLIBS = -lpthread $(LIBTHREAD) ++endif + endif + else # USE_PTHREADS + THREADLIBS = $(LIBTHREAD) diff --git a/devel/jdk/1.3/patches/patch-j2sdk1_3_1_make_java_hpi_native_Makefile b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_make_java_hpi_native_Makefile new file mode 100644 index 00000000000..d8537008bbd --- /dev/null +++ b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_make_java_hpi_native_Makefile @@ -0,0 +1,17 @@ +$OpenBSD: patch-j2sdk1_3_1_make_java_hpi_native_Makefile,v 1.1 2005/06/03 17:27:54 kurt Exp $ +--- j2sdk1.3.1/make/java/hpi/native/Makefile.orig Wed Apr 20 13:15:59 2005 ++++ j2sdk1.3.1/make/java/hpi/native/Makefile Wed Apr 20 13:16:04 2005 +@@ -65,7 +65,13 @@ OTHER_CFLAGS = -pthread + # When debugging with libc_r and it's internals, use the following line. + #OTHER_CFLAGS = -pthread -DDEBUG_BSD_NATIVE_THREADS -I/usr/src/lib/libc_r/uthread -I/usr/src/lib/libc/include + else ++ifeq ($(TRUE_PLATFORM), OpenBSD) ++OTHER_CPPFLAGS += -DUSE_MUTEX_HANDSHAKE ++OTHER_CFLAGS = -pthread ++LIBPTHREAD = -pthread ++else + LIBPTHREAD = -lpthread ++endif + endif + OTHER_LDLIBS += $(LIBPTHREAD) $(LIBPOSIX4) + endif diff --git a/devel/jdk/1.3/patches/patch-j2sdk1_3_1_make_java_jvm_Makefile b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_make_java_jvm_Makefile new file mode 100644 index 00000000000..21ac78be09c --- /dev/null +++ b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_make_java_jvm_Makefile @@ -0,0 +1,36 @@ +$OpenBSD: patch-j2sdk1_3_1_make_java_jvm_Makefile,v 1.1 2005/06/03 17:27:54 kurt Exp $ +--- j2sdk1.3.1/make/java/jvm/Makefile.orig Mon Nov 22 18:24:20 2004 ++++ j2sdk1.3.1/make/java/jvm/Makefile Mon Nov 22 18:29:26 2004 +@@ -51,6 +51,15 @@ ifeq ($(TRUE_PLATFORM),OpenBSD) + ifeq ($(ARCH),i386) + USE_C_INTERPRETER = true + endif ++ ifeq ($(ARCH),arm) ++ USE_C_INTERPRETER = true ++ endif ++ ifeq ($(ARCH),powerpc) ++ USE_C_INTERPRETER = true ++ endif ++ ifeq ($(ARCH),sparc64) ++ USE_C_INTERPRETER = true ++ endif + endif + + ifeq ($(TRUE_PLATFORM),NetBSD) +@@ -125,6 +134,16 @@ ifeq ($(ARCH),i386) + ARCHNAME = p5 + FILES_c += $(TARGDIR)machgc_nonsparc.c + FILES_s += $(TARGDIR)invokeNative_x86.s ++endif ++ifeq ($(ARCH),arm) ++ARCHNAME = arm ++FILES_c += $(TARGDIR)machgc_nonsparc.c ++FILES_s += $(TARGDIR)invokeNative_arm.s ++endif ++ifeq ($(ARCH),sparc64) ++ARCHNAME = sparc64 ++FILES_c += $(TARGDIR)machgc_nonsparc.c ++FILES_s += $(TARGDIR)invokeNative_sparc64.s + endif + + ifeq ($(USE_ASSEMBLY_INTERPRETER),true) diff --git a/devel/jdk/1.3/patches/patch-j2sdk1_3_1_make_sun_cmm_Makefile b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_make_sun_cmm_Makefile new file mode 100644 index 00000000000..71676f8dcd3 --- /dev/null +++ b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_make_sun_cmm_Makefile @@ -0,0 +1,16 @@ +$OpenBSD: patch-j2sdk1_3_1_make_sun_cmm_Makefile,v 1.1 2005/06/03 17:27:54 kurt Exp $ +--- j2sdk1.3.1/make/sun/cmm/Makefile.orig Wed Apr 20 13:15:59 2005 ++++ j2sdk1.3.1/make/sun/cmm/Makefile Wed Apr 20 13:16:04 2005 +@@ -88,7 +88,12 @@ OTHER_LDLIBS = -pthread $(LIBM) + endif + CFLAGS += -pthread + else ++ifeq ($(TRUE_PLATFORM),OpenBSD) ++OTHER_LDLIBS = -pthread $(LIBM) ++CFLAGS += -pthread ++else + OTHER_LDLIBS = -lpthread $(LIBM) ++endif + endif + else + OTHER_LDLIBS = $(LIBM) diff --git a/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_share_classes_com_sun_tools_javah_resources_OpenBSD_arm_properties b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_share_classes_com_sun_tools_javah_resources_OpenBSD_arm_properties new file mode 100644 index 00000000000..a69e6cb086f --- /dev/null +++ b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_share_classes_com_sun_tools_javah_resources_OpenBSD_arm_properties @@ -0,0 +1,5 @@ +$OpenBSD: patch-j2sdk1_3_1_src_share_classes_com_sun_tools_javah_resources_OpenBSD_arm_properties,v 1.1 2005/06/03 17:27:54 kurt Exp $ +--- j2sdk1.3.1/src/share/classes/com/sun/tools/javah/resources/OpenBSD_arm.properties.orig Fri May 27 17:34:59 2005 ++++ j2sdk1.3.1/src/share/classes/com/sun/tools/javah/resources/OpenBSD_arm.properties Fri May 27 17:34:50 2005 +@@ -0,0 +1 @@ ++# OpenBSD arm specific properties diff --git a/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_share_classes_com_sun_tools_javah_resources_OpenBSD_powerpc_properties b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_share_classes_com_sun_tools_javah_resources_OpenBSD_powerpc_properties new file mode 100644 index 00000000000..f327f061dc9 --- /dev/null +++ b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_share_classes_com_sun_tools_javah_resources_OpenBSD_powerpc_properties @@ -0,0 +1,7 @@ +$OpenBSD: patch-j2sdk1_3_1_src_share_classes_com_sun_tools_javah_resources_OpenBSD_powerpc_properties,v 1.1 2005/06/03 17:27:54 kurt Exp $ +--- j2sdk1.3.1/src/share/classes/com/sun/tools/javah/resources/OpenBSD_powerpc.properties.orig Fri May 27 17:35:31 2005 ++++ j2sdk1.3.1/src/share/classes/com/sun/tools/javah/resources/OpenBSD_powerpc.properties Fri May 27 17:35:27 2005 +@@ -0,0 +1,3 @@ ++# OpenBSD powerpc specific properties ++pack.pragma.start=\#pragma pack(4)\n ++pack.pragma.end=\#pragma pack()\n diff --git a/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_share_javavm_runtime_classresolver_c b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_share_javavm_runtime_classresolver_c new file mode 100644 index 00000000000..c4ff478ea24 --- /dev/null +++ b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_share_javavm_runtime_classresolver_c @@ -0,0 +1,11 @@ +$OpenBSD: patch-j2sdk1_3_1_src_share_javavm_runtime_classresolver_c,v 1.1 2005/06/03 17:27:54 kurt Exp $ +--- j2sdk1.3.1/src/share/javavm/runtime/classresolver.c.orig Mon Jul 19 12:22:10 2004 ++++ j2sdk1.3.1/src/share/javavm/runtime/classresolver.c Mon Jul 19 12:22:19 2004 +@@ -1382,7 +1382,6 @@ PrepareInterfaces(ClassClass *cb) + mcount++; + } + } +- sysAssert(0 == count); + } + cbMethodTable(cb) = new_table; + cbMethodTableSize(cb) = (unsigned short)mcount; diff --git a/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_share_javavm_runtime_jni_c b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_share_javavm_runtime_jni_c new file mode 100644 index 00000000000..e37c28ed716 --- /dev/null +++ b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_share_javavm_runtime_jni_c @@ -0,0 +1,97 @@ +$OpenBSD: patch-j2sdk1_3_1_src_share_javavm_runtime_jni_c,v 1.1 2005/06/03 17:27:54 kurt Exp $ +--- j2sdk1.3.1/src/share/javavm/runtime/jni.c.orig Sun May 6 08:18:43 2001 ++++ j2sdk1.3.1/src/share/javavm/runtime/jni.c Mon May 23 23:50:35 2005 +@@ -570,20 +570,17 @@ jni_FindMethodBlock(JNIEnv *env, jclass + + typedef char* + (*JNI_PushArguments_t)(JNIEnv *env, char *terse_signature, +- JavaFrame *current_frame, void *args); ++ JavaFrame *current_frame, void *orig_args); + + static char* + jni_PushArgumentsVararg(JNIEnv *env, char *terse_signature, +- JavaFrame *current_frame, void *a) ++ JavaFrame *current_frame, void *orig_args) + { + char *p = terse_signature; + jvalue tdub; + va_list args; + +- /* Assignment to va_list does not work on certain platforms: +- * args = *(va_list *)a; +- */ +- memcpy(&args, a, sizeof(va_list)); ++ va_copy(args, *(va_list *)orig_args); + + while (1) { + switch (*p++) { +@@ -592,7 +589,7 @@ jni_PushArgumentsVararg(JNIEnv *env, cha + case TERSE_SIG_BYTE: + case TERSE_SIG_CHAR: + case TERSE_SIG_INT: +- (current_frame->optop++)->i = va_arg(args, long); ++ (current_frame->optop++)->i = va_arg(args, int); + continue; + case TERSE_SIG_FLOAT: + (current_frame->optop++)->f = (float)va_arg(args, double); +@@ -621,49 +618,45 @@ jni_PushArgumentsVararg(JNIEnv *env, cha + + static char* + jni_PushArgumentsArray(JNIEnv *env, char *terse_signature, +- JavaFrame *current_frame, void *a) ++ JavaFrame *current_frame, void *orig_args) + { + char *p = terse_signature; + jvalue tdub; +- jvalue *args = *(jvalue **)a; ++ va_list args; + ++ va_copy(args, *(va_list *)orig_args); ++ + /*CONSTCOND*/ + while (1) { + switch (*p++) { + case TERSE_SIG_BOOLEAN: +- (current_frame->optop++)->i = (*args++).z; +- continue; + case TERSE_SIG_SHORT: +- (current_frame->optop++)->i = (*args++).s; +- continue; + case TERSE_SIG_BYTE: +- (current_frame->optop++)->i = (*args++).b; +- continue; + case TERSE_SIG_CHAR: +- (current_frame->optop++)->i = (*args++).c; +- continue; + case TERSE_SIG_INT: +- (current_frame->optop++)->i = (*args++).i; ++ (current_frame->optop++)->i = va_arg(args, int); + continue; + case TERSE_SIG_FLOAT: +- (current_frame->optop++)->f = (*args++).f; ++ (current_frame->optop++)->f = (float)va_arg(args,double); + continue; + case TERSE_SIG_OBJECT: { +- jobject obj = (*args++).l; ++ jobject obj = va_arg(args,jobject); + (current_frame->optop++)->h = (JHandle *)DeRef(env, obj); + continue; + } + case TERSE_SIG_LONG: +- SET_INT64(tdub, current_frame->optop, (*args++).j); ++ SET_INT64(tdub, current_frame->optop, va_arg(args,int64_t)); + current_frame->optop += 2; + continue; + case TERSE_SIG_DOUBLE: +- SET_DOUBLE(tdub, current_frame->optop, (*args++).d); ++ SET_DOUBLE(tdub, current_frame->optop, va_arg(args,double)); + current_frame->optop += 2; + continue; + case TERSE_SIG_ENDFUNC: ++ va_end(args); + return p; + default: ++ va_end(args); + sysAssert(FALSE); + return NULL; + } diff --git a/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_bin_java_wrapper_bsd_sh b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_bin_java_wrapper_bsd_sh new file mode 100644 index 00000000000..b5db8173195 --- /dev/null +++ b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_bin_java_wrapper_bsd_sh @@ -0,0 +1,12 @@ +$OpenBSD: patch-j2sdk1_3_1_src_solaris_bin_java_wrapper_bsd_sh,v 1.1 2005/06/03 17:27:54 kurt Exp $ +--- j2sdk1.3.1/src/solaris/bin/java_wrapper_bsd.sh.orig Fri Apr 22 12:24:11 2005 ++++ j2sdk1.3.1/src/solaris/bin/java_wrapper_bsd.sh Fri Apr 22 12:27:39 2005 +@@ -18,7 +18,7 @@ PRG=$0 + progname=`basename $0` + case `uname -s` in + OpenBSD) +- proc=`/usr/bin/uname -m` ++ proc=`/usr/bin/arch -s` + ;; + *) + proc=`/usr/bin/uname -p` diff --git a/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_bin_realpath_sh b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_bin_realpath_sh new file mode 100644 index 00000000000..6831d1a5066 --- /dev/null +++ b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_bin_realpath_sh @@ -0,0 +1,16 @@ +$OpenBSD: patch-j2sdk1_3_1_src_solaris_bin_realpath_sh,v 1.1 2005/06/03 17:27:54 kurt Exp $ +--- j2sdk1.3.1/src/solaris/bin/realpath.sh.orig Mon Nov 22 18:11:43 2004 ++++ j2sdk1.3.1/src/solaris/bin/realpath.sh Mon Nov 22 18:11:31 2004 +@@ -27,6 +27,12 @@ case "`uname -m`" in + ;; + esac + ++case "`uname`" in ++ OpenBSD) ++ proc="`arch -s`" ++ ;; ++esac ++ + PATH="$SVPATH" + exec `dirname $0`/$proc/`basename $0` $@ + diff --git a/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_hpi_green_threads_include_context_md_bsd_h b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_hpi_green_threads_include_context_md_bsd_h new file mode 100644 index 00000000000..5aa5bf57ef8 --- /dev/null +++ b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_hpi_green_threads_include_context_md_bsd_h @@ -0,0 +1,21 @@ +$OpenBSD: patch-j2sdk1_3_1_src_solaris_hpi_green_threads_include_context_md_bsd_h,v 1.1 2005/06/03 17:27:54 kurt Exp $ +--- j2sdk1.3.1/src/solaris/hpi/green_threads/include/context_md_bsd.h.orig Fri May 27 17:32:10 2005 ++++ j2sdk1.3.1/src/solaris/hpi/green_threads/include/context_md_bsd.h Fri May 27 17:38:09 2005 +@@ -59,7 +59,7 @@ typedef struct lj_ucontext { + # endif + #define BSD_STACK_POINTER 34 + +-#elif defined(__arm32__) ++#elif defined(__arm32__) || defined(__arm__) + + #define BSD_FPU_MASK 0 + #define BSD_SIGNAL_MASK 21 +@@ -90,7 +90,7 @@ typedef lj_ucontext_t inner_ucontext_t; + + typedef struct { + unsigned int unix_errno; +-#if defined(__NetBSD__) && defined(__powerpc__) ++#if defined(__powerpc__) + void *current_sp; + #endif + inner_ucontext_t lj_ucontext; diff --git a/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_hpi_green_threads_src_context_c b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_hpi_green_threads_src_context_c new file mode 100644 index 00000000000..90e4b96c247 --- /dev/null +++ b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_hpi_green_threads_src_context_c @@ -0,0 +1,44 @@ +$OpenBSD: patch-j2sdk1_3_1_src_solaris_hpi_green_threads_src_context_c,v 1.1 2005/06/03 17:27:54 kurt Exp $ +--- j2sdk1.3.1/src/solaris/hpi/green_threads/src/context.c.orig Fri May 27 17:32:10 2005 ++++ j2sdk1.3.1/src/solaris/hpi/green_threads/src/context.c Fri May 27 17:40:41 2005 +@@ -183,7 +183,7 @@ currentStackPointer(sys_thread_t *tp) + #if (defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)) + context_t *context = &tp->mdcontext; + lj_ucontext_t *uc = &(context->lj_ucontext); +-#if defined(__NetBSD__) && defined(__powerpc__) ++#if defined(__powerpc__) + return (void *)CONTEXT(tp)->current_sp; + #elif defined(__NetBSD__) || defined(__OpenBSD__) + return (void *)(uc->jmpbuf[BSD_STACK_POINTER]); +@@ -579,7 +579,30 @@ initContext(lj_ucontext_t *uc, gstack_t + uc->jmpbuf->_sjb[35] = (long)0xACEDBADD; /* magic number for longjmp */ + } + +-#elif defined(__NetBSD__) && defined(__powerpc__) ++#elif defined(__OpenBSD__) && defined(__arm__) ++ ++void ++initContext(lj_ucontext_t *uc, gstack_t *stack, unsigned int pc, ++ void (*death_func)(void), unsigned int arg) ++{ ++ unsigned char *sp; ++ ++ memset(uc, 0, sizeof(lj_ucontext_t)); ++ ++ sp = (unsigned char *)stack->base; ++ sp -= sizeof(sys_thread_t *); ++ /* Force sp to be double aligned! */ ++ sp = (unsigned char *)((unsigned long)(sp) & ~7L); ++ ++ /* We use registers on the Alpha to pass args to death_func. */ ++ uc->jmpbuf->_sjb[2] = (long)death_func; /* sc_pc */ ++ uc->jmpbuf->_sjb[20] = (long)pc; /* sc_regs[R_A0] */ ++ uc->jmpbuf->_sjb[21] = (long)arg; /* sc_regs[R_A1] */ ++ uc->jmpbuf->_sjb[34] = (long)sp; /* sc_regs[R_SP] */ ++ uc->jmpbuf->_sjb[35] = (long)0xACEDBADD; /* magic number for longjmp */ ++} ++ ++#elif (defined(__NetBSD__) || defined(__OpenBSD__)) && defined(__powerpc__) + + /* NetBSD/powerpc version */ + diff --git a/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_hpi_green_threads_src_threads_md_c b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_hpi_green_threads_src_threads_md_c new file mode 100644 index 00000000000..71691af9089 --- /dev/null +++ b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_hpi_green_threads_src_threads_md_c @@ -0,0 +1,32 @@ +$OpenBSD: patch-j2sdk1_3_1_src_solaris_hpi_green_threads_src_threads_md_c,v 1.1 2005/06/03 17:27:54 kurt Exp $ +--- j2sdk1.3.1/src/solaris/hpi/green_threads/src/threads_md.c.orig Fri May 27 17:40:57 2005 ++++ j2sdk1.3.1/src/solaris/hpi/green_threads/src/threads_md.c Fri May 27 17:42:24 2005 +@@ -80,8 +80,11 @@ sysThreadCheckStack() + { + sys_thread_t *tid = greenThreadSelf(); + ++ /* workaround a gcc optimization bug on powerpc */ ++ char *currentSP = ¤tSP; ++ + /* Stacks grow toward lower addresses on Solaris... */ +- if ((char *)(tid)->stack.base - (char *)&(tid) + STACK_REDZONE < ++ if ((char *)(tid)->stack.base - currentSP + STACK_REDZONE < + tid->stack.size) { + return 1; + } else { +@@ -327,13 +330,13 @@ start_func(void (*func)(int), start_args + + #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) + static void +-#if defined(__NetBSD__) && defined(__powerpc__) ++#if defined(__powerpc__) + start_func(lj_ucontext_t *uc) + #else + start_func(void (*func)(int), start_args *args) + #endif + { +-#if defined(__NetBSD__) && defined(__powerpc__) ++#if defined(__powerpc__) + start_args *args = (start_args *)uc->arg; + void (*func)() = (void (*)())uc->pc; + int arg = args->arg; diff --git a/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_hpi_native_threads_include_threads_md_h b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_hpi_native_threads_include_threads_md_h new file mode 100644 index 00000000000..ca3c6a22553 --- /dev/null +++ b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_hpi_native_threads_include_threads_md_h @@ -0,0 +1,23 @@ +$OpenBSD: patch-j2sdk1_3_1_src_solaris_hpi_native_threads_include_threads_md_h,v 1.1 2005/06/03 17:27:54 kurt Exp $ +--- j2sdk1.3.1/src/solaris/hpi/native_threads/include/threads_md.h.orig Mon Nov 22 20:25:24 2004 ++++ j2sdk1.3.1/src/solaris/hpi/native_threads/include/threads_md.h Tue Nov 23 14:47:07 2004 +@@ -17,7 +17,7 @@ + + #include "porting.h" + +-#ifdef sparc ++#if defined(sparc) || defined(sparc64) + #define N_TRACED_REGS 12 + #elif i386 + #define N_TRACED_REGS 7 +@@ -25,6 +25,10 @@ + #define N_TRACED_REGS 1 + #elif m68k + #define N_TRACED_REGS 8 ++#elif __arm__ ++#define N_TRACED_REGS 16 /* XXX */ ++#elif __powerpc__ ++#define N_TRACED_REGS 12 /* XXX */ + #else + #error "Can't define for N_TRACED_REGS" + #endif diff --git a/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_hpi_native_threads_src_threads_bsd_c b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_hpi_native_threads_src_threads_bsd_c new file mode 100644 index 00000000000..c7ff26edfa4 --- /dev/null +++ b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_hpi_native_threads_src_threads_bsd_c @@ -0,0 +1,93 @@ +$OpenBSD: patch-j2sdk1_3_1_src_solaris_hpi_native_threads_src_threads_bsd_c,v 1.1 2005/06/03 17:27:54 kurt Exp $ +--- j2sdk1.3.1/src/solaris/hpi/native_threads/src/threads_bsd.c.orig Wed Apr 20 13:16:02 2005 ++++ j2sdk1.3.1/src/solaris/hpi/native_threads/src/threads_bsd.c Wed Apr 20 13:16:04 2005 +@@ -93,7 +93,22 @@ void np_initialize_thread(sys_thread_t * + /* + * Internal helper function to get stack information about specified thread. + */ ++#ifdef __OpenBSD__ + static int ++get_stackinfo(pthread_t tid, void **addr, long *sizep) ++{ ++ stack_t ss; ++ ++ if (pthread_stackseg_np(tid, &ss) == 0) { ++ *addr = (void *)(ss.ss_sp) - ss.ss_size; ++ *sizep = (long)(ss.ss_size); ++ return SYS_OK; ++ } else { ++ return SYS_ERR; /* pthreads_stackinfo_np failed. */ ++ } ++} ++#else ++static int + get_stackinfo(pthread_t tid, pthread_attr_t attr, void **addr, long *sizep) + { + size_t s; +@@ -113,14 +128,17 @@ err: + + return (ret); + } ++#endif + +- + /* + * Get the stack start address, and max stack size for the current thread. + */ + int + np_stackinfo(void **addr, long *sizep) + { ++#ifdef __OpenBSD__ ++ return(get_stackinfo(pthread_self(), addr, sizep)); ++#else + pthread_attr_t attr; + int ret = SYS_ERR; + +@@ -130,6 +148,7 @@ np_stackinfo(void **addr, long *sizep) + } + + return (ret); ++#endif + } + + /* +@@ -193,13 +212,15 @@ record_thread_regs() + { + struct pthread *self = pthread_self(); + sys_thread_t *tid = ThreadQueue; +- pthread_attr_t attr = NULL; + void *addr; + long sz; + int i; + ++#ifndef __OpenBSD__ ++ pthread_attr_t attr = NULL; + if (pthread_attr_init(&attr) != 0) + attr = NULL; ++#endif + + for (i = 0; i < ActiveThreadCount && tid != NULL; i++, tid = tid->next) { + struct pthread *thread = tid->sys_thread; +@@ -214,7 +235,11 @@ record_thread_regs() + continue; + } + ++#ifdef __OpenBSD__ ++ if (get_stackinfo(thread, &addr, &sz) == SYS_OK) ++#else + if (get_stackinfo(thread, attr, &addr, &sz) == SYS_OK) ++#endif + tid->sp = addr; + else + tid->sp = 0; +@@ -247,8 +272,10 @@ record_thread_regs() + #endif + } + ++#ifndef __OpenBSD__ + if (attr != NULL) + pthread_attr_destroy(&attr); ++#endif + + #ifdef DEBUG_BSD_NATIVE_THREADS + fprintf(stderr, "\n\n\nCalling GC thread\n\n\n"); fflush(stderr); diff --git a/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_hpi_native_threads_src_threads_md_c b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_hpi_native_threads_src_threads_md_c new file mode 100644 index 00000000000..2e5fe9c50de --- /dev/null +++ b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_hpi_native_threads_src_threads_md_c @@ -0,0 +1,32 @@ +$OpenBSD: patch-j2sdk1_3_1_src_solaris_hpi_native_threads_src_threads_md_c,v 1.1 2005/06/03 17:27:54 kurt Exp $ +--- j2sdk1.3.1/src/solaris/hpi/native_threads/src/threads_md.c.orig Mon Nov 8 11:41:54 2004 ++++ j2sdk1.3.1/src/solaris/hpi/native_threads/src/threads_md.c Mon Nov 8 11:45:53 2004 +@@ -77,11 +77,17 @@ static thread_key_t tid_key = (thread_ke + #ifdef __linux__ + thread_key_t intrJmpbufkey; + static sigset_t squm = {{sigmask(SIGUSR1), 0, 0, 0}}; ++#elif defined(__OpenBSD__) ++thread_key_t sigusr1Jmpbufkey; ++sigset_t sigusr1Mask = sigmask(SIGUSR1); ++static sigset_t squm = sigmask(SIGUSR1); + #else + thread_key_t sigusr1Jmpbufkey; + sigset_t sigusr1Mask = {{sigmask(SIGUSR1), 0, 0, 0}}; ++static sigset_t squm = {{sigmask(SIGUSR1), 0, 0, 0}}; + #endif + ++ + /* + * Thread C stack overflow check + * +@@ -148,10 +154,6 @@ sysThreadCheckStack() + return 0; + } + } +- +-#ifndef __linux__ +-static sigset_t squm = {{sigmask(SIGUSR1), 0, 0, 0}}; +-#endif + + + /* diff --git a/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_hpi_src_memory_md_c b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_hpi_src_memory_md_c index ad2d3e5fc5e..57f7129ae59 100644 --- a/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_hpi_src_memory_md_c +++ b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_hpi_src_memory_md_c @@ -1,12 +1,52 @@ -$OpenBSD: patch-j2sdk1_3_1_src_solaris_hpi_src_memory_md_c,v 1.1.1.1 2004/01/29 22:02:20 pvalchev Exp $ ---- j2sdk1.3.1/src/solaris/hpi/src/memory_md.c.orig 2004-01-03 22:05:00.000000000 -0500 -+++ j2sdk1.3.1/src/solaris/hpi/src/memory_md.c 2004-01-03 22:07:55.000000000 -0500 -@@ -157,7 +157,7 @@ mapChunk(long length) +$OpenBSD: patch-j2sdk1_3_1_src_solaris_hpi_src_memory_md_c,v 1.2 2005/06/03 17:27:54 kurt Exp $ +--- j2sdk1.3.1/src/solaris/hpi/src/memory_md.c.orig Wed Apr 20 13:23:19 2005 ++++ j2sdk1.3.1/src/solaris/hpi/src/memory_md.c Wed Apr 20 13:25:51 2005 +@@ -110,7 +110,9 @@ InitializeMem(void) + #endif + } + +-#ifdef __linux__ ++#ifdef __OpenBSD__ ++ devZeroFD = -1; ++#elif defined(__linux__) + #if !defined(USE_MALLOC) && !defined(MAP_ANONYMOUS) + devZeroFD = open("/dev/zero", O_RDWR); + if (devZeroFD == -1) { +@@ -140,6 +142,10 @@ InitializeMem(void) + #define MAP_NORESERVE 0 + #endif + ++#ifndef MAP_ANON ++#define MAP_ANON 0 ++#endif ++ + /* + * Map a chunk of memory. Return the address of the base if successful, + * 0 otherwise. We do not care where the mapped memory is, and can't +@@ -157,7 +163,7 @@ mapChunk(long length) MAP_NORESERVE | MAP_PRIVATE | MAP_ANONYMOUS, -1, (off_t) 0); #else - ret = (char *) mmap(0, length, PROT_ALL, MAP_NORESERVE|MAP_PRIVATE, -+ ret = (char *) mmap(0, length, PROT_READ|PROT_WRITE, MAP_NORESERVE|MAP_PRIVATE, ++ ret = (char *) mmap(0, length, PROT_READ|PROT_WRITE, MAP_NORESERVE|MAP_PRIVATE|MAP_ANON, devZeroFD, (off_t) 0); #endif return (ret == MAP_FAILED ? 0 : ret); +@@ -179,7 +185,7 @@ mapChunkReserve(char *addr, long length) + MAP_FIXED | MAP_PRIVATE | MAP_ANONYMOUS, + -1, (off_t) 0); + #else +- ret = (char *) mmap(addr, length, PROT_ALL, MAP_FIXED|MAP_PRIVATE, ++ ret = (char *) mmap(addr, length, PROT_ALL, MAP_FIXED|MAP_PRIVATE|MAP_ANON, + devZeroFD, (off_t) 0); + #endif + return (ret == MAP_FAILED ? 0 : ret); +@@ -204,7 +210,7 @@ mapChunkNoreserve(char *addr, long lengt + -1, (off_t) 0); + #else + ret = (char *) mmap(addr, length, PROT_ALL, +- MAP_FIXED|MAP_PRIVATE|MAP_NORESERVE, ++ MAP_FIXED|MAP_PRIVATE|MAP_NORESERVE|MAP_ANON, + devZeroFD, (off_t) 0); + #endif + return (ret == MAP_FAILED ? 0 : ret); diff --git a/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_javavm_include_sysmacros_md_h b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_javavm_include_sysmacros_md_h new file mode 100644 index 00000000000..e725db27f16 --- /dev/null +++ b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_javavm_include_sysmacros_md_h @@ -0,0 +1,12 @@ +$OpenBSD: patch-j2sdk1_3_1_src_solaris_javavm_include_sysmacros_md_h,v 1.1 2005/06/03 17:27:54 kurt Exp $ +--- j2sdk1.3.1/src/solaris/javavm/include/sysmacros_md.h.orig Wed Nov 3 19:40:18 2004 ++++ j2sdk1.3.1/src/solaris/javavm/include/sysmacros_md.h Wed Nov 3 19:40:51 2004 +@@ -75,6 +75,8 @@ void panic (const char *, ...); + */ + #elif defined(__powerpc__) + #define sysMemoryFlush() 0 ++#elif defined(__arm__) ++#define sysMemoryFlush() __asm__ __volatile__ ("" : : : "memory") + #else + #error No definition for sysMemoryFlush! + #endif diff --git a/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_javavm_include_typedefs_md_h b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_javavm_include_typedefs_md_h new file mode 100644 index 00000000000..505991db013 --- /dev/null +++ b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_javavm_include_typedefs_md_h @@ -0,0 +1,17 @@ +$OpenBSD: patch-j2sdk1_3_1_src_solaris_javavm_include_typedefs_md_h,v 1.1 2005/06/03 17:27:54 kurt Exp $ +--- j2sdk1.3.1/src/solaris/javavm/include/typedefs_md.h.orig Fri May 27 17:42:42 2005 ++++ j2sdk1.3.1/src/solaris/javavm/include/typedefs_md.h Fri May 27 17:43:39 2005 +@@ -41,11 +41,11 @@ + #endif + + /* Fix for varargs differences on PowerPC */ +-#if defined(__linux__) && defined(__powerpc__) ++#if (defined(__linux__) || defined(__OpenBSD__)) && defined(__powerpc__) + #define VARGS(x) (x) + #else + #define VARGS(x) (&x) +-#endif /* __linux__ && __powerpc__ */ ++#endif /* (__linux__ || __OpenBSD__) && __powerpc__ */ + + + /* temporary scaffolding, to allow for back and forth testing */ diff --git a/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_javavm_runtime_invokeNative_arm_s b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_javavm_runtime_invokeNative_arm_s new file mode 100644 index 00000000000..0c58a4354fc --- /dev/null +++ b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_javavm_runtime_invokeNative_arm_s @@ -0,0 +1,276 @@ +$OpenBSD: patch-j2sdk1_3_1_src_solaris_javavm_runtime_invokeNative_arm_s,v 1.1 2005/06/03 17:27:54 kurt Exp $ +--- j2sdk1.3.1/src/solaris/javavm/runtime/invokeNative_arm.s.orig Fri May 27 20:00:30 2005 ++++ j2sdk1.3.1/src/solaris/javavm/runtime/invokeNative_arm.s Fri May 27 21:18:05 2005 +@@ -0,0 +1,272 @@ ++// ++// @(#)invokeNative_arm.s 0.00 05/04/25 ++// ++// Copyright 1996, 1997 by Sun Microsystems, Inc., ++// 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. ++// All rights reserved. ++// ++// This software is the confidential and proprietary information ++// of Sun Microsystems, Inc. ("Confidential Information"). You ++// shall not disclose such Confidential Information and shall use ++// it only in accordance with the terms of the license agreement ++// you entered into with Sun. ++// ++ ++// ARM version adopted from invokeNative_x86.s and sparc version by Dale Rahn. ++ ++// XXX Likely other BSD's have a similar header, but since I do not know that ++// XXX I have taken the safe path and provided ELF-style defaults. ++#ifdef __OpenBSD__ ++#include ++#else ++ ++#define _C_LABEL(x) x ++#define _ENTRY(x) \ ++ .section .text; .align 4; .globl x; .type x,@function; x: ++#define ENTRY(y) _ENTRY(_C_LABEL(y)) ++ ++#endif ++ ++ .file "invokeNative_arm.s" ++ ++// This function translates the "Java" calling convention into the ++// C convention used in native methods. Java VM passes all the ++// arguments in the Java stack, and expects the results to be placed there ++// as well. We therefore have to copy the arguments into the C stack (or ++// registers), and place the return values back into the Java stack. ++// ++// With a small sacrifise in efficiency, this approach avoids having to ++// generate a stub function for every native method. ++// ++// The arm processor passes initial arguments in registers r0-r3 , with ++// additional arguments appearing on the stack, ++// ++// The first argument to sysInvokeNative is a pointer to the JNI ++// environment, which should be passed unmodified as the first argument ++// to the native method. ++// ++// The second argument is a pointer to the "real" native method function. ++// ++// The third argument (stk) is a pointer to the Java stack, where all ++// the arguments are stored (as stk[0], stk[1], etc.). ++// ++// The fourth argument is the "terse" signature of the native method, ++// which basically collapses all objects in the long signature into ++// one byte, since they're all treated the same. This makes the parsing ++// in this routine simpler and faster. See classload.c and classruntime.c ++// for details. ++// ++// The fifth argument is the total size (in 32-bit words) of the ++// arguments on the Java stack. Note that the Java stack does not have ++// any alignment requirement, and stores all arguments consecutively in ++// words and double words. The argument size includes the "this" pointer ++// for non-static methods. ++// ++// The sixth argument is 0 for non-static methods, or a jclass ++// for static methods. Non-static native methods receive an object ++// reference as the second argument (passed in the Java stack as ++// stk[0]). The "real" method arguments to non-static methods begin at ++// stk[1]. Static native methods receive a class reference as the second ++// argument. ++// ++// The return value of the native method is placed at stk[0] for ++// word-sized results, or at stk[0] and stk[1] for ++// double-word-sized results. The return value of sysInvokeNative is ++// stk if the native method returns void, stk+1 if the native ++// method returns a word, or stk+2 if the native method returns a ++// double word. ++ ++// #define args_again \ // I don't know how to do a macro w/ this assembler ++// movb (%ebx), %cl \ ++// incl %ebx \ ++// jmp *arg_jumps(,%ecx,4) ++ ++ ++ ++// Arguments ++// r0 ; JNI environment ++// r1 ; native method function ++// r2 ; Java stack ++// r3 ; method signature ++// stk1 ; total argument size ++// stk2 ; class (if static) ++// ++// Results: ++// r0 the adjusted Java stack top ++ ++#define JSTKPTR r4 // local java stack addr ++#define SWITCHBASE r5 // pointer to jump table address ++#define SIGBYTE r6 // scratch to load signature (4 bits) ++#define OSTKPTR r7 // old java stack ++#define SIGVAL r8 // scratch to load signature (byte) ++#define SIGPTR r9 // pointer to signature byte (string) ++#define RETTYPE r9 // pointer to signature byte (string) ++#define CSTKPTR r10 // address on C stack to push args ++ ++#define FUNC r12 ++ ++#define SAVEREG r4-r10,fp ++#define SAVESPACE (8*4) ++ ++#define nargs_stk [fp, #SAVESPACE+4] ++#define class_stk [fp, #SAVESPACE+8] ++#define result_stk [fp, #SAVESPACE+12] ++ ++#define TYPEMASK #0xf ++ ++ENTRY(sysInvokeNative) ++ stmfd sp!, {SAVEREG, lr} // save all volatile regs ++ ++ mov fp, sp ++ ++// first 4 args in register ++// first arg is already in r0, JNI env ++ ++ mov FUNC, r1 ++ mov JSTKPTR, r2 ++ mov OSTKPTR, r2 // save copy ++ mov SIGPTR, r3 ++ ++ adr SWITCHBASE, arg_jumps // load jump table address ++ ++ ldr r1, nargs_stk ++ mov r1, r1, asl #2 // nargs -> words ++ sub sp, sp, r1 ++ mov CSTKPTR,sp ++ ++ ldr r1, class_stk ++ cmp r1, #0 // check if static ++ moveq r1, JSTKPTR // static ++ addeq JSTKPTR, JSTKPTR, #4 ++ ++args_loop: ++ ldrb SIGVAL, [SIGPTR], #1 ++ and SIGBYTE, SIGVAL, TYPEMASK ++ ldr SIGBYTE, [SWITCHBASE, SIGBYTE, lsl #2] // load offset ++ add pc, SWITCHBASE, SIGBYTE ++ ++arg_32: // move a 32-bit value from [JSTKPTR] to [CSTKPTR]. ++ ldr r2, [JSTKPTR], #4 ++ str r2, [CSTKPTR], #4 ++ ++ b args_loop ++ ++arg_64: ++ ldmia JSTKPTR!, {r2, SIGBYTE} ++ stmia CSTKPTR!, {r2, SIGBYTE} ++ ++ b args_loop ++ ++arg_object: ++ ldr r2, [JSTKPTR], #4 ++ cmp r2, #0 ++ subne r2, JSTKPTR, #4 // pass address of object on java stk ++ str r2, [CSTKPTR], #4 ++ ++ b args_loop ++ ++args_done: ++ // load first arguments into registers, according to ABI ++ // r0 and r1 were already set ++ ldr r2, [sp, #0] ++ ldr r3, [sp, #4] ++ ++ // CSTKPTR used as scratch now ++ ldr CSTKPTR, nargs_stk ++ cmp CSTKPTR, #2 ++ addge sp, sp, #8 // if more than two args, adjust stack ++ ++ adr SWITCHBASE, ret_jumps ++ ++ mov lr,pc ++ mov pc, FUNC ++ ++ ldrb SIGVAL, [SIGPTR] ++ ++ and RETTYPE, SIGVAL, TYPEMASK // save return value ++ mov r3, OSTKPTR // original java stack ++ mov sp, fp // restore original C stack ++ ++ ldr RETTYPE, [SWITCHBASE, RETTYPE, lsl #2] ++ add pc, SWITCHBASE, RETTYPE ++ ++ret_obj: ++ cmp r0, #0 ++ ldrne r0,[r0] ++ str r0,[r3] ++ add r0, r3, #4 ++ ldmfd sp!, {SAVEREG, pc} ++ ++ret_s32: ++ str r0, [r3] ++ add r0, r3, #4 ++ ldmfd sp!, {SAVEREG, pc} ++ ++ret_s64: ++ stmia r3, {r0,r1} ++ add r0, r3, #8 ++ ldmfd sp!, {SAVEREG, pc} ++ ++ret_s8: ++ mov r0, r0, asl #24 ++ mov r0, r0, asr #24 ++ str r0, [r3] ++ add r0, r3, #4 ++ ldmfd sp!, {SAVEREG, pc} ++ ++ret_u8: ++ and r0, r0, #0xff ++ str r0, [r3] ++ add r0, r3, #4 ++ ldmfd sp!, {SAVEREG, pc} ++ ++ret_s16: ++ mov r0, r0, asl #16 ++ mov r0, r0, asr #16 ++ str r0, [r3] ++ add r0, r3, #4 ++ ldmfd sp!, {SAVEREG, pc} ++ ++ret_u16: ++ mov r0, r0, lsl #16 ++ mov r0, r0, lsr #16 ++ str r0, [r3] ++ add r0, r3, #4 ++ ldmfd sp!, {SAVEREG, pc} ++ ++ret_void: ++ mov r0, r3 ++ ldmfd sp!, {SAVEREG, pc} ++ ++ // keep these offsets in sync with the enum in signature.h ++ // these tables have - to make the PIC happy ++ret_jumps: ++ .long ret_void-ret_jumps // this is bogus and shouldn't get called ++ .long ret_obj-ret_jumps ++ .long ret_s64-ret_jumps ++ .long ret_s64-ret_jumps // arm does soft float ++ .long ret_u8-ret_jumps ++ .long ret_s8-ret_jumps ++ .long ret_s16-ret_jumps ++ .long ret_u16-ret_jumps ++ .long ret_s32-ret_jumps ++ .long ret_s32-ret_jumps // arm does soft float ++ .long ret_void-ret_jumps ++ ++ // keep these offsets in sync with the enum in signature.h ++arg_jumps: ++ .long args_done-arg_jumps // this is bogus and shouldn't get called ++ .long arg_object-arg_jumps ++ .long arg_64-arg_jumps ++ .long arg_64-arg_jumps ++ .long arg_32-arg_jumps // bool ++ .long arg_32-arg_jumps // byte ++ .long arg_32-arg_jumps // short ++ .long arg_32-arg_jumps // char ++ .long arg_32-arg_jumps // int ++ .long arg_32-arg_jumps // float ++ .long args_done-arg_jumps // for void - remind: shouldn't happen ++ .long args_done-arg_jumps // end-of-args ++ ++ .align 4 ++ .size _C_LABEL(sysInvokeNative),.-_C_LABEL(sysInvokeNative) diff --git a/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_javavm_runtime_invokeNative_ppc_s b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_javavm_runtime_invokeNative_ppc_s new file mode 100644 index 00000000000..a8eff5a26e7 --- /dev/null +++ b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_javavm_runtime_invokeNative_ppc_s @@ -0,0 +1,12 @@ +$OpenBSD: patch-j2sdk1_3_1_src_solaris_javavm_runtime_invokeNative_ppc_s,v 1.1 2005/06/03 17:27:54 kurt Exp $ +--- j2sdk1.3.1/src/solaris/javavm/runtime/invokeNative_ppc.s.orig Mon Nov 22 19:46:23 2004 ++++ j2sdk1.3.1/src/solaris/javavm/runtime/invokeNative_ppc.s Mon Nov 22 19:46:42 2004 +@@ -224,7 +224,7 @@ floatarg: + + spillfltargs: + lfs 0,0(30) // f0 = (r30) +- andi. 25,11,4 // r25 = r10 & 4, set cr from r25 ++ andi. 25,10,4 // r25 = r10 & 4, set cr from r25 + addi 9,10,4 // r9 = r10 + 4 + mfcr 0 // r0 = cr + rlwinm 0,0,3,31,31 // r0 = (r0 rol 3) & 0x1 (test cr0 EQ) diff --git a/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_javavm_runtime_javai_md_c b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_javavm_runtime_javai_md_c new file mode 100644 index 00000000000..8c5f305d5e9 --- /dev/null +++ b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_javavm_runtime_javai_md_c @@ -0,0 +1,27 @@ +$OpenBSD: patch-j2sdk1_3_1_src_solaris_javavm_runtime_javai_md_c,v 1.1 2005/06/03 17:27:54 kurt Exp $ +--- j2sdk1.3.1/src/solaris/javavm/runtime/javai_md.c.orig Fri May 27 17:43:56 2005 ++++ j2sdk1.3.1/src/solaris/javavm/runtime/javai_md.c Fri May 27 17:45:04 2005 +@@ -167,7 +167,7 @@ GetPropertiesMD() + return &sprops; + } + +-#if (defined(__linux__) || defined(__NetBSD__)) && \ ++#if (defined(__linux__) || defined(__NetBSD__) || defined(__OpenBSD__)) && \ + (defined(__powerpc__) || defined(__mc68000__)) + + /* PORT: do casts properly - machine dependent */ +@@ -259,7 +259,7 @@ int64_t double2ll(double f) + } + } + +-#else /* (Linux || NetBSD) && (powerpc || m68k) */ */ ++#else /* (Linux || NetBSD || OpenBSD) && (powerpc || m68k) */ */ + + int32_t float2l(float f) + { +@@ -341,4 +341,4 @@ int64_t double2ll(double f) + #endif /* sparc || alpha */ + } + +-#endif /* !(Linux || NetBSD) && (powerpc || m68k) */ ++#endif /* !(Linux || NetBSD || OpenBSD) && (powerpc || m68k) */ diff --git a/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_native_common_jlong_md_h b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_native_common_jlong_md_h new file mode 100644 index 00000000000..2ba512b13a5 --- /dev/null +++ b/devel/jdk/1.3/patches/patch-j2sdk1_3_1_src_solaris_native_common_jlong_md_h @@ -0,0 +1,13 @@ +$OpenBSD: patch-j2sdk1_3_1_src_solaris_native_common_jlong_md_h,v 1.1 2005/06/03 17:27:54 kurt Exp $ +--- j2sdk1.3.1/src/solaris/native/common/jlong_md.h.orig Sun May 6 08:27:31 2001 ++++ j2sdk1.3.1/src/solaris/native/common/jlong_md.h Wed Apr 20 13:18:38 2005 +@@ -13,6 +13,9 @@ + + /* Make sure ptrdiff_t is defined */ + #include ++#if defined(__OpenBSD__) ++#include /* For intptr_t */ ++#endif + + #define jlong_high(a) ((jint)((a)>>32)) + #define jlong_low(a) ((jint)(a)) diff --git a/devel/jdk/1.3/pkg/MESSAGE b/devel/jdk/1.3/pkg/MESSAGE index cb512f63c48..e69de29bb2d 100644 --- a/devel/jdk/1.3/pkg/MESSAGE +++ b/devel/jdk/1.3/pkg/MESSAGE @@ -1,12 +0,0 @@ -To use the Java plugin with Mozilla or Mozilla-firefox you must create -a symbolic link from - -${PREFIX}/${JDKHOME}/jre/plugin/i386/ns600/libjavaplugin_oji.so - -to your local Mozilla plugins directory, which is found at - -~/.mozilla/plugins/ - -or to the shared Mozilla plugins directory, which is found at - -${PREFIX}/lib/mozilla-plugins/ diff --git a/devel/jdk/1.3/pkg/MESSAGE-jre b/devel/jdk/1.3/pkg/MESSAGE-jre index 53043ddff05..e69de29bb2d 100644 --- a/devel/jdk/1.3/pkg/MESSAGE-jre +++ b/devel/jdk/1.3/pkg/MESSAGE-jre @@ -1,12 +0,0 @@ -To use the Java plugin with Mozilla or Mozilla-firefox you must create -a symbolic link from - -${PREFIX}/${JREHOME}/plugin/i386/ns600/libjavaplugin_oji.so - -to your local Mozilla plugins directory, which is found at - -~/.mozilla/plugins/ - -or to the shared Mozilla plugins directory, which is found at - -${PREFIX}/lib/mozilla-plugins/ diff --git a/devel/jdk/1.3/pkg/PFRAG.no-no_plugin b/devel/jdk/1.3/pkg/PFRAG.no-no_plugin index aba3c0d4a1e..e69de29bb2d 100644 --- a/devel/jdk/1.3/pkg/PFRAG.no-no_plugin +++ b/devel/jdk/1.3/pkg/PFRAG.no-no_plugin @@ -1,57 +0,0 @@ -@comment $OpenBSD: PFRAG.no-no_plugin,v 1.2 2004/09/14 23:43:56 espie Exp $ -${JDKHOME}/bin/ControlPanel -${JDKHOME}/bin/HtmlConverter -${JDKHOME}/bin/${MACHINE_ARCH}/green_threads/java_vm -${JDKHOME}/bin/${MACHINE_ARCH}/green_threads/java_vm_g -${JDKHOME}/jre/ControlPanel.html -${JDKHOME}/jre/bin/ControlPanel -${JDKHOME}/jre/bin/${MACHINE_ARCH}/green_threads/java_vm -${JDKHOME}/jre/bin/${MACHINE_ARCH}/green_threads/java_vm_g -${JDKHOME}/jre/lib/${MACHINE_ARCH}/libjavaplugin_jni.so -${JDKHOME}/jre/lib/${MACHINE_ARCH}/libjavaplugin_jni_g.so -${JDKHOME}/jre/lib/javaplugin.jar -${JDKHOME}/jre/lib/locale/ -${JDKHOME}/jre/lib/locale/de/ -${JDKHOME}/jre/lib/locale/de/LC_MESSAGES/ -${JDKHOME}/jre/lib/locale/de/LC_MESSAGES/sunw_java_plugin.mo -${JDKHOME}/jre/lib/locale/es/ -${JDKHOME}/jre/lib/locale/es/LC_MESSAGES/ -${JDKHOME}/jre/lib/locale/es/LC_MESSAGES/sunw_java_plugin.mo -${JDKHOME}/jre/lib/locale/fr/ -${JDKHOME}/jre/lib/locale/fr/LC_MESSAGES/ -${JDKHOME}/jre/lib/locale/fr/LC_MESSAGES/sunw_java_plugin.mo -${JDKHOME}/jre/lib/locale/it/ -${JDKHOME}/jre/lib/locale/it/LC_MESSAGES/ -${JDKHOME}/jre/lib/locale/it/LC_MESSAGES/sunw_java_plugin.mo -${JDKHOME}/jre/lib/locale/ja/ -${JDKHOME}/jre/lib/locale/ja/LC_MESSAGES/ -${JDKHOME}/jre/lib/locale/ja/LC_MESSAGES/sunw_java_plugin.mo -${JDKHOME}/jre/lib/locale/ko/ -${JDKHOME}/jre/lib/locale/ko.UTF-8/ -${JDKHOME}/jre/lib/locale/ko.UTF-8/LC_MESSAGES/ -${JDKHOME}/jre/lib/locale/ko.UTF-8/LC_MESSAGES/sunw_java_plugin.mo -${JDKHOME}/jre/lib/locale/ko/LC_MESSAGES/ -${JDKHOME}/jre/lib/locale/ko/LC_MESSAGES/sunw_java_plugin.mo -${JDKHOME}/jre/lib/locale/sv/ -${JDKHOME}/jre/lib/locale/sv/LC_MESSAGES/ -${JDKHOME}/jre/lib/locale/sv/LC_MESSAGES/sunw_java_plugin.mo -${JDKHOME}/jre/lib/locale/zh/ -${JDKHOME}/jre/lib/locale/zh.GBK/ -${JDKHOME}/jre/lib/locale/zh.GBK/LC_MESSAGES/ -${JDKHOME}/jre/lib/locale/zh.GBK/LC_MESSAGES/sunw_java_plugin.mo -${JDKHOME}/jre/lib/locale/zh/LC_MESSAGES/ -${JDKHOME}/jre/lib/locale/zh/LC_MESSAGES/sunw_java_plugin.mo -${JDKHOME}/jre/lib/locale/zh_TW/ -${JDKHOME}/jre/lib/locale/zh_TW.BIG5/ -${JDKHOME}/jre/lib/locale/zh_TW.BIG5/LC_MESSAGES/ -${JDKHOME}/jre/lib/locale/zh_TW.BIG5/LC_MESSAGES/sunw_java_plugin.mo -${JDKHOME}/jre/lib/locale/zh_TW/LC_MESSAGES/ -${JDKHOME}/jre/lib/locale/zh_TW/LC_MESSAGES/sunw_java_plugin.mo -${JDKHOME}/jre/plugin/${MACHINE_ARCH}/ -${JDKHOME}/jre/plugin/${MACHINE_ARCH}/ns4/ -${JDKHOME}/jre/plugin/${MACHINE_ARCH}/ns4/javaplugin.so -${JDKHOME}/jre/plugin/${MACHINE_ARCH}/ns4/javaplugin_g.so -${JDKHOME}/jre/plugin/${MACHINE_ARCH}/ns600/ -${JDKHOME}/jre/plugin/${MACHINE_ARCH}/ns600/libjavaplugin_oji.so -${JDKHOME}/jre/plugin/${MACHINE_ARCH}/ns600/libjavaplugin_oji_g.so -${JDKHOME}/lib/htmlconverter.jar diff --git a/devel/jdk/1.3/pkg/PFRAG.no-no_plugin-jre b/devel/jdk/1.3/pkg/PFRAG.no-no_plugin-jre index 85c6045f0bb..e69de29bb2d 100644 --- a/devel/jdk/1.3/pkg/PFRAG.no-no_plugin-jre +++ b/devel/jdk/1.3/pkg/PFRAG.no-no_plugin-jre @@ -1,50 +0,0 @@ -@comment $OpenBSD: PFRAG.no-no_plugin-jre,v 1.2 2004/09/14 23:43:56 espie Exp $ -${JREHOME}/ControlPanel.html -${JREHOME}/bin/ControlPanel -${JREHOME}/bin/${MACHINE_ARCH}/green_threads/java_vm -${JREHOME}/lib/${MACHINE_ARCH}/libjavaplugin_jni.so -${JREHOME}/lib/javaplugin.jar -${JREHOME}/lib/locale/ -${JREHOME}/lib/locale/de/ -${JREHOME}/lib/locale/de/LC_MESSAGES/ -${JREHOME}/lib/locale/de/LC_MESSAGES/sunw_java_plugin.mo -${JREHOME}/lib/locale/es/ -${JREHOME}/lib/locale/es/LC_MESSAGES/ -${JREHOME}/lib/locale/es/LC_MESSAGES/sunw_java_plugin.mo -${JREHOME}/lib/locale/fr/ -${JREHOME}/lib/locale/fr/LC_MESSAGES/ -${JREHOME}/lib/locale/fr/LC_MESSAGES/sunw_java_plugin.mo -${JREHOME}/lib/locale/it/ -${JREHOME}/lib/locale/it/LC_MESSAGES/ -${JREHOME}/lib/locale/it/LC_MESSAGES/sunw_java_plugin.mo -${JREHOME}/lib/locale/ja/ -${JREHOME}/lib/locale/ja/LC_MESSAGES/ -${JREHOME}/lib/locale/ja/LC_MESSAGES/sunw_java_plugin.mo -${JREHOME}/lib/locale/ko/ -${JREHOME}/lib/locale/ko.UTF-8/ -${JREHOME}/lib/locale/ko.UTF-8/LC_MESSAGES/ -${JREHOME}/lib/locale/ko.UTF-8/LC_MESSAGES/sunw_java_plugin.mo -${JREHOME}/lib/locale/ko/LC_MESSAGES/ -${JREHOME}/lib/locale/ko/LC_MESSAGES/sunw_java_plugin.mo -${JREHOME}/lib/locale/sv/ -${JREHOME}/lib/locale/sv/LC_MESSAGES/ -${JREHOME}/lib/locale/sv/LC_MESSAGES/sunw_java_plugin.mo -${JREHOME}/lib/locale/zh/ -${JREHOME}/lib/locale/zh.GBK/ -${JREHOME}/lib/locale/zh.GBK/LC_MESSAGES/ -${JREHOME}/lib/locale/zh.GBK/LC_MESSAGES/sunw_java_plugin.mo -${JREHOME}/lib/locale/zh/LC_MESSAGES/ -${JREHOME}/lib/locale/zh/LC_MESSAGES/sunw_java_plugin.mo -${JREHOME}/lib/locale/zh_TW/ -${JREHOME}/lib/locale/zh_TW.BIG5/ -${JREHOME}/lib/locale/zh_TW.BIG5/LC_MESSAGES/ -${JREHOME}/lib/locale/zh_TW.BIG5/LC_MESSAGES/sunw_java_plugin.mo -${JREHOME}/lib/locale/zh_TW/LC_MESSAGES/ -${JREHOME}/lib/locale/zh_TW/LC_MESSAGES/sunw_java_plugin.mo -${JREHOME}/plugin/${MACHINE_ARCH}/ -${JREHOME}/plugin/${MACHINE_ARCH}/ns4/ -${JREHOME}/plugin/${MACHINE_ARCH}/ns4/javaplugin.so -${JREHOME}/plugin/${MACHINE_ARCH}/ns4/javaplugin_g.so -${JREHOME}/plugin/${MACHINE_ARCH}/ns600/ -${JREHOME}/plugin/${MACHINE_ARCH}/ns600/libjavaplugin_oji.so -${JREHOME}/plugin/${MACHINE_ARCH}/ns600/libjavaplugin_oji_g.so diff --git a/devel/jdk/1.3/pkg/PLIST b/devel/jdk/1.3/pkg/PLIST index dbf821f01c7..e86b42a04ed 100644 --- a/devel/jdk/1.3/pkg/PLIST +++ b/devel/jdk/1.3/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $OpenBSD: PLIST,v 1.5 2004/10/12 20:46:22 naddy Exp $ +@comment $OpenBSD: PLIST,v 1.6 2005/06/03 17:27:54 kurt Exp $ @option no-default-conflict @conflict jdk->=1.3,<1.4 ${JDKHOME}/ @@ -815,7 +815,6 @@ ${JDKHOME}/jre/bin/${MACHINE_ARCH}/green_threads/serialver ${JDKHOME}/jre/bin/${MACHINE_ARCH}/green_threads/serialver_g ${JDKHOME}/jre/bin/${MACHINE_ARCH}/green_threads/tnameserv ${JDKHOME}/jre/bin/${MACHINE_ARCH}/green_threads/tnameserv_g -@comment ${JDKHOME}/jre/bin/${MACHINE_ARCH}/native_threads/ ${JDKHOME}/jre/bin/java ${JDKHOME}/jre/bin/keytool ${JDKHOME}/jre/bin/policytool @@ -952,4 +951,3 @@ ${JDKHOME}/man/man1/ @man ${JDKHOME}/man/man1/serialver.1 @man ${JDKHOME}/man/man1/tnameserv.1 ${JDKHOME}/src.jar -!%%no_plugin%% diff --git a/devel/jdk/1.3/pkg/PLIST-jre b/devel/jdk/1.3/pkg/PLIST-jre index 800431b7f9c..f5b82bce028 100644 --- a/devel/jdk/1.3/pkg/PLIST-jre +++ b/devel/jdk/1.3/pkg/PLIST-jre @@ -1,4 +1,4 @@ -@comment $OpenBSD: PLIST-jre,v 1.4 2004/10/12 20:46:22 naddy Exp $ +@comment $OpenBSD: PLIST-jre,v 1.5 2005/06/03 17:27:54 kurt Exp $ @option no-default-conflict @conflict jre->=1.3,<1.4 ${JREHOME}/ @@ -35,7 +35,6 @@ ${JREHOME}/bin/${MACHINE_ARCH}/green_threads/rmid ${JREHOME}/bin/${MACHINE_ARCH}/green_threads/rmiregistry ${JREHOME}/bin/${MACHINE_ARCH}/green_threads/serialver ${JREHOME}/bin/${MACHINE_ARCH}/green_threads/tnameserv -@comment ${JREHOME}/bin/${MACHINE_ARCH}/native_threads/ ${JREHOME}/bin/java ${JREHOME}/bin/keytool ${JREHOME}/bin/policytool @@ -130,4 +129,3 @@ ${JREHOME}/man/man1/ @man ${JREHOME}/man/man1/rmiregistry.1 @man ${JREHOME}/man/man1/tnameserv.1 ${JREHOME}/plugin/ -!%%no_plugin%% diff --git a/devel/jdk/1.3/systrace.policy b/devel/jdk/1.3/systrace.policy deleted file mode 100644 index 2818107a598..00000000000 --- a/devel/jdk/1.3/systrace.policy +++ /dev/null @@ -1,163 +0,0 @@ -# $OpenBSD: systrace.policy,v 1.1 2005/02/20 11:18:55 sturm Exp $ -Policy: ${LOCALBASE}/jdk1.3.1-linux/bin/i386/green_threads/jar, Emulation: linux - linux-brk: permit - linux-close: permit - linux-exit: permit - linux-fcntl64: permit - linux-fsread: true then permit - linux-fstat64: permit - linux-fswrite: filename match "${WRKDIR}" then permit - linux-fswrite: filename match "/tmp" then permit - linux-getcwd: permit - linux-getdents64: permit - linux-getegid: permit - linux-geteuid: permit - linux-getgid: permit - linux-getpid: permit - linux-getrlimit: permit - linux-gettimeofday: permit - linux-getuid: permit - linux-ioctl: permit - linux-llseek: permit - linux-lstat64: permit - linux-mmap: permit - linux-mprotect: permit - linux-mremap: permit - linux-munmap: permit - linux-read: permit - linux-rt_sigaction: permit - linux-rt_sigprocmask: permit - linux-setrlimit: permit - linux-socketcall: permit - linux-stat64: permit - linux-time: permit - linux-uname: permit - linux-write: permit - linux-writev: permit - -Policy: ${LOCALBASE}/jdk1.3.1-linux/bin/i386/green_threads/java, Emulation: linux - linux-brk: permit - linux-close: permit - linux-exit: permit - linux-fcntl64: permit - linux-fsread: true then permit - linux-fstat64: permit - linux-fswrite: filename match "${WRKDIR}" then permit - linux-fswrite: filename match "/tmp" then permit - linux-getcwd: permit - linux-getdents64: permit - linux-getegid: permit - linux-geteuid: permit - linux-getgid: permit - linux-getpid: permit - linux-getrlimit: permit - linux-gettimeofday: permit - linux-getuid: permit - linux-ioctl: permit - linux-llseek: permit - linux-lstat64: permit - linux-mmap: permit - linux-mprotect: permit - linux-munmap: permit - linux-read: permit - linux-rt_sigaction: permit - linux-rt_sigprocmask: permit - linux-setrlimit: permit - linux-socketcall: permit - linux-stat64: permit - linux-time: permit - linux-uname: permit - linux-write: permit - linux-writev: permit - -Policy: ${LOCALBASE}/jdk1.3.1-linux/bin/i386/green_threads/javac, Emulation: linux - linux-brk: permit - linux-close: permit - linux-exit: permit - linux-fcntl64: permit - linux-fsread: true then permit - linux-fstat64: permit - linux-fswrite: filename match "${WRKDIR}" then permit - linux-fswrite: filename match "/tmp" then permit - linux-getcwd: permit - linux-getdents64: permit - linux-getegid: permit - linux-geteuid: permit - linux-getgid: permit - linux-getpid: permit - linux-getrlimit: permit - linux-gettimeofday: permit - linux-getuid: permit - linux-ioctl: permit - linux-llseek: permit - linux-lstat64: permit - linux-mmap: permit - linux-mprotect: permit - linux-munmap: permit - linux-read: permit - linux-rt_sigaction: permit - linux-rt_sigprocmask: permit - linux-setrlimit: permit - linux-socketcall: permit - linux-stat64: permit - linux-time: permit - linux-uname: permit - linux-write: permit - linux-writev: permit - -Policy: ${LOCALBASE}/jdk1.3.1-linux/bin/i386/green_threads/javah, Emulation: linux - linux-brk: permit - linux-close: permit - linux-exit: permit - linux-fcntl64: permit - linux-fsread: true then permit - linux-fstat64: permit - linux-fswrite: filename match "${WRKDIR}" then permit - linux-fswrite: filename match "/tmp" then permit - linux-getcwd: permit - linux-getdents64: permit - linux-getegid: permit - linux-geteuid: permit - linux-getgid: permit - linux-getpid: permit - linux-getrlimit: permit - linux-gettimeofday: permit - linux-getuid: permit - linux-ioctl: permit - linux-llseek: permit - linux-lstat64: permit - linux-mmap: permit - linux-mprotect: permit - linux-munmap: permit - linux-read: permit - linux-rt_sigaction: permit - linux-rt_sigprocmask: permit - linux-setrlimit: permit - linux-socketcall: permit - linux-stat64: permit - linux-time: permit - linux-uname: permit - linux-write: permit - linux-writev: permit - -Policy: ${LOCALBASE}/jdk1.3.1-linux/jre/bin/i386/realpath, Emulation: linux - linux-brk: permit - linux-close: permit - linux-exit: permit - linux-fsread: true then permit - linux-fstat64: permit - linux-fswrite: filename match "${WRKDIR}" then permit - linux-fswrite: filename match "/tmp" then permit - linux-getegid: permit - linux-geteuid: permit - linux-getgid: permit - linux-getuid: permit - linux-lstat64: permit - linux-mmap: permit - linux-mremap: permit - linux-munmap: permit - linux-read: permit - linux-uname: permit - linux-write: permit - linux-writev: permit -