REGRESSION: Some calls to Collections.binarySearch no longer compile

XMLWordPrintable

      import java.util.*;

      class T5078378 {
          public static boolean contains(List l, Object o) {
      return Collections.binarySearch(l, o) > -1;
          }
      }

      This compiles with 1.4, but not with 1.5.

            Assignee:
            Peter Ahe
            Reporter:
            Peter Ahe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: