Community
Participate
Working Groups
If I remove the onExcpetion block for InvalidIndexException the code will execute. Handler terminates with exception included. try longStr String = "123456789"; shortStr String = longStr[8:12]; onException (oops InvalidIndexException) SysLib.writeStdOut("Success"); onException (oops AnyException) SysLib.writeStdOut("wrong exception"); end Java had this issue as well 354259.
Ported Java RT implementation of EString.substring; unit-tested with the provided testcase.
Verified with 201109120910
Closing this defect.