Bug 1423476

Summary: (6.4.z) jboss-as-jacorb doesn't compile on IBM Java
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Peter Mackay <pmackay>
Component: BuildAssignee: Petr Jurak <pjurak>
Status: CLOSED CURRENTRELEASE QA Contact: Peter Mackay <pmackay>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.4.14CC: bmaxwell, msochure, pgier, pjurak, rnetuka, vtunka
Target Milestone: CR1   
Target Release: EAP 6.4.15   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-19 08:07:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1419353    

Description Peter Mackay 2017-02-17 12:10:54 UTC
Description of problem:

There's following compilation failure when building EAP 6.4.14.CR1 with IBM Java:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project jboss-as-jacorb: Compilation failure: Compilation failure:
[ERROR] /.../jacorb/src/main/java/org/jboss/as/jacorb/JacORBSubsystemAdd.java:[25,52] package com.sun.org.apache.xpath.internal.operations does not exist

This was introduced by BZ-1259902 [1].
Specifically by: import com.sun.org.apache.xpath.internal.operations.Bool; [2].

As far as I can tell that import (together with some more from that commit) is unused. After removing it, the build passed fine.

How reproducible: very

Steps to Reproduce:
1. make sure you are using IBM Java
2. run the ./build.sh script

Actual results:
Maven build fails due to compilation failure caused by missing package.

Expected results:
Maven build finishes successfully.

[1]: https://bugzilla.redhat.com/show_bug.cgi?id=1259902
[2]: https://github.com/jbossas/jboss-eap/pull/2917/files#diff-c6292238b71727ab0a832d7a2e1179b9R25

Comment 4 Peter Mackay 2017-05-11 11:47:42 UTC
Verified with EAP 6.4.15.CP.CR3

Comment 5 Petr Penicka 2017-05-19 08:07:05 UTC
Released on May 18 as part of EAP 6.4.15.