Re: Console encoding (again)
Oti <[email protected]>
| Newsgroups | gmane.comp.lang.jython.devel |
|---|---|
| Message-ID | <CACDaqRDNN-dfWiauJy7QX6FSfmocSr1ksWgxJNvQucNH2BT+yA@mail.gmail.com> |
Hi Jeff, I have been playing with the replacement of the disallowed call during my snowboard holidays. Since java.io.Console.encoding() returns null on all platforms except Windows, it was almost a no-brainer to simplify it (except for Windows). Please find all the details behind http://bugs.jython.org/issue2659. best wishes, Oti. On Tue, Mar 27, 2018 at 12:14 AM, Jeff Allen <[email protected]> wrote: > When nothing else tells us the console encoding, we obtain it by a > reflective call to the private java.io.Console.encoding(), which Java 9 > doesn't like and threatens to disallow. I propose re-thinking this to avoid > the call. > > See http://bugs.jython.org/issue2659 for a first idea. > > Jeff > -- > > Jeff Allen > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Jython-dev mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jython-dev > -- http://ohumbel.me ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Jython-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jython-dev