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
The duchess::java module does not expose any of the nio types. I can write my own bindings for java.nio.ByteBuffer, but I can't figure out how to refer to that in my javax package.
duchess::java_package! {
package javax.net.ssl;
class SSLEngine{
public javax.net.ssl.SSLEngineResult wrap(java.nio.ByteBuffer, java.nio.ByteBuffer) throws javax.net.ssl.SSLException;
public abstract java.lang.String[] getEnabledCipherSuites();}}
This results in the following error
--> bench/src/coffee/java_def.rs:227:5
|
227 | class SSLEngine {
| ^^^^^ could not find `nio` in `java`
|
help: consider importing this module
|
187 | package javax.net.use crate::coffee::java_def::java::nio;
| +++++++++++++++++++++++++++++++++++++++
While maybe I could bring my own java package into scope, I still need access to the duchess::java package for java.lang.String[] and other similar types.
The text was updated successfully, but these errors were encountered:
I want to expose the following method, but I'm uncertain whether this is possible.
The
duchess::java
module does not expose any of thenio
types. I can write my own bindings forjava.nio.ByteBuffer
, but I can't figure out how to refer to that in my javax package.This results in the following error
While maybe I could bring my own
java
package into scope, I still need access to theduchess::java
package forjava.lang.String[]
and other similar types.The text was updated successfully, but these errors were encountered: