GlennRicaud / data-toolbox-app

Apache License 2.0
10 stars 1 forks source link

Don't use Nashorn classes directly #77

Closed rymsha closed 11 months ago

rymsha commented 11 months ago

XP 7.13 Uses Java 17 that does not have jdk.nashorn.api.scripting classes anymore.

XP 7.13 Upgrade notes suggest to migrate to XP’s Javascript API instead of using Nashorn directly.

Usage of Java 11 Nashorn engine is now deprecated and will be removed in future XP versions. Currently warning is issued for each usage: Class x.y.Z uses unsupported jdk.nashorn. Application may stop working in future XP versions. Applications must not use Nashorn engine directly, but instead use XP’s Javascript API.

Note: Often it is possible to use Map instead of JSObject

GlennRicaud commented 11 months ago

Thank you for reporting it 👍 . I will remove the usage of the jdk.nashorn.api.scripting

GlennRicaud commented 11 months ago

Released with 5.0.27

alansemenov commented 10 months ago

@GlennRicaud did you stop tagging releases? the last two releases are missing here