8210959: JShell fails and exits when statement throws an exception whose message contains a '%'.

Reviewed-by: sgehwolf
Backport-of: dafc4834753ca078987eefc054d8407df2c38a3c
2 files changed