rewrite Utils::fileAsString

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: hotspot
    • None
    • b45

        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)

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

                Created:
                Updated:
                Resolved: