Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b45

      Backports

        Description

        Utils::fileAsString implementation has several issues:
         - using '\n' instead of platform independent EOL
         - catching wide spectre of exceptions and "ignoring" them

        and last but not least, it partially duplicates code of Utils::fileAsList method which duplicates File::readAllLines (JDK-8067173)

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tpivovarova Tatiana Pivovarova (Inactive)
                  Reporter:
                  iignatyev Igor Ignatyev
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Due:
                    Created:
                    Updated:
                    Resolved: