Re: [Sisc-users] Java's stack inspection with SISC
Brought to you by:
mradestock,
scgmille
From: Matthias R. <mat...@so...> - 2004-11-29 19:19:21
|
Michael Tschantz wrote: > Hi, > > I am trying to get SISC to work with Java's stack inspection. To get Java > to use stack inspection while running a program named "sample.SampleAzn", > I use the command > > java -classpath SampleAzn.jar:SampleAction.jar -Djava.security.manager > -Djava.security.policy=="sampleazn.policy" sample.SampleAzn > > where "sampleazn.policy" is the access-control policy. To use stack > inspection with SISC, I made a SISC Scheme file that simply calls the main > method of sample.SampleAzn and changed the second last line of the script > named sisc by adding the needed files to the classpath and adding > > -Djava.security.manager -Djava.security.policy=="sampleazn.policy" > > to get > > $JAVA $JAVAOPT -classpath > $SISC_HOME/sisc-opt.jar${D}$SISC_HOME/sisc.jar${D}$SISC_HOME/sisc-lib.jar${D}SampleAzn.jar${D}SampleAction.jar${D}$CLASSPATH > -Dsisc.home=$SISC_HOME sisc.REPL -h $SISC_HOME/sisc.shp $PROPERTIES > $EXTENSIONS -Djava.security.manager > -Djava.security.policy=="sampleazn.policy" "$@" > > This, however, does not result the stack inspection working. You need to place all -D before the class, i.e. before sisc.REPL. Matthias. |