mcimadamore@238: /** jjg@384: * @test /nodynamiccopyright/ mcimadamore@238: * @bug 6799605 mcimadamore@238: * @summary Basic/Raw formatters should use type/symbol printer instead of toString() mcimadamore@238: * @author mcimadamore mcimadamore@238: * @compile/fail/ref=T6799605.out -XDrawDiagnostics T6799605.java mcimadamore@296: * @compile/fail/ref=T6799605.out -XDoldDiags -XDrawDiagnostics T6799605.java mcimadamore@238: */ mcimadamore@238: mcimadamore@238: class T6799605 { mcimadamore@238: mcimadamore@238: > void m(T6799605 x1) {} mcimadamore@238: void m(T6799605 x1, T6799605 x2) {} mcimadamore@238: void m(T6799605 x1, T6799605 x2, T6799605 x3) {} mcimadamore@238: mcimadamore@238: void test(T6799605 t) { mcimadamore@238: m(t); mcimadamore@238: m(t, t); mcimadamore@238: m(t, t, t); mcimadamore@238: } mcimadamore@238: }