harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "chunrong lai (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-6001) [classlib][security-kernel] problems in AccessControlContext.equals(..)
Date Wed, 22 Oct 2008 10:06:46 GMT
[classlib][security-kernel] problems in AccessControlContext.equals(..)

                 Key: HARMONY-6001
                 URL: https://issues.apache.org/jira/browse/HARMONY-6001
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
    Affects Versions: 5.0M7
            Reporter: chunrong lai

  I checked the classlib test failure in ExecutorsTest::testPrivilegedThreadFactory and see
harmony breaks in below threadAssertTrue. At the same time RI just pass the test case. So
I think maybe the related module can be improved. 

        final AccessControlContext thisacc = AccessController.getContext();
        Runnable r = new Runnable() {
                public void run() {
		    try {
 		    } catch(SecurityException ok) {

    It is also noted that if I move the definition of thisAcc into the try section, harmony
can pass modified test case without problem (AccessController.getContext().equals(AccessController.getContext())
is true).

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message