#!/bin/sh
# Back door for passing arguments to java: -J-ms16m, etc.
jav= cav=
for a do
 if ja=`expr "$a" : '-J\(..*\)'`
 then jav="$jav $ja"
 else cav="$cav $a"
fi; done

progname=java
if [ -n "$NS_JAVA" ]
then
    progname="${progname}_ns"
elif [ -n "$DYN_JAVA" ]
then
    progname="${progname}_dyn"
fi

`dirname $0`/${progname} -ms8m $jav sun.tools.javap.JavaP $cav
