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

java/nio/Buffer/Chars.java fails in StackOverflowError

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 9
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
      None
    • Environment:

      windows_i586-product-c1-jdk_nio

      Description

      Not sure whether this is reproducible or intermittent:

      STDERR:
      java.lang.StackOverflowError
      at sun.nio.cs.SingleByte$Encoder.encodeArrayLoop(SingleByte.java:177)
      at sun.nio.cs.SingleByte$Encoder.encodeLoop(SingleByte.java:219)
      at java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:579)
      at sun.nio.cs.StreamEncoder.flushLeftoverChar(StreamEncoder.java:242)
      at sun.nio.cs.StreamEncoder.flushLeftoverChar(StreamEncoder.java:247)
      at sun.nio.cs.StreamEncoder.flushLeftoverChar(StreamEncoder.java:247)
      at sun.nio.cs.StreamEncoder.flushLeftoverChar(StreamEncoder.java:247)
      ... etc ...

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sherman Xueming Shen
                Reporter:
                dfuchs Daniel Fuchs
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: