Is there anyone here knowledgeable in clojure.lang.Reflector
who can weigh in here? we're a little stumped... https://clojureverse.org/t/weird-java-interop-issues/4395/12?u=plexus
com.sun.media.sound.PortMixer is not a public class @plexus
there are two levels of "public"-ness in Java 9+
to call something you need 1) a public class
2) if that class comes from a Java module (I think this one does) the module needs to mark the package as exported
you have 1 but not 2, I suspect
but this only relates to calls through reflection? You can still call it when properly type hinted?
there is likely a public interface that you should be typehinting to
not the concrete class
<del>it works when type hinting to the concrete class though</del>
I take that back, you are absolutely right.
thanks a lot!
np, if you see com.sun it's almost always an impl of a public interface