harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Astapchuk <alex.astapc...@gmail.com>
Subject Re: [drlvm] Using JNI methods in VM's components.
Date Fri, 20 Oct 2006 11:35:31 GMT
Mikhail Fursov :
> On 10/20/06, Alex Astapchuk <alex.astapchuk@gmail.com> wrote:
>>
>> Yeap.
>> The following addresse both your issues.
>>
>>
>> class GCv5Magics {
>>       static {
>>         String gcPath = System.getProperty("vm.gc_dll");
>>         if (gcPath == null) {
>>           System.load(gcPath);
>>         }
>>         else {
>>           System.loadLibrary("gc.dll");
>>         }
>>       }
>>   }
>>
>>
> I like this approach! :)


You will like it even more with a patch (already posted) ;-)


-- 
Thanks,
   Alex


---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message