MagicDraw 2022x Refresh2 Documentation

Abbreviation

JS

Description

This validation rule checks if the specified expression does not use Javascript Nashorn scripting language that is deprecated.

Severity

error

Constrained Element

Element

Solvers

  • Change to JavaScript Rhino - changes the Javascript Nashorn scripting language to JavaScript Rhino.

Example

The Parameter Direction and Type Generic Table has a custom Column Parameter Direction and Type using StringConcat that implements a Javascript Nashorn script.
The error is resolved by changing the scripting language to JavaScript Rhino via the Change to JavaScript Rhino solver.


  • No labels