Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.1.4
-
Fix Version/s: JRuby 1.2
-
Component/s: Java Integration
-
Labels:None
-
Environment:jdk 1.5
jruby 1.1.4
-
Number of attachments :
Description
RubyException constructor use Ruby#newString method to convert JavaString message into RubyString message.
but Ruby#newString raises garbled characters.
I have modified the exception construction to follow a totally String-based path that eventually encodes the string as bytes in the platform-default encoding. This should solve the issue for you, but a test case would be very helpful. Fixed in r9072.