https://issues.apache.org/bugzilla/show_bug.cgi?id=51668
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
AssignedTo: [email protected]
ReportedBy: [email protected]
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 https://netbeans.org/bugzilla/show_bug.cgi?id=201022 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: http://jaxp.java.net/1.4/JAXP-Compatibility.html#JAXP_security (bug
#6863312 is "not publicly available")
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.