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

Missing `@since` tags for Charset related methods added in Java 10

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 23
    • None
    • core-libs
    • b16

      Several methods and constructor related to Charset handling were introduced in JDK 10. However, these methods lack the necessary @since tag. This affects the following methods:

      1. Method `java.nio.channels.Channels:newReader(ReadableByteChannel, Charset)`
      2. Method `java.nio.channels.Channels:newWriter(WritableByteChannel, Charset)`
      3. Constructor `java.util.Formatter:<init>(String, Charset, Locale)`
      4. Constructor `java.util.Formatter:<init>(File, Charset, Locale)`
      5. Constructor `java.util.Formatter:<init>(OutputStream, Charset, Locale)`

      These were introduced in JDK 10 but currently lack the appropriate @since information. The @since Tag needs to be added

            nbenalla Nizar Benalla
            nbenalla Nizar Benalla
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: