test/tools/javac/7182350/T7182350.java

Thu, 10 Oct 2013 14:58:04 +0200

author
ihse
date
Thu, 10 Oct 2013 14:58:04 +0200
changeset 2094
343aeb2033f0
parent 0
959103a6100f
permissions
-rw-r--r--

8001931: The new build system whitespace cleanup
Reviewed-by: tbell, simonis, erikj

aoqi@0 1 /**
aoqi@0 2 * @test /nodynamiccopyright/
aoqi@0 3 * @bug 7182350
aoqi@0 4 * @summary verify correct output of -Xlint:unchecked on methods with unchecked conversations in parameters
aoqi@0 5 * @compile/ref=T7182350.out -XDrawDiagnostics -Xlint:unchecked T7182350.java
aoqi@0 6 */
aoqi@0 7
aoqi@0 8 import java.util.*;
aoqi@0 9
aoqi@0 10 class T7182350 {
aoqi@0 11 public static void quicksort(Vector vector, Comparator compare) {
aoqi@0 12 Collections.sort(vector,compare);
aoqi@0 13 }
aoqi@0 14 }

mercurial