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

SPIDevice.read(0-capacity ByteBuffer) results in IAE.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • None
    • None
    • embedded
    • None
    • dio

      To reproduce,
      issue single
      "r"

      to "Communication session". (use next VTS nightly/promoted build)

      java.lang.IllegalArgumentException: The buffer has a zero-capacity
       - .unknown...unknown.(), bci=21
       - .unknown...unknown.(), bci=2
       - .unknown...unknown.(), bci=2
       - com/oracle/tests/jdk/dio/spibus/SPIDevice/SessionTests.processSession(), bci=786
       - com/oracle/tests/jdk/dio/spibus/SPIDevice/SessionTests.testSession(), bci=23
       - com/oracle/tests/jdk/dio/spibus/SPIDevice/SessionTests.runTestCases(), bci=11
       - com/sun/tck/cldc/lib/MultiTest.run(MultiTest.java:150)
       - com/sun/tck/cldc/javatest/agent/CldcAgent.executeTest(CldcAgent.java:200)
       - com/sun/tck/cldc/javatest/agent/CldcAgent.executeTest(CldcAgent.java:243)
       - com/sun/tck/cldc/javatest/agent/CldcAgent.handleRequest(CldcAgent.java:170)
       - com/sun/tck/cldc/javatest/agent/CldcAgent.run(CldcAgent.java:113)
       - com/sun/tck/cldc/javatest/agent/CldcAgent.execute(CldcAgent.java:58)
       - com/sun/tck/midp/javatest/agent/MIDletAgent.executeTests(MIDletAgent.java:230)
       - com/sun/tck/midp/javatest/agent/MIDletAgent.run(MIDletAgent.java:204)
       - java/lang/Thread.run(), bci=5

            onazarkina Olga Nazarkina (Inactive)
            onazarkina Olga Nazarkina (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: