Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0039031Openbravo ERPA. Platformpublic2018-07-24 16:532022-02-01 08:07
shuehner 
Triage Platform Base 
normalminorhave not tried
newopen 
5
 
 
Core
No
0039031: Tracking issue: Remove illegal access warnings shown since java9 by updating affected jar libraries
Since java9 a new type of warning is shown for some libraries:

     [java] WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/home/huehner/ob/branches/pi_pg/lib/runtime/jaxb-impl-2.2.6.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)

Which can be typically fixed by waiting for the project to fix the issue and then updating the library version we use.

This issue tracks all the known cases
Use Openbravo i.e. using java10 or 11ea
'use' here can be any number of ant tasks or using application.

As the warning is only raised on use.

Note:
By default only 1 warning is shown per java process if not special parameter is passed.
No tags attached.
related to feature request 0037083 closed alostale support JDK 9 
depends on design defect 0039032 closed platform Illegal Access warning in jaxb-impl-2.2.6 library 
depends on design defect 0039034 closed caristu Illegal Access warning in xstream-1.3.1 library 
depends on design defect 0039035 closed platform Illegal access warning in weld-core-1.1.24 library 
depends on defect 00393723.0PR18Q4 closed alostale Illegal Access warning in ant tasks 
depends on defect 0040649 closed alostale no need to open modules for reflection in build tasks 
related to design defect 0040840 closed platform Illegal Access warning in weld-core-impl-3.1.1.Final.jar using JDK12+ 
Issue History
2018-07-24 16:53shuehnerNew Issue
2018-07-24 16:53shuehnerAssigned To => platform
2018-07-24 16:53shuehnerModules => Core
2018-07-24 16:53shuehnerTriggers an Emergency Pack => No
2018-07-24 16:57shuehnerRelationship addeddepends on 0039032
2018-07-24 17:01shuehnerRelationship addeddepends on 0039034
2018-07-24 17:05shuehnerRelationship addeddepends on 0039035
2018-07-24 17:05shuehnerRelationship addedrelated to 0037083
2018-09-28 10:28alostaleRelationship addeddepends on 0039372
2019-01-03 14:58plujanIssue Monitored: plujan
2019-04-19 08:36alostaleRelationship addeddepends on 0040649
2019-05-10 14:59caristuRelationship addedrelated to 0040840
2022-02-01 08:07alostaleAssigned Toplatform => Triage Platform Base

There are no notes attached to this issue.