1 2 3 4 5 6
class PR5913 { boolean test1 = ("" + 1) instanceof String; // This also tests literal parsing, as mentioned in PR 5902. boolean test2 = "" + 0x1instanceof String; }