Bug #2466
closedNoSuchMethodException during bytecode generation: CodepointCollator.compareCS
100%
Description
During bytecode generation of an expression of the form S1<S2, where S1 and S2 are statically known to be single strings, the code generator attempts to generate a call on a static method CodepointCollator.compareCS(CharSequence, CharSequence). But this method is not static, so it fails with a NoSuchMethodException.
Also, unhelpfully, the exception does not include details of the method that was being called.
Reported by Thorsten Rohm in private email.
Updated by Michael Kay about 9 years ago
- Status changed from In Progress to Resolved
Fixed this by the simple expedient of making the method static. (Note the patch needs to convert other invocations of the method to static invocations)
Also improved the diagnostics.
Patch committed to Subversion on the 9.6 and 9.7 branches.
Updated by O'Neil Delpratt about 9 years ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in version set to 9.6.0.8
Bug fix applied in the Saxon 9.6.0.8 maintenance release
Updated by O'Neil Delpratt about 9 years ago
- Applies to branch 9.6 added
- Fix Committed on Branch 9.6 added
- Fixed in Maintenance Release 9.6.0.8 added
Please register to edit this issue