You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by "Geir Magnusson Jr." <ge...@pobox.com> on 2006/12/14 09:48:40 UTC

[general] things are broken?

We seem to be very broken right now.  Can anyone verify classlib tests 
passing using either J9 or DRLVM?

geir

Re: [general] things are broken?

Posted by Stepan Mishura <st...@gmail.com>.
On 12/14/06, Geir Magnusson Jr.  wrote:
>
> We seem to be very broken right now.  Can anyone verify classlib tests
> passing using either J9 or DRLVM?
>
> geir
>
It seems that Alexey Varlamov fixed classlib and DRL VM (r487015) - all
classlib tests pass for me on Linux with J9 and DRL VM.

But I still see CC is down on IBM's machine and I assume that the cause
is intermittent awt/swing tests failures. (At least I'm not able to
reproduce failures (r487130))

Thanks,
Stepan Mishura
Intel Enterprise Solutions Software Division

Re: [general] things are broken?

Posted by Tim Ellison <t....@gmail.com>.
Alexey Varlamov wrote:
> Basically this is a bug of j9 (windows version), installed security
> manager prevents gracefull VM shutdown. DRLVM on Windows and Linux and
> J9 on Linux work fine with this.
> I'm going to revert this mod, do I need to file a JIRA?

How about moving it to a test that can be specifically excluded on IBM VME?

Regards,
Tim

Re: [general] things are broken?

Posted by Alexey Varlamov <al...@gmail.com>.
2006/12/14, Alexei Zakharov <al...@gmail.com>:
> Today in addition to my regular nio.channels.DatagramChannelTest
> failure I've got a VM (or launcher?) crash while performing [junit]
> Exec at org.apache.harmony.luni.tests.java.lang.SecurityManagerTest$checkPermissionLjava_security_PermissionTesting.
>  I suppose that Alexey V. is already working on it.
Should be fixed after r487162.

