ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 51668] New: <junitreport> broken on JDK 7 when a SecurityManager is set
Date Tue, 16 Aug 2011 22:06:37 GMT

             Bug #: 51668
           Summary: <junitreport> broken on JDK 7 when a SecurityManager
                    is set
           Product: Ant
           Version: 1.8.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Optional Tasks
    Classification: Unclassified

Fails with: "Use of the extension element 'redirect' is not allowed when the
secure processing feature is set to true."

Originally filed under but
it turns out to apply to any environment in which there is a system security
manager set.

JDK 7's TransformerFactoryImpl constructor introduced:

        if (System.getSecurityManager() != null) {
            _isSecureMode = true;
            _isNotSecureProcessing = false;

which conflicts with <redirect:write>.

See also: (bug
#6863312 is "not publicly available")

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message