phreddrickk
Active member
Recently, when using OpenJDK 17.0.3, I ran into the following error:
That code was compiled from this Typescript code, which previously ran without incident. The line in question is here, which runs as part of the main function located here.
Rolling my java back to JDK 17+35 seems to have reverted the error, but the issue seems to lie somewhere in handling the TM special character.
When I was still using 17.0.3, I ran some quick tests in the CLI, and came up short of any answer:
I suspect that it has something to do with saving and later retrieving the string, but have been unable to track down the issue.
This very well may be a bug report that belongs in Rhino, or in Adoptium or what have you, but it feels like mafia is for sure the first place to report it.
Internal exception: Wrapped net.sourceforge.kolmafia.textui.ScriptException: Bad item value: Our Daily Candles⢠order form (file:/C:/Users/shhhhh/Desktop/mafia/scripts/phccs/phccs_gash.js#3387)
That code was compiled from this Typescript code, which previously ran without incident. The line in question is here, which runs as part of the main function located here.
Rolling my java back to JDK 17+35 seems to have reverted the error, but the issue seems to lie somewhere in handling the TM special character.
When I was still using 17.0.3, I ran some quick tests in the CLI, and came up short of any answer:
> js toItem("Our Daily Candles™ order form") Returned: Our Daily Candles™ order form
> js Item.get("Our Daily Candles™ order form") Returned: Our Daily Candles™ order form
I suspect that it has something to do with saving and later retrieving the string, but have been unable to track down the issue.
This very well may be a bug report that belongs in Rhino, or in Adoptium or what have you, but it feels like mafia is for sure the first place to report it.