Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6862521

closed/javax/swing/JTable/sorting/UnitTest.java test fails with invalid inferred types.

XMLWordPrintable

      Bug Info
      ========
      closed/javax/swing/JTable/sorting/UnitTest.java test fails while testing with jdk7 pit b66.It works fine till jdk7-b65.

      JDK-Info
      =========

      java version "1.7.0-internal"
      Java(TM) SE Runtime Environment (build 1.7.0-internal-administrator_2009_07_14_2
      2_30-b00)
      Java HotSpot(TM) Client VM (build 16.0-b05, mixed mode)

      Error log
      ==========
      invalid inferred types for M#1,I#4; actual arguments do not conforms to inferred formal arguments
                      RowFilter.orFilter(myList);
                                        ^
          required: Iterable<? extends RowFilter<? super Object,? super Object>>
          found: List<RowFilter<? super TableModel,Object>>
        where M#1,M#2,I#3,I#4 are type-variables:
          M#1 extends Object declared in method <M#2,I#3>orFilter(Iterable<? extends RowFilter<? super M#2,? super I#3>>)
          M#2 extends Object declared in method <M#2,I#3>orFilter(Iterable<? extends RowFilter<? super M#2,? super I#3>>)
          I#3 extends Object declared in method <M#2,I#3>orFilter(Iterable<? extends RowFilter<? super M#2,? super I#3>>)
          I#4 extends Object declared in method <M#2,I#3>orFilter(Iterable<? extends RowFilter<? super M#2,? super I#3>>)
      Note: UnitTest.java uses unchecked or unsafe operations.

      Please find the attached log file for more details on issue.

            alexp Alexander Potochkin (Inactive)
            vthotasunw Vinay Thota (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: