You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When invoking method from instances of class, which implement interfaces, declared in Java as public @interface SomeInterface - then throws java.lang.IncompatibleClassChangeError. But if use that in Java classes - all works fine. Now to solve this problem used workaround which use static methods from Java-class with additional argument of this-object.
for example:
// In Scala
...
valcolumn:TableColumnImpl= getSomeFuncReturn_TableColumnImpl
valwidthScala= column.width // throw IncompatibleClassChangeErrorvalwidthJava=TableWorkAround.width(column) // works fine
when disassembly
in scala call of method -> invokeinterface
in java call of method -> invokevirtual
Full bundle, which replicates this behaviour in bundle.zip, which attached