Uploaded image for project: 'ODE'
  1. ODE
  2. ODE-1043

Move towards binary compatibility to JDK 7

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.3.8, 1.4
    • BPEL Runtime, Build System
    • None

    Description

      Current ODE-1.3.x branch and Trunk are not yet ready for JDK 7 binary compatibility. Source compilation fails with the following errors.

      There are issues with Enhancer task of OpenJPA 1.2.3, which is not compatible to generate Java 7 bytecodes. This seems to have been fixed in OpenJPA 2.2 which is based on JPA 2.

      https://issues.apache.org/jira/browse/OPENJPA-2122

      E, 2015-12-09T09:18:16.903000 #46 ERROR – : Error instantiating 'mapping' task: java.lang.VerifyError: Expecting a stackmap frame at branch target 66
      Exception Details:
      Location:
      org/apache/ode/dao/jpa/CorrelatorDAOImpl.<clinit>()V @57: ifnull
      Reason:
      Expected stackmap frame at this location.
      Bytecode:
      0000000: 1300 4eb8 004f b300 0800 08bd 0115 5903
      0000010: 1301 9453 5904 1301 9553 5905 1301 9653
      0000020: 5906 1301 9753 5907 1301 9853 b301 9a08
      0000030: bd01 9c59 0300 b201 afc6 0009 b201 afa7
      0000040: 000d 1301 b1b8 01b3 59b3 01af 0053 5904
      0000050: 00b2 01b6 c600 09b2 01b6 a700 0d13 01b8
      0000060: b801 b359 b301 b600 5359 0500 b201 bbc6
      0000070: 0009 b201 bba7 000d 1301 bdb8 01b3 59b3
      0000080: 01bb 0053 5906 00b2 01c0 c600 09b2 01c0
      0000090: a700 0d13 01c2 b801 b359 b301 c000 5359
      00000a0: 0700 b201 bbc6 0009 b201 bba7 000d 1301
      00000b0: bdb8 01b3 59b3 01bb 0053 b301 c408 bc08
      00000c0: 5903 101a 5459 0410 1a54 5905 0854 5906
      00000d0: 0854 5907 100a 54b3 01c6 00b2 01c9 c600
      00000e0: 09b2 01c9 a700 0d13 01cb b801 b359 b301
      00000f0: c900 b201 9ab2 01c4 b201 c6b2 01cd 1301
      0000100: cfbb 00b6 59b7 01d0 b801 d6b1

      Buildr aborted!
      Java::OrgApacheToolsAnt::BuildException : java.lang.VerifyError: Expecting a stackmap frame at branch target 66
      Exception Details:
      Location:
      org/apache/ode/dao/jpa/CorrelatorDAOImpl.<clinit>()V @57: ifnull
      Reason:
      Expected stackmap frame at this location.
      Bytecode:
      0000000: 1300 4eb8 004f b300 0800 08bd 0115 5903
      0000010: 1301 9453 5904 1301 9553 5905 1301 9653
      0000020: 5906 1301 9753 5907 1301 9853 b301 9a08
      0000030: bd01 9c59 0300 b201 afc6 0009 b201 afa7
      0000040: 000d 1301 b1b8 01b3 59b3 01af 0053 5904
      0000050: 00b2 01b6 c600 09b2 01b6 a700 0d13 01b8
      0000060: b801 b359 b301 b600 5359 0500 b201 bbc6
      0000070: 0009 b201 bba7 000d 1301 bdb8 01b3 59b3
      0000080: 01bb 0053 5906 00b2 01c0 c600 09b2 01c0
      0000090: a700 0d13 01c2 b801 b359 b301 c000 5359
      00000a0: 0700 b201 bbc6 0009 b201 bba7 000d 1301
      00000b0: bdb8 01b3 59b3 01bb 0053 b301 c408 bc08
      00000c0: 5903 101a 5459 0410 1a54 5905 0854 5906
      00000d0: 0854 5907 100a 54b3 01c6 00b2 01c9 c600
      00000e0: 09b2 01c9 a700 0d13 01cb b801 b359 b301
      00000f0: c900 b201 9ab2 01c4 b201 c6b2 01cd 1301
      0000100: cfbb 00b6 59b7 01d0 b801 d6b1

      Attachments

        Issue Links

          Activity

            People

              sathwik Sathwik
              sathwik Sathwik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: