One thing to care about is to take correct corresponding jar file for
each gc library. How this can be solved?
--
Ivan

On 10/20/06, Gregory Shimansky <[EMAIL PROTECTED]> wrote:
Alex Astapchuk wrote:
> Mikhail Fursov :
>> On 10/20/06, Alex Astapchuk <[EMAIL PROTECTED]> 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) ;-)

I like this way too. I didn't know about System.load method, it fits
perfectly here. One small correction, it should be
System.loadLibrary("gc") without ".dll".

--
Gregory Shimansky, Intel Middleware Products Division


--
Ivan
Intel Enterprise Solutions Software Division

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to