Issues running JAXP jtreg tests ("java.lang.RuntimePermission" "accessDeclaredMembers")
daniel.fuchs at oracle.com
Tue Nov 22 14:31:26 UTC 2016
The issue seems to be caused by changes in testng - but maybe that
needs to be fixed in the JAXP test base.
I could reproduce the issue by running the jaxp tests, after
unsetting JT_HOME and running with
which has testng 6.9.11.
When I dowloaded
and installed it in the jtreg install dir, the issue disappeared.
On 22/11/16 13:31, Daniel Fuchs wrote:
>> Can it be that we are using a testng framework that is "too new" and
>> maybe contains something which makes it not work in the jaxp scenario?
> When I call jtreg -version it reports:
> TestNG: version 6.9.5
> This seems different to what you are using.
> Can you try with
> without altering the version of testng?
> I had no problem running the tests with that version
> of testng (except if I use the exploded build).
> Maybe the listener that the test uses to set up the security
> manager is invoked in a different way (earlier?) with the
> 6.9.10 version?
More information about the jtreg-use