>
> Regards,
>
> 2006/12/14, tatyana doubtsova <ta...@gmail.com>:
> > I have all classlib tests passed in once mode on win XP, msvc, debug,
> > r487145, except one (http://issues.apache.org/jira/browse/HARMONY-1751)
> >
> > Thanks,
> > Tanya
> >
> >
> > On 12/14/06, Geir Magnusson Jr. <ge...@pobox.com> wrote:
> > >
> > >
> > >
> > > Alexey Varlamov wrote:
> > > > 2006/12/14, Geir Magnusson Jr. <ge...@pobox.com>:
> > > >> File a JIRA to revert a mod?  Only if there's something to be fixed
> > > >> later that you think you'll forget about.
> > > > Nope, to leave a reminder to IBM folks - in case they wanna have it
> > > > fixed in j9 too.
> > >
> > > Ah, got it. Thanks
> > >
> > > geir
> > >
> > > >
> > > >>
> > > >> If you plan to manage this until fixed, then no.
> > > >>
> > > >> geir
> > > >>
> > > >>
> > > >> Alexey Varlamov wrote:
> > > >> > Hmm. This has nothing to do with VMI - part of my latest
> > > >> > SecurityManagerTest modification leads to crash on j9@WinXP. This
> > > one:
> > > >> >
> > > >> > Index:
> > > >> >
> > > >>
> > > modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/SecurityManagerTest.java
> > > >>
> > > >> >
> > > >> > ===================================================================
> > > >> > ---
> > > >> >
> > > >>
> > > modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/SecurityManagerTest.java
> > > >>
> > > >> > (revision
> > > >> > 487033)
> > > >> > +++
> > > >> >
> > > >>
> > > modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/SecurityManagerTest.java
> > > >>
> > > >> > (working
> > > >> > copy)
> > > >> > @@ -167,18 +166,12 @@
> > > >> >     private static class
> > > >> checkPermissionLjava_security_PermissionTesting {
> > > >> >         public static void main(String[] args) {
> > > >> >             MutableSecurityManager sm = new MutableSecurityManager();
> > > >> > -
> > > >> sm.addPermission(MutableSecurityManager.SET_SECURITY_MANAGER);
> > > >> >             System.setSecurityManager(sm);
> > > >> >             try {
> > > >> > -                try {
> > > >> > -                    System.getSecurityManager().checkPermission(
> > > >> > -                            new
> > > >> RuntimePermission("createClassLoader"));
> > > >> > -                    fail("This should throw a SecurityException");
> > > >> > -                } catch (SecurityException e) {
> > > >> > -                }
> > > >> > -            } finally {
> > > >> > -                System.setSecurityManager(null);
> > > >> > -            }
> > > >> > +                System.getSecurityManager().checkPermission(
> > > >> > +                    new RuntimePermission("createClassLoader"));
> > > >> > +                fail("This should throw a SecurityException");
> > > >> > +            } catch (SecurityException ok) {}
> > > >> >         }
> > > >> >     }
> > > >> >
> > > >> > Basically this is a bug of j9 (windows version), installed security
> > > >> > manager prevents gracefull VM shutdown. DRLVM on Windows and Linux
> > > and
> > > >> > J9 on Linux work fine with this.
> > > >> > I'm going to revert this mod, do I need to file a JIRA?
> > > >> >
> > > >> > --
> > > >> > Alexey
> > > >> >
> > > >> >
> > > >> > 2006/12/14, Alexey Varlamov <al...@gmail.com>:
> > > >> >> Reproduced the crash on
> > > >> >> org.apache.harmony.luni.tests.java.lang.SecurityManagerTest
> > > >> >> Investigating...
> > > >> >>
> > > >> >> 2006/12/14, Tim Ellison <t....@gmail.com>:
> > > >> >> > Geir Magnusson Jr. wrote:
> > > >> >> > > We seem to be very broken right now.  Can anyone verify classlib
> > > >> >> tests
> > > >> >> > > passing using either J9 or DRLVM?
> > > >> >> >
> > > >> >> > LUNI tests now failing for me on IBM VME / Win XP
> > > >> >> >
> > > >> >> > I get a seg fault during shutdown of the port library in the
> > > >> launcher
> > > >> >> > code -- hyportLibrary.port_shutdown_library (&hyportLibrary);
> > > >> >> >
> > > >> >> > last good run I see is at r487110.
> > > >> >> >
> > > >> >> > Regards,
> > > >> >> > Tim
>
>
> --
> Alexei Zakharov,
> Intel ESSD
>

Re: [general] things are broken?

Posted by Alexei Zakharov <al...@gmail.com>.
Today in addition to my regular nio.channels.DatagramChannelTest
failure I've got a VM (or launcher?) crash while performing [junit]
Exec at org.apache.harmony.luni.tests.java.lang.SecurityManagerTest$checkPermissionLjava_security_PermissionTesting.
 I suppose that Alexey V. is already working on it.

Regards,

2006/12/14, tatyana doubtsova <ta...@gmail.com>:
> I have all classlib tests passed in once mode on win XP, msvc, debug,
> r487145, except one (http://issues.apache.org/jira/browse/HARMONY-1751)
>
> Thanks,
> Tanya
>
>
> On 12/14/06, Geir Magnusson Jr. <ge...@pobox.com> wrote:
> >
> >
> >
> > Alexey Varlamov wrote:
> > > 2006/12/14, Geir Magnusson Jr. <ge...@pobox.com>:
> > >> File a JIRA to revert a mod?  Only if there's something to be fixed
> > >> later that you think you'll forget about.
> > > Nope, to leave a reminder to IBM folks - in case they wanna have it
> > > fixed in j9 too.
> >
> > Ah, got it. Thanks
> >
> > geir
> >
> > >
> > >>
> > >> If you plan to manage this until fixed, then no.
> > >>
> > >> geir
> > >>
> > >>
> > >> Alexey Varlamov wrote:
> > >> > Hmm. This has nothing to do with VMI - part of my latest
> > >> > SecurityManagerTest modification leads to crash on j9@WinXP. This
> > one:
> > >> >
> > >> > Index:
> > >> >
> > >>
> > modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/SecurityManagerTest.java
> > >>
> > >> >
> > >> > ===================================================================
> > >> > ---
> > >> >
> > >>
> > modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/SecurityManagerTest.java
> > >>
> > >> > (revision
> > >> > 487033)
> > >> > +++
> > >> >
> > >>
> > modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/SecurityManagerTest.java
> > >>
> > >> > (working
> > >> > copy)
> > >> > @@ -167,18 +166,12 @@
> > >> >     private static class
> > >> checkPermissionLjava_security_PermissionTesting {
> > >> >         public static void main(String[] args) {
> > >> >             MutableSecurityManager sm = new MutableSecurityManager();
> > >> > -
> > >> sm.addPermission(MutableSecurityManager.SET_SECURITY_MANAGER);
> > >> >             System.setSecurityManager(sm);
> > >> >             try {
> > >> > -                try {
> > >> > -                    System.getSecurityManager().checkPermission(
> > >> > -                            new
> > >> RuntimePermission("createClassLoader"));
> > >> > -                    fail("This should throw a SecurityException");
> > >> > -                } catch (SecurityException e) {
> > >> > -                }
> > >> > -            } finally {
> > >> > -                System.setSecurityManager(null);
> > >> > -            }
> > >> > +                System.getSecurityManager().checkPermission(
> > >> > +                    new RuntimePermission("createClassLoader"));
> > >> > +                fail("This should throw a SecurityException");
> > >> > +            } catch (SecurityException ok) {}
> > >> >         }
> > >> >     }
> > >> >
> > >> > Basically this is a bug of j9 (windows version), installed security
> > >> > manager prevents gracefull VM shutdown. DRLVM on Windows and Linux
> > and
> > >> > J9 on Linux work fine with this.
> > >> > I'm going to revert this mod, do I need to file a JIRA?
> > >> >
> > >> > --
> > >> > Alexey
> > >> >
> > >> >
> > >> > 2006/12/14, Alexey Varlamov <al...@gmail.com>:
> > >> >> Reproduced the crash on
> > >> >> org.apache.harmony.luni.tests.java.lang.SecurityManagerTest
> > >> >> Investigating...
> > >> >>
> > >> >> 2006/12/14, Tim Ellison <t....@gmail.com>:
> > >> >> > Geir Magnusson Jr. wrote:
> > >> >> > > We seem to be very broken right now.  Can anyone verify classlib
> > >> >> tests
> > >> >> > > passing using either J9 or DRLVM?
> > >> >> >
> > >> >> > LUNI tests now failing for me on IBM VME / Win XP
> > >> >> >
> > >> >> > I get a seg fault during shutdown of the port library in the
> > >> launcher
> > >> >> > code -- hyportLibrary.port_shutdown_library (&hyportLibrary);
> > >> >> >
> > >> >> > last good run I see is at r487110.
> > >> >> >
> > >> >> > Regards,
> > >> >> > Tim


-- 
Alexei Zakharov,
Intel ESSD

Re: [general] things are broken?

