Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8178139

Minor typo in API documentation of java.util.logging.Logger

XMLWordPrintable

        FULL PRODUCT VERSION :
        1.8

        ADDITIONAL OS VERSION INFORMATION :
        Ubuntu Linux

        A DESCRIPTION OF THE PROBLEM :
        In the JavaDoc of java.util.logging.Logger.getLogger(String name) it says:

        "If a new logger is created its log level will be configured based on the LogManager configuration and it will configured to also send logging..."

        It is missing the word "be" in there...it should be...

        "If a new logger is created its log level will be configured based on the LogManager configuration and it will be configured to also send logging..."

        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        It is on the JavaDoc at https://docs.oracle.com/javase/8/docs/api/java/util/logging/Logger.html#getLogger-java.lang.String-

        EXPECTED VERSUS ACTUAL BEHAVIOR :
        EXPECTED -
        If a new logger is created its log level will be configured based on the LogManager configuration and it will be configured to also send logging...
        ACTUAL -
        If a new logger is created its log level will be configured based on the LogManager configuration and it will configured to also send logging...

        REPRODUCIBILITY :
        This bug can be reproduced always.

              dfuchs Daniel Fuchs
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: