Jenkins LTS version: 2.263.4
workflow-cps: 2.90 (upgraded from 2.83)
For a pipeline Job with pipeline script snippet as below
I'm getting the following error trace
I can see that no constructor of net.sf.json.JSONObject has this DataboundConstructor
But with previous versions of Pipeline: Groovy 2.83, the above script is working find without any above error.