Posted by tatyana doubtsova <ta...@gmail.com>.
I have all classlib tests passed in once mode on win XP, msvc, debug,
r487145, except one (http://issues.apache.org/jira/browse/HARMONY-1751)

Thanks,
Tanya


On 12/14/06, Geir Magnusson Jr. <ge...@pobox.com> wrote:
>
>
>
> Alexey Varlamov wrote:
> > 2006/12/14, Geir Magnusson Jr. <ge...@pobox.com>:
> >> File a JIRA to revert a mod?  Only if there's something to be fixed
> >> later that you think you'll forget about.
> > Nope, to leave a reminder to IBM folks - in case they wanna have it
> > fixed in j9 too.
>
> Ah, got it. Thanks
>
> geir
>
> >
> >>
> >> If you plan to manage this until fixed, then no.
> >>
> >> geir
> >>
> >>
> >> Alexey Varlamov wrote:
> >> > Hmm. This has nothing to do with VMI - part of my latest
> >> > SecurityManagerTest modification leads to crash on j9@WinXP. This
> one:
> >> >
> >> > Index:
> >> >
> >>
> modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/SecurityManagerTest.java
> >>
> >> >
> >> > ===================================================================
> >> > ---
> >> >
> >>
> modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/SecurityManagerTest.java
> >>
> >> > (revision
> >> > 487033)
> >> > +++
> >> >
> >>
> modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/SecurityManagerTest.java
> >>
> >> > (working
> >> > copy)
> >> > @@ -167,18 +166,12 @@
> >> >     private static class
> >> checkPermissionLjava_security_PermissionTesting {
> >> >         public static void main(String[] args) {
> >> >             MutableSecurityManager sm = new MutableSecurityManager();
> >> > -
> >> sm.addPermission(MutableSecurityManager.SET_SECURITY_MANAGER);
> >> >             System.setSecurityManager(sm);
> >> >             try {
> >> > -                try {
> >> > -                    System.getSecurityManager().checkPermission(
> >> > -                            new
> >> RuntimePermission("createClassLoader"));
> >> > -                    fail("This should throw a SecurityException");
> >> > -                } catch (SecurityException e) {
> >> > -                }
> >> > -            } finally {
> >> > -                System.setSecurityManager(null);
> >> > -            }
> >> > +                System.getSecurityManager().checkPermission(
> >> > +                    new RuntimePermission("createClassLoader"));
> >> > +                fail("This should throw a SecurityException");
> >> > +            } catch (SecurityException ok) {}
> >> >         }
> >> >     }
> >> >
> >> > Basically this is a bug of j9 (windows version), installed security
> >> > manager prevents gracefull VM shutdown. DRLVM on Windows and Linux
> and
> >> > J9 on Linux work fine with this.
> >> > I'm going to revert this mod, do I need to file a JIRA?
> >> >
> >> > --
> >> > Alexey
> >> >
> >> >
> >> > 2006/12/14, Alexey Varlamov <al...@gmail.com>:
> >> >> Reproduced the crash on
> >> >> org.apache.harmony.luni.tests.java.lang.SecurityManagerTest
> >> >> Investigating...
> >> >>
> >> >> 2006/12/14, Tim Ellison <t....@gmail.com>:
> >> >> > Geir Magnusson Jr. wrote:
> >> >> > > We seem to be very broken right now.  Can anyone verify classlib
> >> >> tests
> >> >> > > passing using either J9 or DRLVM?
> >> >> >
> >> >> > LUNI tests now failing for me on IBM VME / Win XP
> >> >> >
> >> >> > I get a seg fault during shutdown of the port library in the
> >> launcher
> >> >> > code -- hyportLibrary.port_shutdown_library (&hyportLibrary);
> >> >> >
> >> >> > last good run I see is at r487110.
> >> >> >
> >> >> > Regards,
> >> >> > Tim
> >> >> >
> >> >>
> >>
>

Re: [general] things are broken?

Posted by "Geir Magnusson Jr." <ge...@pobox.com>.

Alexey Varlamov wrote:
> 2006/12/14, Geir Magnusson Jr. <ge...@pobox.com>:
>> File a JIRA to revert a mod?  Only if there's something to be fixed
>> later that you think you'll forget about.
> Nope, to leave a reminder to IBM folks - in case they wanna have it
> fixed in j9 too.

Ah, got it. Thanks

geir

