Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0040629 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | trivial | have not tried | 2019-04-17 09:24 | 2019-05-21 15:16 | |||
Reporter | alostale | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR19Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | d91acd577d96 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | 11+ | |||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | caristu | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0040629: jdk11+: removal warning in HttpServletCalloutInformationProvider | |||||||
Description | When compiling with JDK11+ removal warnings appear in HttpServletCalloutInformationProvider because it makes use Nashorn objects which were deprecated for removal. | |||||||
Steps To Reproduce | 1. Set up JDK11 2. Compile -> Check compilation log: compileSqlc: [javac] Compiling 4850 source files to /srv/ci/workspace/mod-simple-ci23.18103/build/classes [javac] /srv/ci/workspace/mod-simple-ci23.18103/src/org/openbravo/erpCommon/ad_callouts/HttpServletCalloutInformationProvider.java:52: warning: [removal] JSObject in jdk.nashorn.api.scripting has been deprecated and marked for removal [javac] private List<JSObject> responseElements; [javac] ^ ... | |||||||
Proposed Solution | As there is not yet any clear replacement for Nashorn, continue making use of it suppressing warnings. Note warnings should not be shown with any supported JDK version (starting from 8). | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||
|
Notes | |
(0111176) hgbot (developer) 2019-04-17 09:52 |
Repository: erp/devel/pi Changeset: d91acd577d9621f028eda6ba2b8cee8f5e3d99a3 Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Wed Apr 17 09:51:44 2019 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/d91acd577d9621f028eda6ba2b8cee8f5e3d99a3 [^] fixed issue 40629: suppressed jdk11 removal warnings Which appeared in HttpServletCalloutInformationProvider class that uses nashorn. --- M src/org/openbravo/erpCommon/ad_callouts/HttpServletCalloutInformationProvider.java --- |
(0111208) hgbot (developer) 2019-04-18 09:46 |
Repository: erp/devel/pi Changeset: 624df4ecc1c65a753ac0fdf92c794add91d539eb Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Thu Apr 18 09:20:58 2019 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/624df4ecc1c65a753ac0fdf92c794add91d539eb [^] related to issue 40629: added removal warning which to prevent warning in cli When compiling in cli with JDK11, even having @SuppressWarnings("all"), removal warning was displayed. Adding @SupressWarnings("removal") to explicilty avoid this case. --- M src/org/openbravo/erpCommon/ad_callouts/HttpServletCalloutInformationProvider.java --- |
(0111337) caristu (developer) 2019-04-26 08:37 |
Reviewed |
(0111979) hudsonbot (developer) 2019-05-21 15:16 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/9b8f37d9d85e [^] Maturity status: Test |
(0111988) hudsonbot (developer) 2019-05-21 15:16 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/9b8f37d9d85e [^] Maturity status: Test |
Issue History | |||
Date Modified | Username | Field | Change |
2019-04-17 09:24 | alostale | New Issue | |
2019-04-17 09:24 | alostale | Assigned To | => platform |
2019-04-17 09:24 | alostale | Modules | => Core |
2019-04-17 09:24 | alostale | Triggers an Emergency Pack | => No |
2019-04-17 09:26 | alostale | Review Assigned To | => caristu |
2019-04-17 09:26 | alostale | Assigned To | platform => alostale |
2019-04-17 09:47 | alostale | Relationship added | related to 0038130 |
2019-04-17 09:47 | alostale | Relationship added | related to 0040535 |
2019-04-17 09:52 | hgbot | Checkin | |
2019-04-17 09:52 | hgbot | Note Added: 0111176 | |
2019-04-17 09:52 | hgbot | Status | new => resolved |
2019-04-17 09:52 | hgbot | Resolution | open => fixed |
2019-04-17 09:52 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/d91acd577d9621f028eda6ba2b8cee8f5e3d99a3 [^] |
2019-04-18 09:46 | hgbot | Checkin | |
2019-04-18 09:46 | hgbot | Note Added: 0111208 | |
2019-04-26 08:37 | caristu | Note Added: 0111337 | |
2019-04-26 08:37 | caristu | Status | resolved => closed |
2019-04-26 08:37 | caristu | Fixed in Version | => 3.0PR19Q3 |
2019-05-21 15:16 | hudsonbot | Checkin | |
2019-05-21 15:16 | hudsonbot | Note Added: 0111979 | |
2019-05-21 15:16 | hudsonbot | Checkin | |
2019-05-21 15:16 | hudsonbot | Note Added: 0111988 |
Copyright © 2000 - 2009 MantisBT Group |