[midPoint-git] [Evolveum/midpoint] a55f89: MID-6683: Groovy Exceptions may not be serializabl...

Tony Tkáčik noreply at github.com
Wed Mar 10 20:20:57 CET 2021


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: a55f893cc4e80876cdda7842bc6e3703537378b0
      https://github.com/Evolveum/midpoint/commit/a55f893cc4e80876cdda7842bc6e3703537378b0
  Author: Tony Tkacik <tonydamage at gmail.com>
  Date:   2021-03-10 (Wed, 10 Mar 2021)

  Changed paths:
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/script/groovy/GroovyScriptEvaluator.java

  Log Message:
  -----------
  MID-6683: Groovy Exceptions may not be serializable, use serializable only

When using Groovy, we make sure to walk thrown exception cause hierarchy
and replace all subclasses of GroovyRuntimeExeption with GroovyRuntimeException only.
This makes cause chain fully serializable, preserves stack-traces,
but loses exception names.

Signed-off-by: Tony Tkacik <tonydamage at gmail.com>




More information about the midPoint-svn mailing list