Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0039032Openbravo ERPA. Platformpublic2018-07-24 16:572019-04-19 08:13
shuehner 
platform 
normalminorhave not tried
closedfixed 
5
 
3.0PR19Q3 
Core
No
0039032: Illegal Access warning in jaxb-impl-2.2.6 library
This library is used by hibernate and every use (startup) of hibernate causes a illegal access warning to be shown.

Known places showing the warning:
- ant generate.entities.quick
- ant check.module.consistency
- ant apply.module
- ant export.db
- tomcat start

Topic is tracked upstream already:
https://github.com/javaee/jaxb-v2/issues/1197 [^]

Fix expected for next release after current (which is 2.3.0).

Fix is done by removing some 'legacy optimization'.
That is possible to be disabled already in 2.3.0 by using some config (however we only have version 2.2.6 currently in pi)
-
No tags attached.
related to feature request 0040552 closed caristu upgrade hibernate to version 5.4 
blocks design defect 0039031 new Triage Platform Base Tracking issue: Remove illegal access warnings shown since java9 by updating affected jar libraries 
blocks defect 0040649 closed alostale no need to open modules for reflection in build tasks 
Issue History
2018-07-24 16:57shuehnerNew Issue
2018-07-24 16:57shuehnerAssigned To => platform
2018-07-24 16:57shuehnerModules => Core
2018-07-24 16:57shuehnerTriggers an Emergency Pack => No
2018-07-24 16:57shuehnerRelationship addedblocks 0039031
2018-07-24 16:58shuehnerNote Added: 0105922
2018-09-06 10:26shuehnerNote Added: 0106613
2018-09-28 10:41alostaleTarget Version => 3.0PR19Q1
2018-12-20 12:58alostaleTarget Version3.0PR19Q1 =>
2019-04-09 18:45caristuRelationship addedrelated to 0040552
2019-04-19 08:13alostaleNote Added: 0111213
2019-04-19 08:13alostaleStatusnew => closed
2019-04-19 08:13alostaleResolutionopen => fixed
2019-04-19 08:13alostaleFixed in Version => 3.0PR19Q3
2019-04-19 08:35alostaleRelationship addedblocks 0040649

Notes
(0105922)
shuehner   
2018-07-24 16:58   
Upstream changelog:
https://javaee.github.io/jaxb-v2/doc/user-guide/ch02.html [^]
(0106613)
shuehner   
2018-09-06 10:26   
jaxb-impl 2.4.0 has just been released and should have the fixes to avoid those warnings (not tested by myself):
https://github.com/javaee/jaxb-v2/releases/tag/2.4.0 [^]

Check documentation update commit inside that tag which contains some extra info when deploying newer java (mostly related to jpms but did not check if it has extra notes also related to old-style classpath deployment we do)
(0111213)
alostale   
2019-04-19 08:13   
Fixed with by the jaxb update from 2.2.6 to 2.3.1 required for Hibernate update to 5.4.2 (0040552)