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

java/util/concurrent/tck/JSR166TestCase.java failed during compilation.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2
    • None
    • 11
    • tools

    Description

      /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.64/src.full/open/test/jdk/java/util/concurrent/tck/ConcurrentHashMap8Test.java:643: error: invalid lambda parameter declaration
              m.forEachEntry(Long.MAX_VALUE, (Map.Entry<Long,Long> e) -> adder.add(e.getKey().longValue() + e.getValue().longValue()));
                                             ^
        (cannot mix implicitly-typed and explicitly-typed parameters)
      /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.64/src.full/open/test/jdk/java/util/concurrent/tck/ConcurrentHashMap8Test.java:643: error: not a statement
              m.forEachEntry(Long.MAX_VALUE, (Map.Entry<Long,Long> e) -> adder.add(e.getKey().longValue() + e.getValue().longValue()));
                                                                                                          ^
      /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.64/src.full/open/test/jdk/java/util/concurrent/tck/ConcurrentHashMap8Test.java:643: error: ';' expected
              m.forEachEntry(Long.MAX_VALUE, (Map.Entry<Long,Long> e) -> adder.add(e.getKey().longValue() + e.getValue().longValue()));
                                                                                                                                    ^
      /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.64/src.full/open/test/jdk/java/util/concurrent/tck/ConcurrentHashMap8Test.java:683: error: invalid lambda parameter declaration
              m.forEachEntry(1L, (Map.Entry<Long,Long> e) -> adder.add(e.getKey().longValue() + e.getValue().longValue()));
                                 ^
        (cannot mix implicitly-typed and explicitly-typed parameters)
      /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.64/src.full/open/test/jdk/java/util/concurrent/tck/ConcurrentHashMap8Test.java:683: error: not a statement
              m.forEachEntry(1L, (Map.Entry<Long,Long> e) -> adder.add(e.getKey().longValue() + e.getValue().longValue()));
                                                                                              ^
      /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.64/src.full/open/test/jdk/java/util/concurrent/tck/ConcurrentHashMap8Test.java:683: error: ';' expected
              m.forEachEntry(1L, (Map.Entry<Long,Long> e) -> adder.add(e.getKey().longValue() + e.getValue().longValue()));
                                                                                                                        ^
      /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.64/src.full/open/test/jdk/java/util/concurrent/tck/ConcurrentHashMap8Test.java:730: error: invalid lambda parameter declaration
              m.forEachEntry(Long.MAX_VALUE, (Map.Entry<Long,Long> e) -> Long.valueOf(e.getKey().longValue() + e.getValue().longValue()),
                                             ^
        (cannot mix implicitly-typed and explicitly-typed parameters)
      /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.64/src.full/open/test/jdk/java/util/concurrent/tck/ConcurrentHashMap8Test.java:730: error: not a statement
              m.forEachEntry(Long.MAX_VALUE, (Map.Entry<Long,Long> e) -> Long.valueOf(e.getKey().longValue() + e.getValue().longValue()),
                                                                                                             ^
      /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.64/src.full/open/test/jdk/java/util/concurrent/tck/ConcurrentHashMap8Test.java:730: error: ';' expected
              m.forEachEntry(Long.MAX_VALUE, (Map.Entry<Long,Long> e) -> Long.valueOf(e.getKey().longValue() + e.getValue().longValue()),
                                                                                                                                       ^
      /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.64/src.full/open/test/jdk/java/util/concurrent/tck/ConcurrentHashMap8Test.java:731: error: ';' expected
                                         (Long x) -> adder.add(x.longValue()));
                                                ^
      /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.64/src.full/open/test/jdk/java/util/concurrent/tck/ConcurrentHashMap8Test.java:731: error: ';' expected
                                         (Long x) -> adder.add(x.longValue()));
                                                                             ^
      /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.64/src.full/open/test/jdk/java/util/concurrent/tck/ConcurrentHashMap8Test.java:778: error: invalid lambda parameter declaration
              m.forEachEntry(1L, (Map.Entry<Long,Long> e) -> Long.valueOf(e.getKey().longValue() + e.getValue().longValue()),
                                 ^
        (cannot mix implicitly-typed and explicitly-typed parameters)
      /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.64/src.full/open/test/jdk/java/util/concurrent/tck/ConcurrentHashMap8Test.java:778: error: not a statement
              m.forEachEntry(1L, (Map.Entry<Long,Long> e) -> Long.valueOf(e.getKey().longValue() + e.getValue().longValue()),
                                                                                                 ^
      /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.64/src.full/open/test/jdk/java/util/concurrent/tck/ConcurrentHashMap8Test.java:778: error: ';' expected
              m.forEachEntry(1L, (Map.Entry<Long,Long> e) -> Long.valueOf(e.getKey().longValue() + e.getValue().longValue()),
                                                                                                                           ^
      /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.64/src.full/open/test/jdk/java/util/concurrent/tck/ConcurrentHashMap8Test.java:779: error: ';' expected
                                       (Long x) -> adder.add(x.longValue()));
                                              ^
      /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.64/src.full/open/test/jdk/java/util/concurrent/tck/ConcurrentHashMap8Test.java:779: error: ';' expected
                                       (Long x) -> adder.add(x.longValue()));
                                                                           ^
      /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.64/src.full/open/test/jdk/java/util/concurrent/tck/ConcurrentHashMap8Test.java:1061: error: invalid lambda parameter declaration
              r = m.searchEntries(Long.MAX_VALUE, (Map.Entry<Long,Long> e) -> e.getKey().longValue() == (long)(SIZE/2) ? e.getKey() : null);
                                                  ^
        (cannot mix implicitly-typed and explicitly-typed parameters)
      /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.64/src.full/open/test/jdk/java/util/concurrent/tck/ConcurrentHashMap8Test.java:1061: error: ';' expected
              r = m.searchEntries(Long.MAX_VALUE, (Map.Entry<Long,Long> e) -> e.getKey().longValue() == (long)(SIZE/2) ? e.getKey() : null);
                                                                                                                                          ^
      /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.64/src.full/open/test/jdk/java/util/concurrent/tck/ConcurrentHashMap8Test.java:1063: error: invalid lambda parameter declaration
              r = m.searchEntries(Long.MAX_VALUE, (Map.Entry<Long,Long> e) -> e.getKey().longValue() < 0L ? e.getKey() : null);
                                                  ^
        (cannot mix implicitly-typed and explicitly-typed parameters)
      /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.64/src.full/open/test/jdk/java/util/concurrent/tck/ConcurrentHashMap8Test.java:1063: error: ';' expected
              r = m.searchEntries(Long.MAX_VALUE, (Map.Entry<Long,Long> e) -> e.getKey().longValue() < 0L ? e.getKey() : null);
                                                                                                                             ^
      /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.64/src.full/open/test/jdk/java/util/concurrent/tck/ConcurrentHashMap8Test.java:1113: error: invalid lambda parameter declaration
              r = m.searchEntries(1L, (Map.Entry<Long,Long> e) -> e.getKey().longValue() == (long)(SIZE/2) ? e.getKey() : null);
                                      ^
        (cannot mix implicitly-typed and explicitly-typed parameters)
      /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.64/src.full/open/test/jdk/java/util/concurrent/tck/ConcurrentHashMap8Test.java:1113: error: ';' expected
              r = m.searchEntries(1L, (Map.Entry<Long,Long> e) -> e.getKey().longValue() == (long)(SIZE/2) ? e.getKey() : null);
                                                                                                                              ^
      /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.64/src.full/open/test/jdk/java/util/concurrent/tck/ConcurrentHashMap8Test.java:1115: error: invalid lambda parameter declaration
              r = m.searchEntries(1L, (Map.Entry<Long,Long> e) -> e.getKey().longValue() < 0L ? e.getKey() : null);
                                      ^
        (cannot mix implicitly-typed and explicitly-typed parameters)
      /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.64/src.full/open/test/jdk/java/util/concurrent/tck/ConcurrentHashMap8Test.java:1115: error: ';' expected
              r = m.searchEntries(1L, (Map.Entry<Long,Long> e) -> e.getKey().longValue() < 0L ? e.getKey() : null);
                                                                                                                 ^
      24 errors
      result: Failed. Compilation failed: Compilation failed


      test result: Failed. Compilation failed: Compilation failed

      Attachments

        Issue Links

          Activity

            People

              vromero Vicente Arturo Romero Zaldivar
              ssahoo Sibabrata Sahoo
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: