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. Part 2.
Date Sat, 28 Oct 2006 07:08:12 GMT
On 10/28/06, Xiao-Feng Li <xiaofeng.li@gmail.com> wrote:
> For helpers, we can let the owning components to initialize them
> through VM interfaces if this is possible. And this is done when the
> owning components are initialized by the VM.

Components are initialized before any Java code is executed. So it's unsafe
to call Java method during components initialization.
IMO the good point to initialize helper class is to do it in VMStart class.

Mikhail Fursov

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