jshell tool: --startup PRINTING references undeclared Locale class

XMLWordPrintable

    • b157
    • Verified

        The built-in PRINTING startup file defines:

            void printf(Locale l, String format, Object... args) { System.out.printf(l, format, args); }

        but, unless there are imports for Locale, it is undefined. Should be:

            void printf(java.util.Locale l, String format, Object... args) { System.out.printf(l, format, args); }

              Assignee:
              Robert Field (Inactive)
              Reporter:
              Robert Field (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: