Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Dec 1998 09:12:53 -0700
From:      Nate Williams <nate@mt.sri.com>
To:        freebsd-java@FreeBSD.ORG
Subject:   Patch to JDK1.1.7.V98-12-21
Message-ID:  <199812221612.JAA06204@mt.sri.com>

next in thread | raw e-mail | index | archive | help
I screwed up the appletviewer when I merged in the Sun sources.
Unfortunately, I don't have time to re-roll the release as I'm leaving
in about an hour to my parents, so below you'll find the a patch for the
file jdk1.1.7/bin/i386/green_threads/appletviewer.

If someone who has commit privs' can fixup the JDK port to do the right
thing I'd appreciate it!

Thanks, and sorry about that!


Nate
----------------
Index: appletviewer.sh
===================================================================
RCS file: /data/java/CVS/javasrc/src/freebsd/bin/appletviewer.sh,v
retrieving revision 1.5
diff -u -r1.5 appletviewer.sh
--- appletviewer.sh	1998/11/07 00:16:47	1.5
+++ appletviewer.sh	1998/12/22 16:09:04
@@ -36,6 +36,7 @@
 #
 # Run the applet viewer. We hardwire the debugger's class -- oh, well.
 #
+curdir=`dirname $0`
 if test "$debugging" = "true"
 then
     if [ -x $curdir/java_g_X ]; then
@@ -43,7 +44,7 @@
     else
        prog=java_g
     fi
-    `dirname $0`/$prog $RUNTIME_ARGS sun.tools.ttydebug.TTY \
+    $curdir/$prog $RUNTIME_ARGS sun.tools.ttydebug.TTY \
                                           sun.applet.AppletViewer ${args}
 else
     if [ -x $curdir/java_X ]; then
@@ -51,5 +52,5 @@
     else
        prog=java
     fi
-    `dirname $0`/$prog $RUNTIME_ARGS sun.applet.AppletViewer ${args}
+    $curdir/$prog $RUNTIME_ARGS sun.applet.AppletViewer ${args}
 fi

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812221612.JAA06204>