Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11
    • Component/s: core-libs
    • Subcomponent:
    • Resolved In Build:
      b12
    • Verification:
      Not verified

      Description

      There's an off-by-one-pixel typo here:

      --- a/src/java.base/share/classes/java/nio/X-Buffer.java.template
      +++ b/src/java.base/share/classes/java/nio/X-Buffer.java.template
      @@ -700,7 +700,7 @@
            *
            * <pre>{@code
            * for (int i = off; i < off + len; i++)
      - * dst[i] = src.get():
      + * dst[i] = src.get();
            * }</pre>
            *
            * except that it first checks that there are sufficient $type$s in

        Attachments

          Activity

            People

            • Assignee:
              martin Martin Buchholz
              Reporter:
              martin Martin Buchholz
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: