You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@river.apache.org by Dawid Loubser <da...@travellinck.com> on 2014/05/22 10:55:47 UTC

Re: Dependency on Sun internal API's [Duplicate Apology]

Apologies for the partial duplicate message, silly mail client on slow
internet connection...

On 22/05/2014 10:51, Dawid Loubser wrote:
> Wow Peter, that sounds great! One would have to think one of the
> target (niche) environments of River is that requiring some of these
> other more interesting Java V/Ms./
>
> Dawid
>
>
> On 22/05/2014 06:29, Peter Firmstone wrote:
>> Presently we are prevented from compilling and running on J9, JRockit
>> or other Java VM's.
>>
>> I've been able to modify Phoenix to use reflection at runtime to call
>> Sun private implementations, meaning that Phoenix is strictly a Sun
>> JVM only component, but would no longer prevent compilling and
>> testing on other architectures.
>>
>> There is one test that,
>> com.sun.jini.test.impl.reggie.MultiHomedClientTest that uses the
>> following internal sun API:
>>
>> sun.net.spi.nameservice.NameService;
>> sun.net.spi.nameservice.NameServiceDescriptor;
>>
>> If I was to change this test and associated classes to .txt
>> extensions, we could run these manually on Sun's JVM, while allowing
>> River to build on other architectures.
>>
>> Regards,
>>
>> Peter.
>