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

Infer::IncorporationBinaryOp::equals can produce side-effects

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • 24
    • tools
    • b22

      Seen once so far, with no change to the test:

      /opt/mach5/mesos/work_dir/jib-master/install/jdk-24+20-2292/src.full/open/test/jdk/jdk/classfile/AnnotationTest.java:62: error: incompatible types: inference variable V has incompatible equality constraints Entry<Object,ConstantDesc>,Object
                  = Map.ofEntries(
                                 ^
        where V,K are type-variables:
          V extends Object declared in method <K,V>ofEntries(Entry<? extends K,? extends V>...)
          K extends Object declared in method <K,V>ofEntries(Entry<? extends K,? extends V>...)
      Note: /opt/mach5/mesos/work_dir/jib-master/install/jdk-24+20-2292/src.full/open/test/jdk/jdk/classfile/AnnotationTest.java uses preview features of Java SE 24.
      Note: Recompile with -Xlint:preview for details.
      1 error
      result: Failed. Compilation failed: Compilation failed

      As this seems intermittent and the error message does not seem to show a difference between K and V I'm assigning this to javac team.

            vromero Vicente Arturo Romero Zaldivar
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: