Open GoogleCodeExporter opened 8 years ago
You have to use TDSI with the SWF so __cint will be replaced with the
appropriate bytecodes.
One could change __cint to return the value or throw an exception.
Original comment by joaebert
on 4 Sep 2011 at 7:54
No problem. @joa what do you prefer throw or return ?
Original comment by leclech.patrick
on 4 Sep 2011 at 7:59
[deleted comment]
Unfortunately, when i try to use TDSI with my swf, I get the following
exception:
C:\tools\apparat>tdsi -i detector.swf -o detector_out.swf
java.lang.VerifyError: (class:
apparat/tools/tdsi/TurboDieselSportInjection$TDSITool, method: run signature:
()V) Incomp
atible argument to function
at apparat.tools.tdsi.TurboDieselSportInjection$.main(TurboDieselSportInjection.scala:40)
at apparat.tools.tdsi.TurboDieselSportInjection.main(TurboDieselSportInjection.scala)
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:597)
at scala.tools.nsc.util.ScalaClassLoader$$anonfun$run$1.apply(ScalaClassLoader.scala:78)
at scala.tools.nsc.util.ScalaClassLoader$class.asContext(ScalaClassLoader.scala:24)
at scala.tools.nsc.util.ScalaClassLoader$URLClassLoader.asContext(ScalaClassLoader.scala:88)
at scala.tools.nsc.util.ScalaClassLoader$class.run(ScalaClassLoader.scala:78)
at scala.tools.nsc.util.ScalaClassLoader$URLClassLoader.run(ScalaClassLoader.scala:101)
at scala.tools.nsc.ObjectRunner$.run(ObjectRunner.scala:33)
at scala.tools.nsc.ObjectRunner$.runAndCatch(ObjectRunner.scala:40)
at scala.tools.nsc.MainGenericRunner.runTarget$1(MainGenericRunner.scala:56)
at scala.tools.nsc.MainGenericRunner.process(MainGenericRunner.scala:80)
at scala.tools.nsc.MainGenericRunner$.main(MainGenericRunner.scala:89)
at scala.tools.nsc.MainGenericRunner.main(MainGenericRunner.scala)
Am I doing something wrong? I have scala in 2.9.1 version.
Original comment by aurelia....@gmail.com
on 4 Sep 2011 at 8:18
Apparat was built against Scala 2.8.1 so unfortunately it is not compatible to
2.9.1 at the moment.
Original comment by joaebert
on 4 Sep 2011 at 8:24
Thank you very much for great support :) Now everything works like a charm.
Original comment by aurelia....@gmail.com
on 5 Sep 2011 at 5:16
Original issue reported on code.google.com by
aurelia....@gmail.com
on 4 Sep 2011 at 7:25