Build fail: interface MemoryAddressProxy not exported

Ty Young youngty1997 at gmail.com
Thu Mar 12 22:33:39 UTC 2020


Hi,


Current foreign-jextract builds fail with:


/home/ty/Downloads/panama-foreign-foreign-jextract2/src/jdk.incubator.foreign/share/classes/jdk/internal/foreign/MemoryAddressImpl.java:41: 
warning: [exports] interface MemoryAddressProxy in module java.base may 
not be visible to all clients that require this module
public final class MemoryAddressImpl implements MemoryAddress, 
MemoryAddressProxy {


MemoryAddressProxy isn't even used in public API besides VarHandle get() 
and set() methods(even then, it's not transparent) so I'm assuming this 
is being leaked in error.



More information about the panama-dev mailing list