--- old/src/java.base/share/classes/sun/misc/ExtensionInfo.java 2015-05-18 19:54:26.776747455 +0400 +++ new/src/java.base/share/classes/sun/misc/ExtensionInfo.java 2015-05-18 19:54:26.628747455 +0400 @@ -45,9 +45,7 @@ public class ExtensionInfo { /** - *

* public static values returned by the isCompatible method - *

*/ public static final int COMPATIBLE = 0; public static final int REQUIRE_SPECIFICATION_UPGRADE = 1; @@ -56,10 +54,8 @@ public static final int INCOMPATIBLE = 4; /** - *

* attributes fully describer an extension. The underlying described * extension may be installed and requested. - *

*/ public String title; public String name; @@ -76,15 +72,12 @@ /** - *

* Create a new uninitialized extension information object - *

*/ public ExtensionInfo() { } /** - *

* Create and initialize an extension information object. * The initialization uses the attributes passed as being * the content of a manifest file to load the extension @@ -93,7 +86,7 @@ * extension they may depend on, the extension key parameter * is prepanded to the attribute name to make the key used * to retrieve the attribute from the manifest file - *

+ * * @param extensionKey unique extension key in the manifest * @param attr Attributes of a manifest file */ @@ -149,13 +142,11 @@ } /** - *

* @return true if the extension described by this extension information * is compatible with the extension described by the extension * information passed as a parameter - *

* - * @param the requested extension information to compare to + * @param ei the requested extension information to compare to */ public int isCompatibleWith(ExtensionInfo ei) { @@ -204,10 +195,8 @@ } /** - *

* helper method to print sensible information on the undelying described * extension - *

*/ public String toString() { return "Extension : title(" + title + "), name(" + name + "), spec vendor(" + @@ -217,15 +206,15 @@ } /* - *

* helper method to compare two versions. * version are in the x.y.z.t pattern. - *

+ * * @param source version to compare to * @param target version used to compare against - * @return < 0 if source < version - * > 0 if source > version - * = 0 if source = version + * @return
{@code
+     *   < 0 if source < version
+     *   > 0 if source > version
+     *   = 0 if source = version}
*/ private int compareExtensionVersion(String source, String target) throws NumberFormatException @@ -238,15 +227,15 @@ /* - *

* helper method to compare two versions. * version are in the x.y.z.t pattern. - *

+ * * @param source version to compare to * @param target version used to compare against - * @return < 0 if source < version - * > 0 if source > version - * = 0 if source = version + * @return
{@code
+     *   < 0 if source < version
+     *   > 0 if source > version
+     *   = 0 if source = version}
*/ private int strictCompareExtensionVersion(String source, String target) throws NumberFormatException