Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-73

io.undertow.servlet.spec.ServletPrintWriter.println(char[]) implicitly calls toString on a char[] buffer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.Alpha19
    • None
    • Servlet
    • None

      line 176 contains the statement:

      final CharBuffer cb = CharBuffer.wrap(s + "\n");

      where s is of type char[]. Adding the newline string implicitly invokes toString on the char array.

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              sfcoy Stephen Coy (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: