[jboss-jira] [JBoss JIRA] Commented: (AS7-612) CLONE - Cannot build JBoss AS 7 using OpenJDK

Ondrej Zizka (JIRA) jira-events at lists.jboss.org
Wed Sep 14 14:39:26 EDT 2011


    [ https://issues.jboss.org/browse/AS7-612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12628491#comment-12628491 ] 

Ondrej Zizka commented on AS7-612:
----------------------------------

OpenJDK 1.6.0_20:
{code}
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-java-version) @ jboss-as-build-config ---
[WARNING] Rule 0: org.apache.maven.plugins.enforcer.RequireJavaVersion failed with message:
To build this project JDK 1.6 (or greater) is required. Please install it.
{code}
{code}
java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.9) (6b20-1.9.9)
{code}

> 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 at 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 at 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list