licel / jcardsim

https://jcardsim.org
223 stars 123 forks source link

Did not invoke my applet's install method #160

Open typelogic opened 4 years ago

typelogic commented 4 years ago

This is for simulation purposes only, I tried to use Kotlin for my Applet class.

I tried different ways in the constructor and types ByteArray vs ByteBuffer, but the install method is not invoked. Is this due to Kotlin?

class MyApplet (bArray: ByteArray, bOffset: Short, bLength: Byte) : MyBaseApplet(bArray, bOffset, bLength) { companion object { @JvmStatic fun install(bArray: ByteArray, bOffset: Short, bLength: Byte) { println("please call me") } } } I used jcardsim versions 3.0.5.9 and 3.0.5.11. And java 1.8,