I'm trying to upgrade the jline version from 2 to 3 in Payara. PR is available at: https://github.com/payara/Payara/pull/3739/files
I managed to get the code base compiling but the terminal is not working as expected. If I input help into asadmin command line tool, I'm getting:
Use "exit" to exit and "help" for online help.
I get the scrambled result of the input. The codebase creates PosixPtyTerminal and I also tried with the dumb terminal.
Any pointers on how to resolve these problems? I couldn't find that much of docs or code snippets that refer to jline version upgrade.