Axis2 and OpenJDK 8

"Stadelmann Josef" <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <C76B3518F981E0468383F7E091A595B8019D0C28@c005815.chres1.doleni.net>
Hi developers of axis2

First my question:
Is it assumed that axis2 trunk sources build successful using OpenJDK 8
?

My experience on Ubuntu 12.04 with

root@raser:~# java -version
openjdk version "1.8.0-internal"
OpenJDK Runtime Environment (build
1.8.0-internal-josef_2013_02_18_15_26-b00)
OpenJDK Server VM (build 25.0-b18, mixed mode)

and 

root@raser:~# mvn -version
Apache Maven 3.0.5-SNAPSHOT (r1243054; 2012-02-11 17:30:01+0100)
Maven home: /usr/local/apache-maven-3.0.5-SNAPSHOT
Java version: 1.8.0-internal, vendor: Oracle Corporation
Java home: /usr/lib/jvm/j2sdk-image/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.2.0-38-generic-pae", arch: "i386", family:
"unix"
root@raser:~# 

on IDE

NetBeans 7.3rc2 which runs on the given OpenJDK 8 version 

results in errors building the kernel 
(required builds for the aar-maven-plugin and mar-maven-plugin where
successfully done)


cd /home/josef/SW-PROJEKTE/asf/axis2/java/core/tags/v1.6.2;
JAVA_HOME=/usr/lib/jvm/j2sdk-image
/usr/local/netbeans-7.3rc2/java/maven/bin/mvn install
Scanning for projects...
------------------------------------------------------------------------
Reactor Build Order:

Apache Axis2 - Parent
Apache Axis2 - Resource bundle
Apache Axis2 - Kernel

. . . 

------------------------------------------------------------------------
Building Apache Axis2 - Kernel 1.6.2
------------------------------------------------------------------------

[remote-resources:process]

[resources:resources]
Using 'UTF-8' encoding to copy filtered resources.
Copying 1 resource
Copying 3 resources
Copying 2 resources

[antrun:run]
Executing tasks
     [copy] Copying 1 file to
/home/josef/SW-PROJEKTE/asf/axis2/java/core/tags/v1.6.2/v1.6.2/modules/k
ernel/target/classes/org/apache/axis2/i18n
Executed tasks

[compiler:compile]
Compiling 94 source files to
/home/josef/SW-PROJEKTE/asf/axis2/java/core/tags/v1.6.2/v1.6.2/modules/k
ernel/target/classes
-------------------------------------------------------------
COMPILATION ERROR : 
-------------------------------------------------------------
org/apache/axis2/description/java2wsdl/DefaultSchemaGenerator.java:[162,
12] error: reference to Parameter is ambiguous

  both class java.lang.reflect.Parameter in java.lang.reflect and class
org.apache.axis2.description.Parameter in org.apache.axis2.description
match
org/apache/axis2/description/java2wsdl/DefaultSchemaGenerator.java:[167,
12] error: reference to Parameter is ambiguous

  both class java.lang.reflect.Parameter in java.lang.reflect and class
org.apache.axis2.description.Parameter in org.apache.axis2.description
match
org/apache/axis2/description/java2wsdl/DefaultSchemaGenerator.java:[172,
12] error: reference to Parameter is ambiguous

3 errors 


Josef
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.