jtreg fails if the test requires a security manager!
jonathan.gibbons at oracle.com
Mon Apr 23 08:11:57 PDT 2012
OK, I'll have to investigate this further and consult Other Authorities
and get back to you.
On 04/22/2012 03:47 PM, David Holmes wrote:
> Hi Jon,
> Jonathon Gibbons wrote:
> > Seems to me that you want /secure=java.lang.SecurityManager. I agree
> > your use of -Djava.security.manager is intuitive and should be
> > considered as an RFE.
> Unfortunately using /secure doesn't work:
> ACTION: build -- Not run. Test running...
> REASON: Named class compiled on demand
> TIME: java.lang.SecurityManager seconds
> command: build .secure=java.lang.SecurityManager
> reason: Named class compiled on demand
> TEST RESULT: Error. Can't find source file:
> /secure=java/lang/SecurityManager.java in directory-list:
More information about the jtreg-use