79N/A/**
383N/A * @test /nodynamiccopyright/
79N/A * @bug 6717241
79N/A * @summary some diagnostic argument is prematurely converted into a String object
79N/A * @author Maurizio Cimadamore
610N/A * @compile/fail/ref=T6717241b.out -XDrawDiagnostics T6717241b.java
79N/A */
79N/A
79N/Aclass T6717241b {
79N/A void test() {
79N/A //this will generate a 'cant.resolve.location'
79N/A Object o = v;
79N/A //this will generate a 'cant.resolve.location.args'
79N/A m1(1, "");
79N/A //this will generate a 'cant.resolve.location.args.params'
79N/A T6717241b.<Integer,Double>m2(1, "");
79N/A }
79N/A}