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

java/util/stream tests no longer compiling following JDK-8019401

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P2
    • Resolution: Fixed
    • 8
    • 8
    • core-libs

    Description


      44 of the java/util/stream tests are failing in jdk8/tl since the push of JDK-8019401:

      http://ashtown.ie.oracle.com:8080/job/jdk8-tl-test/289/testReport/

      Also failing in TL nightly, here's one example

      Test Results (version 2)
      #Thu Aug 15 19:11:29 PDT 2013
      #checksum:27c4a6091490291a
      #-----testdescription-----
      $file=/Users/aurora/sandbox/testbase/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ConcatOpTest.java
      $root=/Users/aurora/sandbox/testbase/test
      keywords=testng
      library=/java/util/stream/bootlib/
      packageRoot=java/util/stream/test/
      run=ASSUMED_ACTION testng org.openjdk.tests.java.util.stream.ConcatOpTest\n
      source=ConcatOpTest.java
      testngClass=org.openjdk.tests.java.util.stream.ConcatOpTest
      title=\

      #-----environment-----

      #-----testresult-----
      description=file\:/Users/aurora/sandbox/testbase/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ConcatOpTest.java
      elapsed=2757 0\:00\:02.757
      end=Thu Aug 15 19\:11\:29 PDT 2013
      environment=regtest
      execStatus=Failed. Compilation failed\: Compilation failed
      hostname=sc14160057.us.oracle.com
      javatestOS=Linux 2.6.18-238.0.0.0.1.el5xen (i386)
      javatestVersion=4.4
      jtregVersion=jtreg 4.1 fcs b06
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages build compile
      start=Thu Aug 15 19\:11\:26 PDT 2013
      test=java/util/stream/test/org/openjdk/tests/java/util/stream/ConcatOpTest.java
      user.name=aurora
      work=/Users/aurora/sandbox/gresults/testoutput/jdk_util/JTwork/java/util/stream/test/org/openjdk/tests/java/util/stream

      #section:script_messages
      ----------messages:(5/216)----------
      JDK under test: (/Users/aurora/sandbox/jdk)
      java version "1.8.0-ea"
      Java(TM) SE Runtime Environment (build 1.8.0-ea-langtools-nightly-h5415-20130815-b104-b00)
      Java HotSpot(TM) Server VM (build 25.0-b45, mixed mode)


      #section:build
      ----------messages:(3/2997)----------
      command: build org.openjdk.tests.java.lang.invoke.DeserializeMethodTest org.openjdk.tests.java.lang.invoke.SerializedLambdaTest org.openjdk.tests.java.lang.invoke.MHProxiesTest org.openjdk.tests.java.util.MapTest org.openjdk.tests.java.util.FillableStringTest org.openjdk.tests.java.util.stream.FindFirstOpTest org.openjdk.tests.java.util.stream.SliceOpTest org.openjdk.tests.java.util.stream.DoublePrimitiveOpsTests org.openjdk.tests.java.util.stream.IntSliceOpTest org.openjdk.tests.java.util.stream.IntReduceTest org.openjdk.tests.java.util.stream.StreamLinkTest org.openjdk.tests.java.util.stream.DistinctOpTest org.openjdk.tests.java.util.stream.ReduceTest org.openjdk.tests.java.util.stream.SpliteratorTest org.openjdk.tests.java.util.stream.StreamSpliteratorTest org.openjdk.tests.java.util.stream.SortedOpTest org.openjdk.tests.java.util.stream.SequentialOpTest org.openjdk.tests.java.util.stream.IntUniqOpTest org.openjdk.tests.java.util.stream.MapOpTest org.openjdk.tests.java.util.stream.PrimitiveAverageOpTest org.openjdk.tests.java.util.stream.FindAnyOpTest org.openjdk.tests.java.util.stream.ConcatOpTest org.openjdk.tests.java.util.stream.ForEachOpTest org.openjdk.tests.java.util.stream.TeeOpTest org.openjdk.tests.java.util.stream.MinMaxTest org.openjdk.tests.java.util.stream.ConcatTest org.openjdk.tests.java.util.stream.IntPrimitiveOpsTests org.openjdk.tests.java.util.stream.CollectionAndMapModifyStreamTest org.openjdk.tests.java.util.stream.MatchOpTest org.openjdk.tests.java.util.stream.LongPrimitiveOpsTests org.openjdk.tests.java.util.stream.InfiniteStreamWithLimitOpTest org.openjdk.tests.java.util.stream.ReduceByOpTest org.openjdk.tests.java.util.stream.ToArrayOpTest org.openjdk.tests.java.util.stream.StreamBuilderTest org.openjdk.tests.java.util.stream.PrimitiveSumTest org.openjdk.tests.java.util.stream.SummaryStatisticsTest org.openjdk.tests.java.util.stream.GroupByOpTest org.openjdk.tests.java.util.stream.ExplodeOpTest org.openjdk.tests.java.util.stream.TabulatorsTest org.openjdk.tests.java.util.stream.FilterOpTest org.openjdk.tests.java.util.stream.RangeTest org.openjdk.tests.java.util.stream.StreamParSeqTest org.openjdk.tests.java.util.NullArgsTestCase java.util.stream.IntStreamTestScenario java.util.stream.StreamOpFlagTestHelper java.util.stream.OpTestCase java.util.stream.SpliteratorTestHelper java.util.stream.CollectorOps java.util.stream.StatefulTestOp java.util.stream.LoggingTestCase java.util.stream.LongStreamTestDataProvider java.util.stream.IntermediateTestOp java.util.stream.StatelessTestOp java.util.stream.TestFlagExpectedOp java.util.stream.DoubleStreamTestScenario java.util.stream.StreamTestDataProvider java.util.stream.FlagDeclaringOp java.util.stream.StreamTestScenario java.util.stream.DoubleStreamTestDataProvider java.util.stream.TestData java.util.stream.LambdaTestHelpers java.util.stream.IntStreamTestDataProvider java.util.stream.LongStreamTestScenario
      reason: Named class compiled on demand
      elapsed time (seconds): 2.755
      result: Failed. Compilation failed: Compilation failed

      #section:compile
      ----------messages:(3/694)----------
      command: compile -XDignore.symbol.file=true -implicit:none /Users/aurora/sandbox/testbase/test/java/util/stream/test/org/openjdk/tests/java/util/stream/TabulatorsTest.java /Users/aurora/sandbox/testbase/test/java/util/stream/test/org/openjdk/tests/java/util/stream/FilterOpTest.java /Users/aurora/sandbox/testbase/test/java/util/stream/test/org/openjdk/tests/java/util/stream/RangeTest.java /Users/aurora/sandbox/testbase/test/java/util/stream/test/org/openjdk/tests/java/util/stream/StreamParSeqTest.java /Users/aurora/sandbox/testbase/test/java/util/stream/test/org/openjdk/tests/java/util/NullArgsTestCase.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 2.753
      ----------System.out:(0/0)----------
      ----------System.err:(8/578)----------
      /Users/aurora/sandbox/testbase/test/java/util/stream/test/org/openjdk/tests/java/util/stream/TabulatorsTest.java:612: error: incompatible types: inferred type does not conform to upper bound(s)
              List<Integer> asImmutableList = exerciseTerminalOps(data, s -> s.collect(collectingAndThen(toList(), Collections::unmodifiableList)));
                                                                 ^
          inferred: List<T>
          upper bound(s): List<Integer>,Object
        where T is a type-variable:
          T extends Object declared in method <T>unmodifiableList(List<? extends T>)
      1 error
      result: Failed. Compilation failed: Compilation failed


      test result: Failed. Compilation failed: Compilation failed

      Attachments

        Activity

          People

            psandoz Paul Sandoz
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: