You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Vladimir Ivanov <iv...@gmail.com> on 2007/06/19 13:34:53 UTC

[classlib][security] test org.apache.harmony.security.tests.java.security.PolicyTest failed on Linux x86 and x86_64

Hello,
the test testPropertyExpansion of
org.apache.harmony.security.tests.java.security.PolicyTest failed on
Linux'es with log:
 junit.framework.AssertionFailedError: Failed to find
SecurityPermission for codeSource=/11111/*, codeBase=/11111/-
 at org.apache.harmony.security.tests.java.security.PolicyTest.assertCodeBasePropertyExpansion(PolicyTest.java:251)
 at org.apache.harmony.security.tests.java.security.PolicyTest.testPropertyExpansion(PolicyTest.java:207)
 at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)

Most probably, it is due to modification of file:
modified leoli /harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/org/apache/harmony/security/fortress/DefaultPolicyParser.java

 thanks, Vladimir

Re: [classlib][security] test org.apache.harmony.security.tests.java.security.PolicyTest failed on Linux x86 and x86_64

Posted by Vladimir Ivanov <iv...@gmail.com>.
Thanks! This test passed now.

 thanks, Vladimir

On 6/19/07, Leo Li <li...@gmail.com> wrote:
> Hi, Vladimir:
>  Reverted back at r548698.
>  Sorry for the inconvenience.
>
>
> On 6/19/07, Leo Li <li...@gmail.com> wrote:
> >
> >   Sorry, it' s me.
> >   It must be some cross-platform issue.
> >   I will revert it back.
> >
> >
> >  On 6/19/07, Vladimir Ivanov <iv...@gmail.com> wrote:
> > >
> > > Hello,
> > > the test testPropertyExpansion of
> > > org.apache.harmony.security.tests.java.security.PolicyTest failed on
> > > Linux'es with log:
> > > junit.framework.AssertionFailedError: Failed to find
> > > SecurityPermission for codeSource=/11111/*, codeBase=/11111/-
> > > at
> > > org.apache.harmony.security.tests.java.security.PolicyTest.assertCodeBasePropertyExpansion(
> > > PolicyTest.java:251)
> > > at
> > > org.apache.harmony.security.tests.java.security.PolicyTest.testPropertyExpansion
> > > (PolicyTest.java:207)
> > > at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> > >
> > > Most probably, it is due to modification of file:
> > > modified leoli
> > > /harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/org/apache/harmony/security/fortress/DefaultPolicyParser.java
> > >
> > > thanks, Vladimir
> > >
> >
> >
> >
> > --
> > Leo Li
> > China Software Development Lab, IBM
>
>
>
>
> --
> Leo Li
> China Software Development Lab, IBM
>

Re: [classlib][security] test org.apache.harmony.security.tests.java.security.PolicyTest failed on Linux x86 and x86_64

Posted by Leo Li <li...@gmail.com>.
Hi, Vladimir:
 Reverted back at r548698.
 Sorry for the inconvenience.


On 6/19/07, Leo Li <li...@gmail.com> wrote:
>
>   Sorry, it' s me.
>   It must be some cross-platform issue.
>   I will revert it back.
>
>
>  On 6/19/07, Vladimir Ivanov <iv...@gmail.com> wrote:
> >
> > Hello,
> > the test testPropertyExpansion of
> > org.apache.harmony.security.tests.java.security.PolicyTest failed on
> > Linux'es with log:
> > junit.framework.AssertionFailedError: Failed to find
> > SecurityPermission for codeSource=/11111/*, codeBase=/11111/-
> > at
> > org.apache.harmony.security.tests.java.security.PolicyTest.assertCodeBasePropertyExpansion(
> > PolicyTest.java:251)
> > at
> > org.apache.harmony.security.tests.java.security.PolicyTest.testPropertyExpansion
> > (PolicyTest.java:207)
> > at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> >
> > Most probably, it is due to modification of file:
> > modified leoli
> > /harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/org/apache/harmony/security/fortress/DefaultPolicyParser.java
> >
> > thanks, Vladimir
> >
>
>
>
> --
> Leo Li
> China Software Development Lab, IBM




-- 
Leo Li
China Software Development Lab, IBM

Re: [classlib][security] test org.apache.harmony.security.tests.java.security.PolicyTest failed on Linux x86 and x86_64

Posted by Leo Li <li...@gmail.com>.
  Sorry, it' s me.
  It must be some cross-platform issue.
  I will revert it back.


On 6/19/07, Vladimir Ivanov <iv...@gmail.com> wrote:
>
> Hello,
> the test testPropertyExpansion of
> org.apache.harmony.security.tests.java.security.PolicyTest failed on
> Linux'es with log:
> junit.framework.AssertionFailedError: Failed to find
> SecurityPermission for codeSource=/11111/*, codeBase=/11111/-
> at
> org.apache.harmony.security.tests.java.security.PolicyTest.assertCodeBasePropertyExpansion
> (PolicyTest.java:251)
> at
> org.apache.harmony.security.tests.java.security.PolicyTest.testPropertyExpansion
> (PolicyTest.java:207)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
>
> Most probably, it is due to modification of file:
> modified leoli
> /harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/org/apache/harmony/security/fortress/DefaultPolicyParser.java
>
> thanks, Vladimir
>



-- 
Leo Li
China Software Development Lab, IBM