Properly implement onPrint in java-shell

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Java Shell, Shell API, Tech debt
    • None
    • 3
    • None

      The current print/console.log implementation in the java shell is a custom one that effectively duplicates what we have in the shell-api package. This has been an issue multiple times (see https://github.com/mongodb-js/mongosh/pull/1102 for an example), and we should move the java-shell towards using the same infrastructure that other users of the shell also use.

            Assignee:
            Unassigned
            Reporter:
            Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: