harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fedotov, Alexei A" <alexei.a.fedo...@intel.com>
Subject RE: [j9][testing] some classlib unit tests fail
Date Mon, 16 Oct 2006 17:34:53 GMT
Hello Boris,

I'm not an expert in security. I even couldn't keep a pin of my credit
card secured from my wife. :-)

Anyway, few weeks ago I faced a problem with tests which failed due to
java.policy file forgotten by a release engineer in his home directory.

We decided that changing the java.security.policy property and invoking
refresh() is a hacker style, so we had to write our security manager
implementation. I have just checked that the guy who actually made the
fix implemented the property hack.

That is why I vote for the second choice. It is much simpler and we can
migrate to the first method later if needed.

Does it make sense?

With best regards,
Alexei Fedotov,
Intel Middleware Products Division

>-----Original Message-----
>From: Boris Kuznetsov [mailto:boris.v.kuznetsov@gmail.com]
>Sent: Wednesday, October 04, 2006 1:24 PM
>To: harmony-dev@incubator.apache.org
>Subject: Re: [j9][testing] some classlib unit tests fail
>The tests mentioned in HARMONY-1674
><http://issues.apache.org/jira/browse/HARMONY-1674> depend on default
>system policy file.
>But if user policy file exists than, according to the spec, it is
>added to system policy. It leads to the tests failures.
>There are two options:
>1.	Rewrite the tests.
>2.	Use '-Djava.security.policy' to specify policy file and ignore
>I suggest the second one.
>On 10/4/06, Elena Semukhina <elena.semukhina@gmail.com> wrote:
>> Hello, all,
>> AFAIK, "ant test" should give 100% pass rate on j9 but I have 5
>> which seem to be dependent on environment.
>> I've uploaded the results at
>> There are also two JIRA issues detailing this:
>> HARMONY-1664<http://issues.apache.org/jira/browse/HARMONY-1664> and
>> HARMONY-1674 <http://issues.apache.org/jira/browse/HARMONY-1664>
>> Can anyone help in analyzing the problem?
>> --
>> Thanks,
>> Elena
>Best regards,
>Boris Kuznetsov
>Intel Middleware Products Division
>Terms of use : http://incubator.apache.org/harmony/mailing.html
>To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
>For additional commands, e-mail: harmony-dev-help@incubator.apache.org

Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org

View raw message