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 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
shutdown errors..."
>
> Here is the testcase:
>
>
> import java.util.jar.*;
> public class TestJarFile {
>
> public static void main(String[] args) throws Exception{
> System.out.println(JarFile.CENATT);
> }
>
> }
>
> And the attachment is the derby_tests.policy.
>
> Then run:
>
> java -Djava.security.manager
-Djava.security.policy=derby_tests.policy TestJarFile
>
> Run passes,
>
> Harmony on IBM VM fails with java/lang/UnsatisfiedLinkError:
java/util/zip/ZipFile.ntvi
>
> Harmony on Drlvm fails with SEH handler: shutdown errorSEH handler: too
many shutdown errors
>
> If the security manager is not specified, Harmony passes.
>
>
> --
> Leo Li
> China Software Development Lab, IBM
--
Leo Li
China Software Development Lab, IBM
---------------------------------------------------------------------
Terms of use :
http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]
--
Tony Wu
China Software Development Lab, IBM
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]