Project

Profile

Help

Bug #2466

closed

NoSuchMethodException during bytecode generation: CodepointCollator.compareCS

Added by Michael Kay about 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Byte code generation
Sprint/Milestone:
Start date:
2015-10-07
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.6
Fix Committed on Branch:
9.6
Fixed in Maintenance Release:
Platforms:

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.

Please register to edit this issue

Also available in: Atom PDF