Skip to content

Commit

Permalink
Temporary workaround to my FrozenLiteral commit. -J-ea noticed these …
Browse files Browse the repository at this point in the history
…strings were being used in places where the strings are required to be intern'd. A followup fix will remove these uses of FrozenLiteral (and StringLiteral), but this will fix the ci errors.
  • Loading branch information
enebo committed Mar 11, 2015
1 parent 4248adb commit 9ac895a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/main/java/org/jruby/ir/operands/StringLiteral.java
Expand Up @@ -51,7 +51,8 @@ protected StringLiteral(OperandType type, ByteList val, int coderange) {
} catch (UnsupportedCharsetException e) {
stringTemp = bytelist.toString();
}
string = stringTemp;
// FIXME:
string = stringTemp.intern();
}

public StringLiteral(String s) {
Expand Down

0 comments on commit 9ac895a

Please sign in to comment.