Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0044733 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
design defect | [Openbravo ERP] A. Platform | major | have not tried | 2020-07-31 13:54 | 2020-11-02 07:08 | |||
Reporter | shuehner | View Status | public | |||||
Assigned To | platform | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
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 | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0044733: Tracking issue: Find and fix all jar libaries with split packages between classpath and system image (Forbidden since Java9) | |||||||
Description | Since Java>9 the following scenarios are no longer allowed: a.) 'split package' between two different 'java modules' b.) 'split package' between java system image and normal classpath While the first topic only applies when using java module system the 2nd case applies even without it. split package example: - java system image (jdk itself) ships classes in some package - a jar library ship classes in the same java package also That is now forbidden. Current status: a.) Normal javac java compiler does not prohibit this yet b.) javac bug is reported and acknowledged to implement this stricter rules https://bugs.openjdk.java.net/browse/JDK-8215739 [^] When this change is implemented probably compilation will be broken in this scenario c.) Using Eclipse IDE with compiler=11 will fail to compile if - split package exists - Compilation needs to read a .class related related to it d.) ecj.jar eclipse commands line compiler used in Openbravo 'eclipse-warnings' CI check Fails in the same way then c.) (with compiler set to 11) Related upstream discussions: 1.) javac issue https://bugs.openjdk.java.net/browse/JDK-8215739 [^] 2.) eclipse bug with lots of discussion https://bugs.eclipse.org/bugs/show_bug.cgi?id=536928 [^] | |||||||
Steps To Reproduce | Issue 44625 has a reproducible example | |||||||
Proposed Solution | Find any jar library causing split-package and fix it. Fix could be: - Remove usage of the whole library if possible - Remove the split-package situation by either - Getting upstream to fix it - Patching the library locally (only if unavoidable) | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Notes | |
(0121741) shuehner (administrator) 2020-07-31 13:59 |
There is an utility script in this repo checking jar libraries and raising the split package situations: https://gitlab.com/openbravo/tools/platform/jar-collision-finder [^] |
(0124076) alostale (manager) 2020-11-02 07:07 edited on: 2020-11-02 07:07 |
All known cases are addressed |
Issue History | |||
Date Modified | Username | Field | Change |
2020-07-31 13:54 | shuehner | New Issue | |
2020-07-31 13:54 | shuehner | Assigned To | => platform |
2020-07-31 13:54 | shuehner | Modules | => Core |
2020-07-31 13:54 | shuehner | Triggers an Emergency Pack | => No |
2020-07-31 13:54 | shuehner | Relationship added | depends on 0044625 |
2020-07-31 13:54 | shuehner | Relationship added | blocks 0044626 |
2020-07-31 13:59 | shuehner | Note Added: 0121741 | |
2020-07-31 14:01 | shuehner | Relationship added | depends on 0044734 |
2020-07-31 14:03 | shuehner | Relationship added | blocks 0044624 |
2020-07-31 14:18 | shuehner | Relationship added | depends on 0044735 |
2020-07-31 14:25 | shuehner | Relationship added | depends on 0044736 |
2020-07-31 14:30 | shuehner | Relationship replaced | depends on 0044626 |
2020-08-05 10:59 | shuehner | Relationship added | depends on 0044754 |
2020-08-10 17:31 | shuehner | Relationship added | depends on 0044775 |
2020-08-11 09:35 | shuehner | Relationship added | depends on 0044779 |
2020-10-05 10:05 | cberner | Relationship added | blocks 0044064 |
2020-11-02 07:07 | alostale | Note Added: 0124076 | |
2020-11-02 07:07 | alostale | Note Edited: 0124076 | View Revisions |
2020-11-02 07:07 | alostale | Status | new => scheduled |
2020-11-02 07:07 | alostale | Status | scheduled => resolved |
2020-11-02 07:07 | alostale | Fixed in SCM revision | => - |
2020-11-02 07:07 | alostale | Resolution | open => fixed |
2020-11-02 07:08 | alostale | Status | resolved => closed |
2022-03-10 08:35 | alostale | Relationship added | depends on 0048749 |
Copyright © 2000 - 2009 MantisBT Group |