Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0045266 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Tools] Others | minor | have not tried | 2020-10-21 11:03 | 2020-10-22 12:16 | |||
Reporter | cberner | View Status | public | |||||
Assigned To | cberner | |||||||
Priority | normal | Resolution | fixed | |||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | |||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Review Assigned To | ||||||||
Summary | 0045266: Eclipse-warnings checker tool doesn't work with Java 15+ because of Nashorn removal | |||||||
Description | In Java 15, Nashorn JavaScript engine is removed, and eclipse-warnings tool contains some JavaScript code in its build.xml. An alternative should be chosen, for example Java classes. | |||||||
Steps To Reproduce | In description. (Export Java 15 and try to execute, it will fail because of nashorn) | |||||||
Proposed Solution | Remove JavaScript, create Java classes and compile and use those to have the same result as previously with JavaScript. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||
|
Notes | |
(0123822) hgbot (developer) 2020-10-21 11:14 |
Merge Request created: https://gitlab.com/openbravo/tools/ci/eclipse-warnings/-/merge_requests/2 [^] |
(0123846) hgbot (developer) 2020-10-22 12:16 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/tools/ci/eclipse-warnings [^] Changeset: f81a6a5ff29b9fe4e3e31260ebf36a731c0db3b2 Author: Cristian Berner <cristian.berner@openbravo.com> Date: 2020-10-22T10:16:47+00:00 URL: https://gitlab.com/openbravo/tools/ci/eclipse-warnings/-/commit/f81a6a5ff29b9fe4e3e31260ebf36a731c0db3b2 [^] Fixes ISSUE-45266: Support Java 15+ by removing JavaScript usage in build.xml Java 15 removes Nashorn JS engine, and because of this the build.xml file that was using JavaScript for some tasks fails to execute. An alternative is to use Java classes to have the same functionality. In this commit this has been done, all JavaScript has been moved and converted to Java code and compiled/executed where needed in build.xml. --- A .gitignore A ComplianceLevelProvider.java A ConcatSources.java M README.md M build-eclipse.xml --- |
(0123847) hgbot (developer) 2020-10-22 12:16 |
Merge request merged: https://gitlab.com/openbravo/tools/ci/eclipse-warnings/-/merge_requests/2 [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2020-10-21 11:03 | cberner | New Issue | |
2020-10-21 11:03 | cberner | Assigned To | => cberner |
2020-10-21 11:05 | cberner | Relationship added | related to 0043901 |
2020-10-21 11:14 | hgbot | Note Added: 0123822 | |
2020-10-21 15:29 | shuehner | Issue Monitored: shuehner | |
2020-10-22 12:16 | hgbot | Resolution | open => fixed |
2020-10-22 12:16 | hgbot | Status | new => closed |
2020-10-22 12:16 | hgbot | Note Added: 0123846 | |
2020-10-22 12:16 | hgbot | Note Added: 0123847 |
Copyright © 2000 - 2009 MantisBT Group |