]
Tristan Tarrant resolved ISPN-2837.
-----------------------------------
Resolution: Won't Fix
This issue is caused by a compiler bug. Upgrading to a more recent compiler fixes the
issue.
Infinispan fails to compile
---------------------------
Key: ISPN-2837
URL:
https://issues.jboss.org/browse/ISPN-2837
Project: Infinispan
Issue Type: Bug
Components: Core API
Affects Versions: 5.2.0.CR3, 5.2.0.Final, 5.2.1.Final
Environment: $ mvn --version
Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800)
Maven home: /home/me/bin/apache-maven-3.0.3
Java version: 1.6.0_26, vendor: Sun Microsystems Inc.
Java home: /usr/lib/jvm/java-6-sun-1.6.0.26/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.2.0-4-amd64", arch: "amd64",
family: "unix"
$ /usr/lib/jvm/java-6-sun-1.6.0.26/jre/bin/java -version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
$ uname -a
Linux myhost 3.2.0-4-amd64 #1 SMP Debian 3.2.35-2 x86_64 GNU/Linux
Reporter: Shadow Creeper
Assignee: Mircea Markus
Labels: build, compile, errors, failure, maven, mvn
The latest version of Infinispan which compiles for me is "5.2.0.CR2" all since
then fail with the following errors building infinispan-core:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile
(default-compile) on project infinispan-core: Compilation failure: Compilation failure:
[ERROR]
/home/me/projects/infinispan-git/core/src/main/java/org/infinispan/jmx/annotations/ManagedAttribute.java:[48,40]
incompatible types
[ERROR] found : org.infinispan.jmx.annotations.DataType
[ERROR] required: org.infinispan.jmx.annotations.DataType
[ERROR]
/home/me/projects/infinispan-git/core/src/main/java/org/infinispan/jmx/annotations/ManagedAttribute.java:[50,49]
incompatible types
[ERROR] found : org.infinispan.jmx.annotations.DisplayType
[ERROR] required: org.infinispan.jmx.annotations.DisplayType
[ERROR]
/home/me/projects/infinispan-git/core/src/main/java/org/infinispan/jmx/annotations/ManagedAttribute.java:[52,61]
incompatible types
[ERROR] found : org.infinispan.jmx.annotations.MeasurementType
[ERROR] required: org.infinispan.jmx.annotations.MeasurementType
[ERROR]
/home/me/projects/infinispan-git/core/src/main/java/org/infinispan/jmx/annotations/ManagedAttribute.java:[54,31]
incompatible types
[ERROR] found : org.infinispan.jmx.annotations.Units
[ERROR] required: org.infinispan.jmx.annotations.Units
[ERROR]
/home/me/projects/infinispan-git/core/src/main/java/org/infinispan/jmx/annotations/ManagedAttribute.java:[48,40]
incompatible types
[ERROR] found : org.infinispan.jmx.annotations.DataType
[ERROR] required: org.infinispan.jmx.annotations.DataType
[ERROR]
/home/me/projects/infinispan-git/core/src/main/java/org/infinispan/jmx/annotations/ManagedAttribute.java:[50,49]
incompatible types
[ERROR] found : org.infinispan.jmx.annotations.DisplayType
[ERROR] required: org.infinispan.jmx.annotations.DisplayType
[ERROR]
/home/me/projects/infinispan-git/core/src/main/java/org/infinispan/jmx/annotations/ManagedAttribute.java:[52,61]
incompatible types
[ERROR] found : org.infinispan.jmx.annotations.MeasurementType
[ERROR] required: org.infinispan.jmx.annotations.MeasurementType
[ERROR]
/home/me/projects/infinispan-git/core/src/main/java/org/infinispan/jmx/annotations/ManagedAttribute.java:[54,31]
incompatible types
[ERROR] found : org.infinispan.jmx.annotations.Units
[ERROR] required: org.infinispan.jmx.annotations.Units
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: