Leo Li wrote:
Hi, all:
During the self-hosting of Derby, I found a security policy if is
applied will lead to errors in loading the class of JarFile. IBM vm
will throw java/lang/UnsatisfiedLinkError: java/util/zip/ZipFile.ntvi
while
drlvm will crash with SEH handler: shutdown errorSEH
A little further hack shows that, the cause is o.a.h.luni.util.Msg
cannot be initialized so early, which is the exception message i18n
helper class. Its static init codes try to load ResourceBundle but
failed. The new i18n helper o.a.h.l.internal.nls.Messages has same
issue. I modified the
Can't we use lazy initialization here? I had similar experience with
this class in the past, and think it should not be so fragile to
initialization sequence. And definitely it should not affect whole VM
run.
2006/10/18, Paulex Yang [EMAIL PROTECTED]:
A little further hack shows that, the cause
Alexey Varlamov wrote:
Can't we use lazy initialization here? I had similar experience with
this class in the past, and think it should not be so fragile to
initialization sequence. And definitely it should not affect whole VM
run.
It's tricky to ensure the initialization sequence is solid
It is quite a dilemma: VM is free to choose the strategy of loading library
while the sequence is related to classlib.
In my opinion, it is classlib that has enough information and the
responsibility to decide the library loading sequence.
Since the launcher is in the control of classlib, is it
2006/10/19, Leo Li [EMAIL PROTECTED]:
It is quite a dilemma: VM is free to choose the strategy of loading library
while the sequence is related to classlib.
In my opinion, it is classlib that has enough information and the
responsibility to decide the library loading sequence.
Since the
But there really contains code about launcher in Harmony/luni, and this
part is maintained by Harmony classlib but not VM. :)
On 10/19/06, Alexey Varlamov [EMAIL PROTECTED] wrote:
2006/10/19, Leo Li [EMAIL PROTECTED]:
It is quite a dilemma: VM is free to choose the strategy of loading
2006/10/19, Leo Li [EMAIL PROTECTED]:
But there really contains code about launcher in Harmony/luni, and this
part is maintained by Harmony classlib but not VM. :)
Um, I thought all Harmony code is maintained by us community ;)
As discussed in an older thread, launcher will be moved to tools
Ok. I will call it runing Derby on Harmony.:)
On 10/14/06, Tim Ellison [EMAIL PROTECTED] wrote:
Leo Li wrote:
During the self-hosting of Derby...
Minor nit, but as Sian pointed out before we would usually reserve
'self-hosting' to mean using Harmony in development of the project
itself, i.e.
Leo Li wrote:
During the self-hosting of Derby...
Minor nit, but as Sian pointed out before we would usually reserve
'self-hosting' to mean using Harmony in development of the project
itself, i.e. self hosting in the build system or using Eclipse. I don't
consider running other apps as
Hi, all:
During the self-hosting of Derby, I found a security policy if is
applied will lead to errors in loading the class of JarFile. IBM vm
will throw java/lang/UnsatisfiedLinkError: java/util/zip/ZipFile.ntvi while
drlvm will crash with SEH handler: shutdown errorSEH handler: too many
Sorry forget the security policy file.
And I add it as the attachment.
On 10/13/06, Leo Li [EMAIL PROTECTED] wrote:
Hi, all:
During the self-hosting of Derby, I found a security policy if is applied will lead toerrors in loading the class of JarFile. IBM vm willthrow
I have tried on classlib r454653, drlvm r454551 and got the same result.
On 10/13/06, Leo Li [EMAIL PROTECTED] wrote:
Sorry forget the security policy file.
And I add it as the attachment.
On 10/13/06, Leo Li [EMAIL PROTECTED] wrote:
Hi, all:
During the self-hosting of Derby, I found
13 matches
Mail list logo