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

Protect against ByteBuffer / CharBuffer inconsistencies between jdk 8 and 9

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0.RC2
    • 3.0.0.RC3, 3.0.0
    • None
    • None
    • 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

              gnodet Guillaume Nodet
              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