Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0044625 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2020-07-17 10:32 | 2020-09-09 08:32 | |||
Reporter | cberner | View Status | public | |||||
Assigned To | platform | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | PR20Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | caristu | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0044625: Remove or fix xercesImpl.jar library to support eclipse java 11 | |||||||
Description | Eclipse ecj compiler generates an error when xercesImpl.jar is present because it collides with JDK package org.w3c.dom.html. This jar is present in the ERP. There's a bug reported on their website to fix this, but there seems to be no plan to fix it soon.[1] This has to be fixed to support working with Eclipse on java 11. [1] https://issues.apache.org/jira/browse/XERCESJ-1689 [^] | |||||||
Steps To Reproduce | 1. Open an erp environment in Eclipse and set the compiler to Java 11. 2. Apply 44625_reproduce.diff attached to this issue. 3. Build project, errors should show up in the build process. | |||||||
Tags | No tags attached. | |||||||
Attached Files | 44625_reproduce.diff [^] (696 bytes) 2020-07-27 12:49 [Show Content] | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||||||||||||||||||||||||||||||
|
Notes | |
(0121505) cberner (developer) 2020-07-17 11:56 |
Some work has been done in this MR trying to remove it. https://gitlab.com/openbravo/product/openbravo/-/merge_requests/103 [^] Problem found: nekohtml depends on it, and removing this generates more problems. |
(0122421) hgbot (developer) 2020-08-28 12:18 |
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/128 [^] |
(0122704) hgbot (developer) 2020-09-07 07:10 |
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/128 [^] |
(0122705) hgbot (developer) 2020-09-07 07:10 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/openbravo [^] Changeset: d1c5ec1eeac2370f9b2cce15859867e8d837e5ff Author: Carlos Aristu <carlos.aristu@openbravo.com> Date: 2020-09-03T14:14:29+02:00 URL: https://gitlab.com/openbravo/product/openbravo/-/commit/d1c5ec1eeac2370f9b2cce15859867e8d837e5ff [^] fixes BUG-44625: update xercesImpl library Update xercesImpl library to version 2.12.1. This version still is not compatible with JDK11 as it already has a split package problem with the org.w3c.dom.html. Note that there is a known issue[1] already reported for this library to fix this. For this reason, apart from updating this library to the latest version we are fixing the JDK11 split package problem by patching the .jar library to remove the org.w3c.dom.html package which indeed only contained a single class: HTMLDOMImplementation. [1] https://issues.apache.org/jira/browse/XERCESJ-1689 [^] --- A lib/runtime/xercesImpl-2.12.1-patched.jar M legal/Licensing.txt M src-core/.classpath M src-trl/.classpath M src-wad/.classpath R lib/runtime/xercesImpl.jar --- |
(0122772) caristu (developer) 2020-09-07 18:00 |
Reverted fix[1] as it causes problem in JDK8. See 0044999. [1] https://gitlab.com/openbravo/product/openbravo/-/commit/04a8027732f7f54d6ce305ee02100a7f8724d924 [^] |
(0122830) caristu (developer) 2020-09-09 08:32 |
Finally the changes introduced with this issue has been reverted, and to solve the the split package problem, the current xerces library has been patched. See 0044999. |
Issue History | |||
Date Modified | Username | Field | Change |
2020-07-17 10:32 | cberner | New Issue | |
2020-07-17 10:32 | cberner | Assigned To | => platform |
2020-07-17 10:32 | cberner | Modules | => Core |
2020-07-17 10:32 | cberner | Triggers an Emergency Pack | => No |
2020-07-17 10:32 | cberner | Relationship added | blocks 0044624 |
2020-07-17 10:33 | cberner | Summary | Remove or fix xercesImpl.jar to support eclipse java 11 => Remove or fix xercesImpl.jar library to support eclipse java 11 |
2020-07-17 10:33 | cberner | Description Updated | View Revisions |
2020-07-17 11:56 | cberner | Note Added: 0121505 | |
2020-07-27 12:50 | cberner | File Added: 44625_reproduce.diff | |
2020-07-27 12:53 | cberner | Steps to Reproduce Updated | View Revisions |
2020-07-31 13:54 | shuehner | Relationship added | blocks 0044733 |
2020-08-28 12:18 | hgbot | Note Added: 0122421 | |
2020-09-03 09:52 | caristu | Relationship added | blocks 0044973 |
2020-09-07 07:10 | hgbot | Resolution | open => fixed |
2020-09-07 07:10 | hgbot | Status | new => closed |
2020-09-07 07:10 | hgbot | Note Added: 0122704 | |
2020-09-07 07:10 | hgbot | Fixed in Version | => PR20Q4 |
2020-09-07 07:10 | hgbot | Note Added: 0122705 | |
2020-09-07 10:39 | caristu | Issue cloned | 0044999 |
2020-09-07 10:39 | caristu | Relationship added | causes 0044999 |
2020-09-07 17:58 | caristu | Status | closed => new |
2020-09-07 17:58 | caristu | Resolution | fixed => open |
2020-09-07 17:58 | caristu | Fixed in Version | PR20Q4 => |
2020-09-07 18:00 | caristu | Note Added: 0122772 | |
2020-09-09 08:32 | caristu | Review Assigned To | => caristu |
2020-09-09 08:32 | caristu | Note Added: 0122830 | |
2020-09-09 08:32 | caristu | Status | new => closed |
2020-09-09 08:32 | caristu | Resolution | open => fixed |
2020-09-09 08:32 | caristu | Fixed in Version | => PR20Q4 |
2022-05-05 18:07 | shuehner | Relationship added | related to 0049242 |
Copyright © 2000 - 2009 MantisBT Group |