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:[email protected]] > Sent: Dienstag, 22. November 2016 15:47 > To: Langer, Christoph <[email protected]> > Cc: [email protected]; [email protected]; jtreg- > [email protected]; Volker Simonis <[email protected]> > 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
