Bug 908338 - Infinispan testsuite cannot be compiled with IBM jdk 1.6
Summary: Infinispan testsuite cannot be compiled with IBM jdk 1.6
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Clustering
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Radoslav Husar
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-06 13:21 UTC by Richard Janík
Modified: 2013-03-11 14:02 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-03-05 15:40:08 UTC
Type: Feature Request
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.