Code review request: 7064075 Security libraries don't build with javac -Xlint:all,-deprecation -Werror

Sean Mullan sean.mullan at oracle.com
Mon Jul 18 22:00:24 UTC 2011


On 7/18/11 5:35 PM, Alexandre Boulgakov wrote:
> Is there an easy way to see when a class was added to the JDK?

For standard API classes, you can use the @since javadoc tag which will indicate
the release it was first introduced in.

For internal classes, there is no easy way, since most don't have an @since tag.
I would probably write a script that checks the rt.jar of each of the JREs that
are archived at /java/re/jdk. The pathnames should be fairly consistent, just
the version number is different.

Chris, do you have any other ideas?

--Sean



More information about the security-dev mailing list