Open typelogic opened 4 years ago
This is for simulation purposes only, I tried to use Kotlin for my Applet class.
Kotlin
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,
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") } } }
3.0.5.9
3.0.5.11
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 versions3.0.5.9
and3.0.5.11
. And java 1.8,