Missing doPrivileged() in VMProcess?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Gary Benson wrote:
> Each time you execute a file with Runtime.exec() a VMProcess is
> created.  The first time one of these is created it creates a thread
> and calls its setDaemon() method which (eventually) checks
> RuntimePermission("modifyThread").
> 
> I guess there should be a doPrivileged() in here somewhere, but
> where?

Actually, doPrivileged doesn't stop the test failing, because the
permission is still checked, so the real fix for this is in Mauve.
Sorry for the noise...

Cheers,
Gary


[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux