Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8260559 convert JDK code to use Stream.toList()
  3. JDK-8260560

convert jdeps and jdeprscan tools to use Stream.toList()

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 17
    • Component/s: tools
    • Labels:
    • Resolved In Build:
      b21

      Description

      $ find src/jdk.jdeps -name '*.java' -print | xargs egrep 'toList\(\)'
      src/jdk.jdeps/share/classes/com/sun/tools/jdeprscan/scan/Scan.java: .collect(Collectors.toList());
      src/jdk.jdeps/share/classes/com/sun/tools/jdeprscan/Main.java: .collect(toList());
      src/jdk.jdeps/share/classes/com/sun/tools/jdeprscan/Main.java: .collect(toList()));
      src/jdk.jdeps/share/classes/com/sun/tools/jdeprscan/Main.java: .collect(toList()));
      src/jdk.jdeps/share/classes/com/sun/tools/jdeprscan/Main.java: .collect(toList()));
      src/jdk.jdeps/share/classes/com/sun/tools/jdeprscan/Main.java: .collect(toList());
      src/jdk.jdeps/share/classes/com/sun/tools/jdeps/ModuleInfoBuilder.java: .collect(toList());
      src/jdk.jdeps/share/classes/com/sun/tools/jdeps/ClassFileReader.java: .collect(Collectors.toList());

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              igraves Ian Graves
              Reporter:
              smarks Stuart Marks
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: