ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 52096] Add an option to <javac> to suppress creation of package-info.class
Date Thu, 10 Nov 2011 00:06:33 GMT

--- Comment #11 from Jesse Glick <> 2011-11-10 00:06:33 UTC ---
(In reply to comment #10)
> Wouldn't opening each
> file and scanning it with some regexp take almost as long as
> simply passing the files to javac in the end?

Probably depends on the situation. While javac itself is reasonably fast on
small files, i.e. not much slower than the I/O of loading the file, running
javac incurs two kinds of additional cost:

1. Opening any classpath entries, which may be numerous and/or large.

2. Running any annotation processors, which could be slow.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message