> 
>>
>> If you plan to manage this until fixed, then no.
>>
>> geir
>>
>>
>> Alexey Varlamov wrote:
>> > Hmm. This has nothing to do with VMI - part of my latest
>> > SecurityManagerTest modification leads to crash on j9@WinXP. This one:
>> >
>> > Index:
>> > 
>> modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/SecurityManagerTest.java 
>>
>> >
>> > ===================================================================
>> > ---
>> > 
>> modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/SecurityManagerTest.java 
>>
>> > (revision
>> > 487033)
>> > +++
>> > 
>> modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/SecurityManagerTest.java 
>>
>> > (working
>> > copy)
>> > @@ -167,18 +166,12 @@
>> >     private static class 
>> checkPermissionLjava_security_PermissionTesting {
>> >         public static void main(String[] args) {
>> >             MutableSecurityManager sm = new MutableSecurityManager();
>> > -            
>> sm.addPermission(MutableSecurityManager.SET_SECURITY_MANAGER);
>> >             System.setSecurityManager(sm);
>> >             try {
>> > -                try {
>> > -                    System.getSecurityManager().checkPermission(
>> > -                            new 
>> RuntimePermission("createClassLoader"));
>> > -                    fail("This should throw a SecurityException");
>> > -                } catch (SecurityException e) {
>> > -                }
>> > -            } finally {
>> > -                System.setSecurityManager(null);
>> > -            }
>> > +                System.getSecurityManager().checkPermission(
>> > +                    new RuntimePermission("createClassLoader"));
>> > +                fail("This should throw a SecurityException");
>> > +            } catch (SecurityException ok) {}
>> >         }
>> >     }
>> >
>> > Basically this is a bug of j9 (windows version), installed security
>> > manager prevents gracefull VM shutdown. DRLVM on Windows and Linux and
>> > J9 on Linux work fine with this.
>> > I'm going to revert this mod, do I need to file a JIRA?
>> >
>> > --
>> > Alexey
>> >
>> >
>> > 2006/12/14, Alexey Varlamov <al...@gmail.com>:
>> >> Reproduced the crash on
>> >> org.apache.harmony.luni.tests.java.lang.SecurityManagerTest
>> >> Investigating...
>> >>
>> >> 2006/12/14, Tim Ellison <t....@gmail.com>:
>> >> > Geir Magnusson Jr. wrote:
>> >> > > We seem to be very broken right now.  Can anyone verify classlib
>> >> tests
>> >> > > passing using either J9 or DRLVM?
>> >> >
>> >> > LUNI tests now failing for me on IBM VME / Win XP
>> >> >
>> >> > I get a seg fault during shutdown of the port library in the 
>> launcher
>> >> > code -- hyportLibrary.port_shutdown_library (&hyportLibrary);
>> >> >
>> >> > last good run I see is at r487110.
>> >> >
>> >> > Regards,
>> >> > Tim
>> >> >
>> >>
>>

Re: [general] things are broken?

Posted by Alexey Varlamov <al...@gmail.com>.
2006/12/14, Geir Magnusson Jr. <ge...@pobox.com>:
> File a JIRA to revert a mod?  Only if there's something to be fixed
> later that you think you'll forget about.
Nope, to leave a reminder to IBM folks - in case they wanna have it
fixed in j9 too.

