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
To use native interfaces like this, LibraryLoaders should ignore default methods while generating a new stub.
I understand that the library is currently targeted for jdk7+, but I hope, there is a workaround to implement this feature for jdk8+ only.
I'd like to know your opinion about this feature.
The text was updated successfully, but these errors were encountered:
This issue is about my idea, that, I think, will be very useful.
Native API methods are often designed agains java code conventions (which is normal). A common example is:
where method returns an error code. Java variant of the method whould look like this:
So the default method feature, that appeared in Java 8, can be used to bring some comfort in your code.
To use native interfaces like this, LibraryLoaders should ignore default methods while generating a new stub.
I understand that the library is currently targeted for jdk7+, but I hope, there is a workaround to implement this feature for jdk8+ only.
I'd like to know your opinion about this feature.
The text was updated successfully, but these errors were encountered: