Github user paulk-asert commented on the pull request:
https://github.com/apache/groovy/commit/1bcaaeaf60078dd5a9aca5cbf1df8f45de68db60#commitcomment-28387886
Please revert. That just also breaks serializable compability between
2.4.15 and 2_4_X HEAD!!
Run this script on 2.4.15:
```
def obj = new GroovyRuntimeException('boom')
assert obj instanceof GroovyRuntimeException
assert obj.message == 'boom'
def file = new File('/tmp/cc.dat')
file.withObjectOutputStream{
it.writeObject(obj)
}
```
Now run this script on 2_4_X HEAD or 2_5_X HEAD:
```
def file = new File('/tmp/cc.dat')
file.withObjectInputStream {
def newObj = it.readObject()
assert newObj instanceof GroovyRuntimeException
assert newObj.message == 'boom'
}
```
you will see:
java.io.InvalidClassException: groovy.lang.GroovyRuntimeException; local
class incompatible: stream classdesc serialVersionUID = -193137033604506378,
local class serialVersionUID = 3699943230572902549
---