hotspot/agent/make/start-debug-server
author jjg
Thu, 18 Feb 2010 15:41:36 -0800
changeset 4940 256e46854879
parent 1 489c9b5090e2
permissions -rw-r--r--
6927797: langtools/test/tools/javac/EarlyAssert.java fails when run with assertions enabled (-ea) Reviewed-by: darcy
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
     1
#!/bin/sh
489c9b5090e2 Initial load
duke
parents:
diff changeset
     2
489c9b5090e2 Initial load
duke
parents:
diff changeset
     3
STARTDIR=`dirname $0`
489c9b5090e2 Initial load
duke
parents:
diff changeset
     4
489c9b5090e2 Initial load
duke
parents:
diff changeset
     5
if [ "x$SA_JAVA" = "x" ]; then
489c9b5090e2 Initial load
duke
parents:
diff changeset
     6
   SA_JAVA=java
489c9b5090e2 Initial load
duke
parents:
diff changeset
     7
fi
489c9b5090e2 Initial load
duke
parents:
diff changeset
     8
489c9b5090e2 Initial load
duke
parents:
diff changeset
     9
if [ -f $STARTDIR/sa.jar ] ; then
489c9b5090e2 Initial load
duke
parents:
diff changeset
    10
  CP=$STARTDIR/sa.jar
489c9b5090e2 Initial load
duke
parents:
diff changeset
    11
else
489c9b5090e2 Initial load
duke
parents:
diff changeset
    12
  CP=$STARTDIR/../build/classes
489c9b5090e2 Initial load
duke
parents:
diff changeset
    13
fi
489c9b5090e2 Initial load
duke
parents:
diff changeset
    14
489c9b5090e2 Initial load
duke
parents:
diff changeset
    15
# License file for development version of dbx
489c9b5090e2 Initial load
duke
parents:
diff changeset
    16
setenv LM_LICENSE_FILE 7588@extend.eng:/usr/dist/local/config/sparcworks/license.dat:7588@setlicense
489c9b5090e2 Initial load
duke
parents:
diff changeset
    17
489c9b5090e2 Initial load
duke
parents:
diff changeset
    18
$SA_JAVA -Xbootclasspath/p:$CP -Djava.rmi.server.codebase=file:/$CP -Djava.security.policy=$STARTDIR\/grantAll.policy sun.jvm.hotspot.DebugServer $*