Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-14045

Protect against ByteBuffer / CharBuffer inconsistencies between jdk 8 and 9

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0.RC2
    • Fix Version/s: 3.0.0.RC3, 3.0.0
    • Component/s: None
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      When built on JDK 9, some features method calls become broken on JDK 8 such as ByteBuffer.flip() or CharBuffer.position(int).  We need to protect against those problems using something similar to [https://github.com/gnodet/mvnd/blob/master/src/main/java/org/jboss/fuse/mvnd/daemon/BufferCaster.java]

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gnodet Guillaume Nodet
                Reporter:
                gnodet Guillaume Nodet
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m