RFR - 8148820: Missing @since Javadoc tag in Logger.log(Level, Supplier)
Daniel Fuchs
daniel.fuchs at oracle.com
Tue Mar 1 13:30:41 UTC 2016
Hi,
Please find below a trivial fix for
8148820: Missing @since Javadoc tag in Logger.log(Level, Supplier)
https://bugs.openjdk.java.net/browse/JDK-8148820
This method was added to java.util.logging.Logger in jdk 8, but
the @since tag was missing.
-- daniel
diff --git
a/src/java.logging/share/classes/java/util/logging/Logger.java
b/src/java.logging/share/classes/java/util/logging/Logger.java
--- a/src/java.logging/share/classes/java/util/logging/Logger.java
+++ b/src/java.logging/share/classes/java/util/logging/Logger.java
@@ -839,6 +839,7 @@
* @param level One of the message level identifiers, e.g., SEVERE
* @param msgSupplier A function, which when called, produces the
* desired log message
+ * @since 1.8
*/
public void log(Level level, Supplier<String> msgSupplier) {
if (!isLoggable(level)) {
More information about the core-libs-dev
mailing list