Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0045266
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Tools] Othersminorhave not tried2020-10-21 11:032020-10-22 12:16
ReportercbernerView Statuspublic 
Assigned Tocberner 
PrioritynormalResolutionfixed 
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnone 
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Review Assigned To
Summary

0045266: Eclipse-warnings checker tool doesn't work with Java 15+ because of Nashorn removal

DescriptionIn 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 ReproduceIn description. (Export Java 15 and try to execute, it will fail because of nashorn)
Proposed SolutionRemove JavaScript, create Java classes and compile and use those to have the same result as previously with JavaScript.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0043901 closedplatform Openbravo ERP Support JDK15 

-  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
Powered by Mantis Bugtracker