>
> If you plan to manage this until fixed, then no.
>
> geir
>
>
> Alexey Varlamov wrote:
> > Hmm. This has nothing to do with VMI - part of my latest
> > SecurityManagerTest modification leads to crash on j9@WinXP. This one:
> >
> > Index:
> > modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/SecurityManagerTest.java
> >
> > ===================================================================
> > ---
> > modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/SecurityManagerTest.java
> > (revision
> > 487033)
> > +++
> > modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/SecurityManagerTest.java
> > (working
> > copy)
> > @@ -167,18 +166,12 @@
> >     private static class checkPermissionLjava_security_PermissionTesting {
> >         public static void main(String[] args) {
> >             MutableSecurityManager sm = new MutableSecurityManager();
> > -            sm.addPermission(MutableSecurityManager.SET_SECURITY_MANAGER);
> >             System.setSecurityManager(sm);
> >             try {
> > -                try {
> > -                    System.getSecurityManager().checkPermission(
> > -                            new RuntimePermission("createClassLoader"));
> > -                    fail("This should throw a SecurityException");
> > -                } catch (SecurityException e) {
> > -                }
> > -            } finally {
> > -                System.setSecurityManager(null);
> > -            }
> > +                System.getSecurityManager().checkPermission(
> > +                    new RuntimePermission("createClassLoader"));
> > +                fail("This should throw a SecurityException");
> > +            } catch (SecurityException ok) {}
> >         }
> >     }
> >
> > Basically this is a bug of j9 (windows version), installed security
> > manager prevents gracefull VM shutdown. DRLVM on Windows and Linux and
> > J9 on Linux work fine with this.
> > I'm going to revert this mod, do I need to file a JIRA?
> >
> > --
> > Alexey
> >
> >
> > 2006/12/14, Alexey Varlamov <al...@gmail.com>:
> >> Reproduced the crash on
> >> org.apache.harmony.luni.tests.java.lang.SecurityManagerTest
> >> Investigating...
> >>
> >> 2006/12/14, Tim Ellison <t....@gmail.com>:
> >> > Geir Magnusson Jr. wrote:
> >> > > We seem to be very broken right now.  Can anyone verify classlib
> >> tests
> >> > > passing using either J9 or DRLVM?
> >> >
> >> > LUNI tests now failing for me on IBM VME / Win XP
> >> >
> >> > I get a seg fault during shutdown of the port library in the launcher
> >> > code -- hyportLibrary.port_shutdown_library (&hyportLibrary);
> >> >
> >> > last good run I see is at r487110.
> >> >
> >> > Regards,
> >> > Tim
> >> >
> >>
>

Re: [general] things are broken?

Posted by "Geir Magnusson Jr." <ge...@pobox.com>.
File a JIRA to revert a mod?  Only if there's something to be fixed 
later that you think you'll forget about.

If you plan to manage this until fixed, then no.

geir


Alexey Varlamov wrote:
> Hmm. This has nothing to do with VMI - part of my latest
> SecurityManagerTest modification leads to crash on j9@WinXP. This one:
> 
> Index: 
> modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/SecurityManagerTest.java 
> 
> ===================================================================
> --- 
> modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/SecurityManagerTest.java    
> (revision
> 487033)
> +++ 
> modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/SecurityManagerTest.java    
> (working
> copy)
> @@ -167,18 +166,12 @@
>     private static class checkPermissionLjava_security_PermissionTesting {
>         public static void main(String[] args) {
>             MutableSecurityManager sm = new MutableSecurityManager();
> -            sm.addPermission(MutableSecurityManager.SET_SECURITY_MANAGER);
>             System.setSecurityManager(sm);
>             try {
> -                try {
> -                    System.getSecurityManager().checkPermission(
> -                            new RuntimePermission("createClassLoader"));
> -                    fail("This should throw a SecurityException");
> -                } catch (SecurityException e) {
> -                }
> -            } finally {
> -                System.setSecurityManager(null);
> -            }
> +                System.getSecurityManager().checkPermission(
> +                    new RuntimePermission("createClassLoader"));
> +                fail("This should throw a SecurityException");
> +            } catch (SecurityException ok) {}
>         }
>     }
> 
> Basically this is a bug of j9 (windows version), installed security
> manager prevents gracefull VM shutdown. DRLVM on Windows and Linux and
> J9 on Linux work fine with this.
> I'm going to revert this mod, do I need to file a JIRA?
> 
> -- 
> Alexey
> 
> 
> 2006/12/14, Alexey Varlamov <al...@gmail.com>:
>> Reproduced the crash on
>> org.apache.harmony.luni.tests.java.lang.SecurityManagerTest
>> Investigating...
>>
>> 2006/12/14, Tim Ellison <t....@gmail.com>:
>> > Geir Magnusson Jr. wrote:
>> > > We seem to be very broken right now.  Can anyone verify classlib 
>> tests
>> > > passing using either J9 or DRLVM?
>> >
>> > LUNI tests now failing for me on IBM VME / Win XP
>> >
>> > I get a seg fault during shutdown of the port library in the launcher
>> > code -- hyportLibrary.port_shutdown_library (&hyportLibrary);
>> >
>> > last good run I see is at r487110.
>> >
>> > Regards,
>> > Tim
>> >
>>

