ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 52096] Add an option to <javac> to suppress creation of package-info.class
Date Mon, 31 Oct 2011 06:15:50 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=52096

--- Comment #10 from Stefan Bodewig <bodewig@apache.org> 2011-10-31 06:15:50 UTC ---
(In reply to comment #8)
> A fix for the originally stated problem would be for lookForPackageInfos to
> read the actual "package com.apache.test1;" line in package-info.java, as javac
> itself would.

Sure, this could work.

Isn't the whole point of creating the package-info.class files to avoid the
overhead of running javac on the source files?  Wouldn't opening each
package-info.java file and scanning it with some regexp take almost as long as
simply passing the files to javac in the end?  These are honest questions.

Stefan

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message