[Soot-list] unoptimized class files

Marco Bakera marco.bakera at uni-dortmund.de
Mon Feb 7 05:19:34 EST 2005


Hey,

I need some totally unoptimized class files from my source. Turning
erverything off in the eclipse plugin of soot will result in an exception:

java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at ca.mcgill.sable.soot.launching.SootThread.run(SootThread.java:94)
Caused by: java.lang.RuntimeException: invalid toType from double: double
	at
soot.baf.internal.BPrimitiveCastInst$1.caseDoubleType(BPrimitiveCastInst.java:109)
	at soot.DoubleType.apply(DoubleType.java:63)
	at soot.baf.internal.BPrimitiveCastInst.getName(BPrimitiveCastInst.java:93)
	at
soot.baf.internal.BPrimitiveCastInst.toString(BPrimitiveCastInst.java:194)
	at soot.baf.JasminClass$2.casePrimitiveCastInst(JasminClass.java:1776)
	at soot.baf.internal.BPrimitiveCastInst.apply(BPrimitiveCastInst.java:200)
	at soot.baf.JasminClass.emitInst(JasminClass.java:651)
	at soot.baf.JasminClass.emitMethodBody(JasminClass.java:580)
	at soot.baf.JasminClass.emitMethod(JasminClass.java:395)
	at soot.baf.JasminClass.<init>(JasminClass.java:302)
	at soot.Printer.write(Printer.java:243)
	at soot.PackManager.writeClass(PackManager.java:563)
	at soot.PackManager.writeOutput(PackManager.java:325)
	at soot.PackManager.writeOutput(PackManager.java:285)
	at soot.Main.run(Main.java:181)
	at soot.Main.main(Main.java:154)
	... 5 more


How could I manage to get a class file which has none of the optimization
run through.

Thanks for help.

Marco Bakera,
university of Dortmund, Germany.





More information about the Soot-list mailing list