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.fu...@oracle.com]
> Sent: Dienstag, 22. November 2016 15:47
> To: Langer, Christoph <christoph.lan...@sap.com>
> Cc: code-tools-...@openjdk.java.net; core-libs-dev@openjdk.java.net; jtreg-
> u...@openjdk.java.net; Volker Simonis <volker.simo...@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

Reply via email to