tyrus
  1. tyrus
  2. TYRUS-160

Tyrus tests won't compile with JDK 1.6

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.1, 1.4
    • Component/s: None
    • Labels:
      None
    • Environment:
      1. java -version
        java version "1.6.0_23"
        Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
        Java HotSpot(TM) 64-Bit Server VM (build 19.0-b09, mixed mode)

      Description

      cd trunk; mvn clean install

      The following tests are failing for me:

      Failed tests: testBinaryByteArrayBean(org.glassfish.tyrus.test.e2e.BinaryTest): The received message is the same as the sent one: actual array was null
      clientWholeServerWholeByteArray(org.glassfish.tyrus.test.e2e.MessageHandlersTest): expected:<0> but was:<1>
      clientWholeServerPartialByteArray(org.glassfish.tyrus.test.e2e.MessageHandlersTest): expected:<0> but was:<1>
      clientPartialServerWholeByteArray(org.glassfish.tyrus.test.e2e.MessageHandlersTest): expected:<0> but was:<1>
      clientPartialServerPartialByteArray(org.glassfish.tyrus.test.e2e.MessageHandlersTest): expected:<0> but was:<1>
      clientWholeServerWholeByteBuffer(org.glassfish.tyrus.test.e2e.MessageHandlersTest): expected:<0> but was:<1>
      clientPartialServerWholeByteBuffer(org.glassfish.tyrus.test.e2e.MessageHandlersTest): expected:<0> but was:<1>
      clientPartialServerWholeInputStream(org.glassfish.tyrus.test.e2e.MessageHandlersTest): expected:<0> but was:<2>
      clientSendStreamServerWholeInputStream(org.glassfish.tyrus.test.e2e.MessageHandlersTest): expected:<0> but was:<1>
      testInputStreamAnnotated(org.glassfish.tyrus.test.e2e.InputStreamTest): expected:<0> but was:<1>
      testInputStreamProgrammatic(org.glassfish.tyrus.test.e2e.InputStreamTest): expected:<0> but was:<1>

        Activity

        Hide
        Alex Pineda added a comment -

        Assigning bug to WebSockets Dev lead for evaluation.

        Show
        Alex Pineda added a comment - Assigning bug to WebSockets Dev lead for evaluation.
        Hide
        Pavel Bucek added a comment -

        Tyrus can be built with JDK 1.6; problems are with some tests, related to ByteBuffer.

        Show
        Pavel Bucek added a comment - Tyrus can be built with JDK 1.6; problems are with some tests, related to ByteBuffer.
        Hide
        Pavel Bucek added a comment -

        changing to improvement, Tyrus does not need to officially support JDK 1.6.

        Show
        Pavel Bucek added a comment - changing to improvement, Tyrus does not need to officially support JDK 1.6.

          People

          • Assignee:
            Pavel Bucek
            Reporter:
            mikc22
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: