XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 5.0.0
    • None
    • STM
    • None
    • Hide

      git checkout master
      (this is currently d1e5c1adb175104e95db578d8b3001c906f247ea)

      ./build.sh -f STM/pom.xml clean install
      [ERROR] COMPILATION ERROR :
      [INFO] -------------------------------------------------------------
      [ERROR] /home/tom/projects/jbosstm/narayana/STM/src/test/java/org/jboss/stm/types/AtomicArrayUnitTest.java:[40,70] incompatible types
      required: org.jboss.stm.types.AtomicArray<java.lang.Integer>
      found: org.jboss.stm.types.AtomicArray<capture#1 of ?>
      [ERROR] /home/tom/projects/jbosstm/narayana/STM/src/test/java/org/jboss/stm/types/AtomicArrayUnitTest.java:[53,70] incompatible types
      required: org.jboss.stm.types.AtomicArray<java.lang.Integer>
      found: org.jboss.stm.types.AtomicArray<capture#2 of ?>
      [ERROR] /home/tom/projects/jbosstm/narayana/STM/src/test/java/org/jboss/stm/types/ExtendedArrayUnitTest.java:[85,69] incompatible types
      required: org.jboss.stm.types.AtomicArray<org.jboss.stm.types.ExtendedArrayUnitTest.Sample>
      found: org.jboss.stm.types.AtomicArray<capture#3 of ?>
      [ERROR] /home/tom/projects/jbosstm/narayana/STM/src/test/java/org/jboss/stm/types/ExtendedArrayUnitTest.java:[98,69] incompatible types
      required: org.jboss.stm.types.AtomicArray<org.jboss.stm.types.ExtendedArrayUnitTest.Sample>
      found: org.jboss.stm.types.AtomicArray<capture#4 of ?>
      [INFO] 4 errors

      git checkout 26ce1436d94354ff2d1d0bbf326dd3e490e0cf7a
      ./build.sh -f STM/pom.xml clean install
      [INFO] BUILD SUCCESS

      Show
      git checkout master (this is currently d1e5c1adb175104e95db578d8b3001c906f247ea) ./build.sh -f STM/pom.xml clean install [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /home/tom/projects/jbosstm/narayana/STM/src/test/java/org/jboss/stm/types/AtomicArrayUnitTest.java: [40,70] incompatible types required: org.jboss.stm.types.AtomicArray<java.lang.Integer> found: org.jboss.stm.types.AtomicArray<capture#1 of ?> [ERROR] /home/tom/projects/jbosstm/narayana/STM/src/test/java/org/jboss/stm/types/AtomicArrayUnitTest.java: [53,70] incompatible types required: org.jboss.stm.types.AtomicArray<java.lang.Integer> found: org.jboss.stm.types.AtomicArray<capture#2 of ?> [ERROR] /home/tom/projects/jbosstm/narayana/STM/src/test/java/org/jboss/stm/types/ExtendedArrayUnitTest.java: [85,69] incompatible types required: org.jboss.stm.types.AtomicArray<org.jboss.stm.types.ExtendedArrayUnitTest.Sample> found: org.jboss.stm.types.AtomicArray<capture#3 of ?> [ERROR] /home/tom/projects/jbosstm/narayana/STM/src/test/java/org/jboss/stm/types/ExtendedArrayUnitTest.java: [98,69] incompatible types required: org.jboss.stm.types.AtomicArray<org.jboss.stm.types.ExtendedArrayUnitTest.Sample> found: org.jboss.stm.types.AtomicArray<capture#4 of ?> [INFO] 4 errors git checkout 26ce1436d94354ff2d1d0bbf326dd3e490e0cf7a ./build.sh -f STM/pom.xml clean install [INFO] BUILD SUCCESS

      CI is failing to build past STM so marking as a blocker.

      This is the line that if I comment out the build succeeds:
      https://github.com/jbosstm/narayana/blob/master/STM/src/main/java/org/jboss/stm/types/ArrayFactory.java#L31

      It could be a JDK bug if it works for you? Here is what I am using:
      Fedora 18
      [tom@dhcppc1 narayana]((26ce143...)) (08:11:47) $ env | grep JAVA
      JAVA_HOME=/usr/lib/jvm/java-1.7.0
      [tom@dhcppc1 narayana]((26ce143...)) (08:11:47) $ which java
      /usr/lib/jvm/java-1.7.0/bin/java
      [tom@dhcppc1 narayana]((26ce143...)) (08:11:47) $ java -version
      java version "1.7.0_45"
      OpenJDK Runtime Environment (fedora-2.4.3.0.fc18-x86_64 u45-b15)
      OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode)

      Can we git revert https://github.com/jbosstm/narayana/commit/d1e5c1adb175104e95db578d8b3001c906f247ea till we know what the issue is?

              nmcl2001 Mark Little
              thjenkin@redhat.com Tom Jenkinson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: