On Tue, May 3, 2011 at 2:25 PM, [email protected]
<[email protected]> wrote:
> I was looking at the source code for jdk7 and I noticed that they were
> using the old convention of using package.html instead of the
> suggested method of using package-info.java (in JDK 5).
>
> Is this just a simple case of "do as I say and not as I do" or has
> this method been rethought?

While the JDK sources do still predominantly use the old package.html
files, there are several dozen packages where package-info.java is
used including java.lang and java.math.

I would recommend using package-info.java because it more regular and
I use package-info.java in the code I maintain.

-Joe

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to