Search code examples
javajavadocstandard-libraryauthorapi-doc

Find authors of the documentation of a java standard library class


for my research I would like to know the authors of some of the Java standard library classes like Socket. I tried it with openjdk but was not that successful. I would like to see which author wrote what part of the API documentation.


Solution

  • I found it in the JavaDoc to the java.net.Socket class:

    /**
     * This class implements client sockets (also called just
     * "sockets"). A socket is an endpoint for communication
     * between two machines.
     * <p>
     * The actual work of the socket is performed by an instance of the
     * {@code SocketImpl} class. An application, by changing
     * the socket factory that creates the socket implementation,
     * can configure itself to create sockets appropriate to the local
     * firewall.
     *
     * @author  unascribed
     * @see     java.net.Socket#setSocketImplFactory(java.net.SocketImplFactory)
     * @see     java.net.SocketImpl
     * @see     java.nio.channels.SocketChannel
     * @since   JDK1.0
     */
    public
    class Socket implements java.io.Closeable
    

    The same way you can get the author of SocketChannel class:

    * @author Mark Reinhold
    * @author JSR-51 Expert Group
    * @since 1.4
    

    And SocketImplFactory interface:

    * @author  Arthur van Hoff
    * @see     java.net.Socket
    * @see     java.net.ServerSocket
    * @since   JDK1.0
    

    You see this class was included to JDK 1.0 version, that was released in 1996. Probably there were a group of authors, and they don't specify their names in JavaDoc.

    UPDATE. As @Selphiron found, there are OpenJDK Mercurial Reposotories. There are a lot of useful technical information on the left upper corner such as log, branches, tags and so on.

    Example for Gregorian Calendar class.