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

intermittent javac issue: cannot infer type arguments for CollectorImpl<>

    XMLWordPrintable

Details

    • aarch64
    • os_x

    Description

      [2024-03-15T12:21:13,430Z] Compiling up to 3444 files for java.base
      [2024-03-15T12:21:26,121Z] /System/Volumes/Data/mesos/work_dir/slaves/412fde1c-3e26-4c3d-b41e-bab008e2c85d-S12993/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0841aedd-dbfb-4baa-8221-a2fad23f49b9/runs/37443842-e92a-4b3f-a1c5-33d91f08cb09/workspace/open/src/java.base/share/classes/java/util/stream/Collectors.java:1702: error: incompatible types: cannot infer type arguments for CollectorImpl<>
      [2024-03-15T12:21:26,121Z] return new CollectorImpl<>(ConcurrentHashMap::new,
      [2024-03-15T12:21:26,121Z] ^
      [2024-03-15T12:21:26,121Z] reason: inference variable K#1 has incompatible bounds
      [2024-03-15T12:21:26,121Z] equality constraints: K#2,Map<K#2,V#2>,K#3
      [2024-03-15T12:21:26,121Z] lower bounds: CAP#1
      [2024-03-15T12:21:26,121Z] where K#1,V#1,M,K#2,T#1,V#2,K#3,K#4,T#2,U are type-variables:
      [2024-03-15T12:21:26,121Z] K#1 extends Object declared in method <K#1,V#1,M>uniqKeysMapMerger()
      [2024-03-15T12:21:26,121Z] V#1 extends Object declared in method <K#1,V#1,M>uniqKeysMapMerger()
      [2024-03-15T12:21:26,121Z] M extends Map<K#1,V#1> declared in method <K#1,V#1,M>uniqKeysMapMerger()
      [2024-03-15T12:21:26,121Z] K#2 extends Object declared in method <T#1,K#2,V#2>uniqKeysMapAccumulator(Function<? super T#1,? extends K#2>,Function<? super T#1,? extends V#2>)
      [2024-03-15T12:21:26,121Z] T#1 extends Object declared in method <T#1,K#2,V#2>uniqKeysMapAccumulator(Function<? super T#1,? extends K#2>,Function<? super T#1,? extends V#2>)
      [2024-03-15T12:21:26,121Z] V#2 extends Object declared in method <T#1,K#2,V#2>uniqKeysMapAccumulator(Function<? super T#1,? extends K#2>,Function<? super T#1,? extends V#2>)
      [2024-03-15T12:21:26,121Z] K#3 extends Object declared in class ConcurrentHashMap
      [2024-03-15T12:21:26,121Z] K#4 extends Object declared in method <T#2,K#4,U>toConcurrentMap(Function<? super T#2,? extends K#4>,Function<? super T#2,? extends U>)
      [2024-03-15T12:21:26,121Z] T#2 extends Object declared in method <T#2,K#4,U>toConcurrentMap(Function<? super T#2,? extends K#4>,Function<? super T#2,? extends U>)
      [2024-03-15T12:21:26,121Z] U extends Object declared in method <T#2,K#4,U>toConcurrentMap(Function<? super T#2,? extends K#4>,Function<? super T#2,? extends U>)
      [2024-03-15T12:21:26,121Z] where CAP#1 is a fresh type-variable:
      [2024-03-15T12:21:26,121Z] CAP#1 extends K#4 from capture of ? extends K#4
      [2024-03-15T12:21:26,122Z] 1 error
      [2024-03-15T12:21:26,160Z] CompileJavaModules.gmk:94: recipe for target '/System/Volumes/Data/mesos/work_dir/slaves/412fde1c-3e26-4c3d-b41e-bab008e2c85d-S12993/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0841aedd-dbfb-4baa-8221-a2fad23f49b9/runs/37443842-e92a-4b3f-a1c5-33d91f08cb09/workspace/build/macosx-aarch64-slowdebug/jdk/modules/java.base/_the.java.base_batch' failed
      [2024-03-15T12:21:26,160Z] make[3]: *** [/System/Volumes/Data/mesos/work_dir/slaves/412fde1c-3e26-4c3d-b41e-bab008e2c85d-S12993/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0841aedd-dbfb-4baa-8221-a2fad23f49b9/runs/37443842-e92a-4b3f-a1c5-33d91f08cb09/workspace/build/macosx-aarch64-slowdebug/jdk/modules/java.base/_the.java.base_batch] Error 1

      The failure occurred in jdk-23+15-1109-tier2 which only contains one new changeset:

      JDK-8328087 Automate javax/swing/JTable/TAB/TAB.java applet test

      which changed two test files:

      deleted test/jdk/javax/swing/JTable/TAB/TAB.html
      added test/jdk/javax/swing/JTable/Tab.java

      This doesn't make sense... The only thing I can think of is
      an intermittent javac failure so I'm starting this bug off in
      tools/javac.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: