Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0039372 | Openbravo ERP | A. Platform | public | 2018-09-28 09:48 | 2018-10-11 10:52 | ||||||||||||||
Reporter | alostale | ||||||||||||||||||
Assigned To | alostale | ||||||||||||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||
Product Version | |||||||||||||||||||
Target Version | 3.0PR18Q4 | Fixed in Version | 3.0PR18Q4 | ||||||||||||||||
Merge Request Status | |||||||||||||||||||
Review Assigned To | caristu | ||||||||||||||||||
OBNetwork customer | No | ||||||||||||||||||
Web browser | |||||||||||||||||||
Modules | Core | ||||||||||||||||||
Support ticket | |||||||||||||||||||
Regression level | |||||||||||||||||||
Regression date | |||||||||||||||||||
Regression introduced in release | |||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||
Summary | 0039372: Illegal Access warning in ant tasks | ||||||||||||||||||
Description | When executing some ant tasks with a JDK >=9 an Illegal Access warning is seen. | ||||||||||||||||||
Steps To Reproduce | The following flows are affected: - install.source - smartbuild - update.database Note there might be others that are also affected, but as they are not that common, and technically require a different and more complex solution (they are not executed in a different forked jvm where it's easy to set params), they will not fix within patch for this issue. | ||||||||||||||||||
Proposed Solution | Until a proper fix is done by updating dependencies making those illegal accesses, open up the required modules with --add-open jvm argument in those tasks making use of it. Note. Include the argument in an ant property (jvm.arg.line) so that: * By default, if JDK is 9+ required modules are opened * It is possible to overwrite that property in command line to, for example see all occurrences of this problem. Ie.: ant generate.entities.quick -Djvm.arg.line='--illegal-access=debug'would display a warning including stack trace on each occurrence. --- [1] https://docs.oracle.com/javase/9/tools/java.htm#JSWOR624 [^] | ||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | |||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2018-09-28 09:48 | alostale | New Issue | |||||||||||||||||
2018-09-28 09:48 | alostale | Assigned To | => platform | ||||||||||||||||
2018-09-28 09:48 | alostale | OBNetwork customer | => No | ||||||||||||||||
2018-09-28 09:48 | alostale | Modules | => Core | ||||||||||||||||
2018-09-28 09:48 | alostale | Triggers an Emergency Pack | => No | ||||||||||||||||
2018-09-28 10:28 | alostale | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=17709#r17709 | ||||||||||||||||
2018-09-28 10:28 | alostale | Relationship added | blocks 0039031 | ||||||||||||||||
2018-09-28 11:23 | alostale | Assigned To | platform => alostale | ||||||||||||||||
2018-09-28 11:27 | alostale | Review Assigned To | => caristu | ||||||||||||||||
2018-09-28 11:27 | alostale | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=17710#r17710 | ||||||||||||||||
2018-09-28 11:27 | alostale | Target Version | => 3.0PR18Q4 | ||||||||||||||||
2018-09-28 11:33 | hgbot | Checkin | |||||||||||||||||
2018-09-28 11:33 | hgbot | Note Added: 0107065 | |||||||||||||||||
2018-09-28 11:33 | hgbot | Status | new => resolved | ||||||||||||||||
2018-09-28 11:33 | hgbot | Resolution | open => fixed | ||||||||||||||||
2018-09-28 11:33 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/a55bab8b0e2fa7a738e1b03b4becbb67dedd2f66 [^] | ||||||||||||||||
2018-10-01 11:36 | hudsonbot | Checkin | |||||||||||||||||
2018-10-01 11:36 | hudsonbot | Note Added: 0107086 | |||||||||||||||||
2018-10-11 10:52 | caristu | Note Added: 0107247 | |||||||||||||||||
2018-10-11 10:52 | caristu | Status | resolved => closed | ||||||||||||||||
2018-10-11 10:52 | caristu | Fixed in Version | => 3.0PR19Q1 | ||||||||||||||||
2018-10-11 10:52 | caristu | Fixed in Version | 3.0PR19Q1 => 3.0PR18Q4 | ||||||||||||||||
2019-04-19 08:35 | alostale | Relationship added | related to 0040649 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|