ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Early Access builds of JDK 8u112 b03, JDK 9 b128 are available on
Date Sun, 31 Jul 2016 08:27:47 GMT
Hi all

Ant's master branch is down to a single test failure apart from the JAI
problems on my local machine. An error I've overlooked when I initially
reported the problems I've found

It looks as if <>
was back. You can't use Xalan's redirect extension when a
SecurityManager is set.

The reason is that since JAXP 1.4 XMLConstants.FEATURE_SECURE_PROCESSING
has been introduced and this one gets enabled (and you can't disable it)
if a SecurityManager is set. The fix we applied back then is a hack that
sets _isNotSecureProcessing in TransformerFactoryImpl via reflection -
this works fine for JDK 7 and 8, but breaks now.

Rather than adding another layer of reflection (likely need to undo the
changes to _featureManager from
) I'd prefer to figure out a way that allows the following scenario:

* User is using an IDE which has enabled a SecurityManager to run
* User wants to run an XSLT transform that uses Xalan's redirect

without any hacks. Running Ant's <junitreport> is one example of such a



PS and completely unrelated: while adding support for javac's -h option
I realized the option wasn't mentioned inside javac's manual page at
all. Only javac -help talks about it.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message