ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (Patrick Beard)
Subject RE: out of memory javadoc task
Date Tue, 01 Aug 2000 01:14:07 GMT
At 8:30 AM +1000 8/1/00, Conor MacNeill wrote:
>  > wrote:
>  > So, the javadoc task runs in a separate VM? Why? Javac doesn't, so I
>>  don't see why javadoc should. Is it because you need to manipulate
>>  working directories?
>it is because javadoc calls System.exit(). Itmay be possible to use a loader
>and a security manager to avoid that but I don't know if it is worth the

JShell disallows that by using a custom version of the System class 
that it provides via class loader. Ant could probably use the same 

- Patrick

// Patrick C. Beard
// Java Runtime Enthusiast -- "Will invoke interfaces for food."

View raw message