Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0040649Openbravo ERPA. Platformpublic2019-04-19 08:352019-04-26 08:41
alostale 
alostale 
normaltrivialhave not tried
closedfixed 
5
 
3.0PR19Q3 
caristu
Core
No
0040649: no need to open modules for reflection in build tasks
JDK's java.lang and java.base modules were opened for refection in order to prevent illegal reflective access in build tasks caused by jaxb 2.2.6. Now that jaxb has been updated to 2.3.1, this is not required anymore.
Using JDK9+ run ant generate.entities.quick -Djvm.arg.line='--illegal-access=debug'
  -> now no warning is displayed
No tags attached.
related to defect 00393723.0PR18Q4 closed alostale Illegal Access warning in ant tasks 
related to feature request 0040552 closed caristu upgrade hibernate to version 5.4 
depends on design defect 0039032 closed platform Illegal Access warning in jaxb-impl-2.2.6 library 
blocks design defect 0039031 new Triage Platform Base Tracking issue: Remove illegal access warnings shown since java9 by updating affected jar libraries 
Issue History
2019-04-19 08:35alostaleNew Issue
2019-04-19 08:35alostaleAssigned To => alostale
2019-04-19 08:35alostaleModules => Core
2019-04-19 08:35alostaleTriggers an Emergency Pack => No
2019-04-19 08:35alostaleRelationship addeddepends on 0039032
2019-04-19 08:35alostaleRelationship addedrelated to 0039372
2019-04-19 08:36alostaleRelationship addedblocks 0039031
2019-04-19 08:36alostaleRelationship addedrelated to 0040552
2019-04-19 08:39hgbotCheckin
2019-04-19 08:39hgbotNote Added: 0111215
2019-04-19 08:39hgbotStatusnew => resolved
2019-04-19 08:39hgbotResolutionopen => fixed
2019-04-19 08:39hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/349c4b630c6c4ca41210e400b864899924eebe55 [^]
2019-04-19 08:39alostaleReview Assigned To => caristu
2019-04-26 08:41caristuNote Added: 0111338
2019-04-26 08:41caristuStatusresolved => closed
2019-04-26 08:41caristuFixed in Version => 3.0PR19Q3

Notes
(0111215)
hgbot   
2019-04-19 08:39   
Repository: erp/devel/pi
Changeset: 349c4b630c6c4ca41210e400b864899924eebe55
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Apr 19 08:38:44 2019 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/349c4b630c6c4ca41210e400b864899924eebe55 [^]

fixes 40649: no need to open modules for reflection in build tasks

  Reverted changeset done for 0039372 as after updating jaxb this is no
  longer needed.

---
M build.xml
M src/build.xml
---
(0111338)
caristu   
2019-04-26 08:41   
Reviewed