< prev index next >

test/jdk/com/sun/jdi/JdbInlineTypesTest.java

Print this page

        

*** 152,158 **** --- 152,161 ---- execCommand(JdbCommand.set("array[1]", "null")).shouldContain("Can't set an inline type to null"); // Testing substitutability test execCommand(JdbCommand.print("v == v2")).shouldContain(" = true"); execCommand(JdbCommand.print("v == v3")).shouldContain(" = false"); + + // Testing inline type instance creation + execCommand(JdbCommand.print("new JdbInlineTypesTestTarg$SmallValue(42,64)")).shouldContain(" = \"[JdbInlineTypesTestTarg$SmallValue b0=42 b1=64]\""); } }
< prev index next >