Re: [general] things are broken?

Posted by Alexey Varlamov <al...@gmail.com>.
Hmm. This has nothing to do with VMI - part of my latest
SecurityManagerTest modification leads to crash on j9@WinXP. This one:

Index: modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/SecurityManagerTest.java
===================================================================
--- modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/SecurityManagerTest.java	(revision
487033)
+++ modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/SecurityManagerTest.java	(working
copy)
@@ -167,18 +166,12 @@
     private static class checkPermissionLjava_security_PermissionTesting {
         public static void main(String[] args) {
             MutableSecurityManager sm = new MutableSecurityManager();
-            sm.addPermission(MutableSecurityManager.SET_SECURITY_MANAGER);
             System.setSecurityManager(sm);
             try {
-                try {
-                    System.getSecurityManager().checkPermission(
-                            new RuntimePermission("createClassLoader"));
-                    fail("This should throw a SecurityException");
-                } catch (SecurityException e) {
-                }
-            } finally {
-                System.setSecurityManager(null);
-            }
+                System.getSecurityManager().checkPermission(
+                    new RuntimePermission("createClassLoader"));
+                fail("This should throw a SecurityException");
+            } catch (SecurityException ok) {}
         }
     }

Basically this is a bug of j9 (windows version), installed security
manager prevents gracefull VM shutdown. DRLVM on Windows and Linux and
J9 on Linux work fine with this.
I'm going to revert this mod, do I need to file a JIRA?

--
Alexey


2006/12/14, Alexey Varlamov <al...@gmail.com>:
> Reproduced the crash on
> org.apache.harmony.luni.tests.java.lang.SecurityManagerTest
> Investigating...
>
> 2006/12/14, Tim Ellison <t....@gmail.com>:
> > Geir Magnusson Jr. wrote:
> > > We seem to be very broken right now.  Can anyone verify classlib tests
> > > passing using either J9 or DRLVM?
> >
> > LUNI tests now failing for me on IBM VME / Win XP
> >
> > I get a seg fault during shutdown of the port library in the launcher
> > code -- hyportLibrary.port_shutdown_library (&hyportLibrary);
> >
> > last good run I see is at r487110.
> >
> > Regards,
> > Tim
> >
>

Re: [general] things are broken?

Posted by Alexey Varlamov <al...@gmail.com>.
Reproduced the crash on
org.apache.harmony.luni.tests.java.lang.SecurityManagerTest
Investigating...

2006/12/14, Tim Ellison <t....@gmail.com>:
> Geir Magnusson Jr. wrote:
> > We seem to be very broken right now.  Can anyone verify classlib tests
> > passing using either J9 or DRLVM?
>
> LUNI tests now failing for me on IBM VME / Win XP
>
> I get a seg fault during shutdown of the port library in the launcher
> code -- hyportLibrary.port_shutdown_library (&hyportLibrary);
>
> last good run I see is at r487110.
>
> Regards,
> Tim
>

Re: [general] things are broken?

Posted by Tim Ellison <t....@gmail.com>.
Geir Magnusson Jr. wrote:
> We seem to be very broken right now.  Can anyone verify classlib tests
> passing using either J9 or DRLVM?

LUNI tests now failing for me on IBM VME / Win XP

I get a seg fault during shutdown of the port library in the launcher
code -- hyportLibrary.port_shutdown_library (&hyportLibrary);

last good run I see is at r487110.

Regards,
Tim