jtreg fails if the test requires a security manager!

Jonathan Gibbons 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.

-- Jon

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
> messages:
> 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: 
> /java/embedded/users/dh198349/dev-work/jdk-7103570/test/java/util/concurrent/atomic
>
> David
> -----



More information about the jtreg-use mailing list