harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Fursov" <mike.fur...@gmail.com>
Subject Re: [drlvm] Using JNI methods in VM's components.
Date Fri, 20 Oct 2006 11:30:28 GMT
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! :)
Pavel ?

-- 
Mikhail Fursov

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message