[
https://issues.jboss.org/browse/AS7-612?page=com.atlassian.jira.plugin.sy...
]
Chris Bredesen commented on AS7-612:
------------------------------------
Is this really still open? I can build (and run) master (7.1.0.Alpha2-SNAPSHOT) on F-15
with the shipped Maven 3 and OpenJDK.
[cbredesen@monza jboss-as]$ java -version
java version "1.6.0_22"
OpenJDK Runtime Environment (IcedTea6 1.10.4) (fedora-60.1.10.4.fc15-i386)
OpenJDK Server VM (build 20.0-b11, mixed mode)
[cbredesen@monza jboss-as]$ mvn3 -version
/usr/lib/jvm/java
Apache Maven 3.0.3 (rNON-CANONICAL_2011-06-28_15-20_mockbuild; 2011-06-28 20:50:31+0530)
Maven home: /usr/share/maven
Java version: 1.6.0_22, vendor: Sun Microsystems Inc.
Java home: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "2.6.40.6-0.fc15.i686", arch:
"i386", family: "unix"
CLONE - Cannot build JBoss AS 7 using OpenJDK
---------------------------------------------
Key: AS7-612
URL:
https://issues.jboss.org/browse/AS7-612
Project: Application Server 7
Issue Type: Feature Request
Components: Build System
Affects Versions: 7.0.0.Beta1
Reporter: Shelly McGowan
Assignee: Shelly McGowan
Fix For: Open To Community
There are two build jobs using OpenJDK. JBAS-9059 issue was fixed but issues still
remain trying to build with OpenJDK. I've confirmed with Hudson team that the same
version of OpenJDK is used on both systems:
Fedora:
[hudson@vmg12 ~]$ java -version
java version "1.6.0_17"
OpenJDK Runtime Environment (IcedTea6 1.7.1) (fedora-37.b17.fc13-x86_64)
OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)
RHEL 5 :
[hudson@conf2 ~]$ /usr/lib/jvm/java-openjdk/bin/java -version
java version "1.6.0_17"
OpenJDK Runtime Environment (IcedTea6 1.7.10) (rhel-1.20.b17.el5-i386)
OpenJDK Server VM (build 14.0-b16, mixed mode)
but the build fails differently. On
RHEL 5/ OpenJDK 1.6.0_17:
ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.4:run
(build-dist) on project jboss-as-build: An Ant BuildException has occured: The following
error occurred while executing this line:
[ERROR]
/qa/services/hudson/hudson_workspace/workspace/JBoss-AS-7.0.x-testSuite-openjdk/build/build.xml:72:
The following error occurred while executing this line:
[ERROR]
/qa/services/hudson/hudson_workspace/workspace/JBoss-AS-7.0.x-testSuite-openjdk/build/lib.xml:42:
Unable to create javax script engine for javascript
[ERROR] -> [Help 1]
Fedora 13 / OpenJDK 1.6.0_17 fails with a compilation error:
INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR]
/mnt/hudson_workspace/workspace/JBoss-AS-7.0.x-Fedora13/ee/src/main/java/org/jboss/as/ee/beanvalidation/LazyValidatorFactory.java:[92,78]
incompatible types; inferred type argument(s) java.lang.Object do not conform to bounds of
type variable(s) T
found : <T>javax.validation.bootstrap.ProviderSpecificBootstrap<T>
required: java.lang.Object
Hudson jobs are here:
http://hudson.jboss.org/hudson/job/JBoss-AS-7.0.x-testSuite-openjdk/
http://hudson.jboss.org/hudson/job/JBoss-AS-7.0.x-Fedora13/
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira