ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From be...@netscape.com (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:
>  > beard@netscape.com 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?
>>
>No,
>
>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
>effort.

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

- Patrick
-- 

// Patrick C. Beard
// Java Runtime Enthusiast -- "Will invoke interfaces for food."
// mailto:beard@netscape.com

Mime
View raw message