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
I know on Android it was just plain impossible to generate new classes through JNI, so I dropped it, but with regular Java it would be possible, in theory, to generate some Java bytecode that has a stub class forwards to a D class and subclass things that way. But yeah, it is easier said than done.
The best way to use this is to call Java methods from D and then write little Java classes in Java with native methods you implement on the D side. This makes doing things like callbacks a pain since all those delegate classes will need Java stubs.
Is this possible? Just noticed interfaces and classes are all translated as
final class
😱 and there's a comment sayingso maybe this is a genuinely hard problem?
The text was updated successfully, but these errors were encountered: