Issues running JAXP jtreg tests ("java.lang.RuntimePermission" "accessDeclaredMembers")
Langer, Christoph
christoph.langer at sap.com
Tue Nov 22 14:51:14 UTC 2016
In that case, if we can't change testng, maybe the jaxp SecurityManager can allow testng to access the declared members without granting this to the testee code?
> -----Original Message-----
> From: Daniel Fuchs [mailto:daniel.fuchs at oracle.com]
> Sent: Dienstag, 22. November 2016 15:47
> To: Langer, Christoph <christoph.langer at sap.com>
> Cc: code-tools-dev at openjdk.java.net; core-libs-dev at openjdk.java.net; jtreg-
> use at openjdk.java.net; Volker Simonis <volker.simonis at gmail.com>
> Subject: Re: Issues running JAXP jtreg tests ("java.lang.RuntimePermission"
> "accessDeclaredMembers")
>
> On 22/11/16 14:43, Langer, Christoph wrote:
> > But, as for fixing with the new testng, will you look into this? Shall I open a
> bug?
>
> I am unsure on how to fix this actually.
>
> The new testng must attempt to load the data provider
> after having invoked the listener, while the old testng
> probably did the opposite.
>
> Let me try some experiments...
>
> best regards,
>
> -- daniel
More information about the code-tools-dev
mailing list