On Jan 26, 2013, at 8:26 AM, Peter Firmstone <j...@zeus.net.au> wrote:
> There are parts of Jini that depend on proprietary sun jvm namespace, > preventing it from compiling on other jvm's: > > Compiling 863 source files to > C:\Users\peter\Documents\NetBeansProjects\peterConcurrentPolicy\build\classes > C:\Users\peter\Documents\NetBeansProjects\peterConcurrentPolicy\src\com\sun\jini\phoenix\SunJrmpExporter.java:31: > warning: sun.rmi.server.UnicastServerRef is Sun proprietary API and may be > removed in a future release The JRMP exporter is just a way to use Exporters with standard RMI rather than JERI. You could convert that into a separate distribution that was specific to the Sun/Oracle JVM. Of course, since the things in question are part of RMI, they are probably part of most Java implementations anyway. Definitely separate from JERI. > import sun.rmi.server.MarshalInputStream; > C:\Users\peter\Documents\NetBeansProjects\peterConcurrentPolicy\src\com\sun\jini\phoenix\RegistrySunExporter.java:29: > warning: sun.rmi.server.UnicastServerRef is Sun proprietary API and may be > removed in a future release Hmm, not as sure about this one. Is this exporter needed for Phoenix? Do you view activation as an important part of JERI, or could that be split out as well? - Tim