Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 908338

Summary: Infinispan testsuite cannot be compiled with IBM jdk 1.6
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Richard Janík <rjanik>
Component: ClusteringAssignee: Radoslav Husar <rhusar>
Status: CLOSED WONTFIX QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: atangrin, rhusar, rsvoboda, ttarrant
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-05 15:40:08 UTC Type: Feature Request
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Richard Janík 2013-02-06 13:21:13 UTC
Description of problem:

Infinispan testsuite cannot be compiled with IBM jdk 1.6. Doing so results in compilation failure:

[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /mnt/hudson_workspace/workspace/eap-6x-infinispan-rhel-ibm16-matrix/jdk/ibm16/label/RHEL6_x86/Infinispan/core/src/main/java/org/infinispan/jmx/annotations/ManagedAttribute.java:[48,40] incompatible types
found   : org.infinispan.jmx.annotations.DataType
required: org.infinispan.jmx.annotations.DataType
[ERROR] /mnt/hudson_workspace/workspace/eap-6x-infinispan-rhel-ibm16-matrix/jdk/ibm16/label/RHEL6_x86/Infinispan/core/src/main/java/org/infinispan/jmx/annotations/ManagedAttribute.java:[50,49] incompatible types
found   : org.infinispan.jmx.annotations.DisplayType
required: org.infinispan.jmx.annotations.DisplayType
[ERROR] /mnt/hudson_workspace/workspace/eap-6x-infinispan-rhel-ibm16-matrix/jdk/ibm16/label/RHEL6_x86/Infinispan/core/src/main/java/org/infinispan/jmx/annotations/ManagedAttribute.java:[52,61] incompatible types
found   : org.infinispan.jmx.annotations.MeasurementType
required: org.infinispan.jmx.annotations.MeasurementType
[ERROR] /mnt/hudson_workspace/workspace/eap-6x-infinispan-rhel-ibm16-matrix/jdk/ibm16/label/RHEL6_x86/Infinispan/core/src/main/java/org/infinispan/jmx/annotations/ManagedAttribute.java:[54,31] incompatible types
found   : org.infinispan.jmx.annotations.Units
required: org.infinispan.jmx.annotations.Units
[ERROR] /mnt/hudson_workspace/workspace/eap-6x-infinispan-rhel-ibm16-matrix/jdk/ibm16/label/RHEL6_x86/Infinispan/core/src/main/java/org/infinispan/jmx/annotations/ManagedAttribute.java:[48,40] incompatible types
found   : org.infinispan.jmx.annotations.DataType
required: org.infinispan.jmx.annotations.DataType
[ERROR] /mnt/hudson_workspace/workspace/eap-6x-infinispan-rhel-ibm16-matrix/jdk/ibm16/label/RHEL6_x86/Infinispan/core/src/main/java/org/infinispan/jmx/annotations/ManagedAttribute.java:[50,49] incompatible types
found   : org.infinispan.jmx.annotations.DisplayType
required: org.infinispan.jmx.annotations.DisplayType
[ERROR] /mnt/hudson_workspace/workspace/eap-6x-infinispan-rhel-ibm16-matrix/jdk/ibm16/label/RHEL6_x86/Infinispan/core/src/main/java/org/infinispan/jmx/annotations/ManagedAttribute.java:[52,61] incompatible types
found   : org.infinispan.jmx.annotations.MeasurementType
required: org.infinispan.jmx.annotations.MeasurementType
[ERROR] /mnt/hudson_workspace/workspace/eap-6x-infinispan-rhel-ibm16-matrix/jdk/ibm16/label/RHEL6_x86/Infinispan/core/src/main/java/org/infinispan/jmx/annotations/ManagedAttribute.java:[54,31] incompatible types
found   : org.infinispan.jmx.annotations.Units
required: org.infinispan.jmx.annotations.Units
[INFO] 8 errors 
[INFO] -------------------------------------------------------------

This was seen on RHEL 5, 6; both 32 and 64-bit.
Perhaps this is not the correct place to report this, if so, please leave a comment below, I shall fill another report.


Version-Release number of selected component (if applicable):

Infinispan 5.2.0.CR3
EAP 6.1.0.DR3

Comment 1 Radoslav Husar 2013-03-05 14:29:31 UTC
The name is a bit misleading, it is infinispan-core that doesnt compile *not* the testsuite.

Anyway.. https://issues.jboss.org/browse/ISPN-2890

Comment 2 Tristan Tarrant 2013-03-05 15:06:22 UTC
Which version of the compiler is this ?

Comment 3 Tristan Tarrant 2013-03-05 15:23:19 UTC
It compiles fine with IBM JDK 1.6.0 SR12

Comment 4 Richard Janík 2013-03-06 06:31:13 UTC
This was IBM JDK SR9. Full 'java -version' output:

java version "1.6.0"
Java(TM) SE Runtime Environment (build pxi3260sr9fp1-20110208_03(SR9 FP1))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux x86-32 jvmxi3260sr9-20110203_74623 (JIT enabled, AOT enabled)
J9VM - 20110203_074623
JIT  - r9_20101028_17488ifx3
GC   - 20101027_AA)
JCL  - 20110203_01

Comment 5 Anne-Louise Tangring 2013-03-11 14:02:20 UTC
This issue is closed as won't fix. Marking as rejected for EAP 6.1.0 by Devleopment.