14 Commits

Author SHA1 Message Date
Jan Lahoda
8fc452bec7 8166535: jshell tool: cannot handle non-ascii characters
Using a more appropriate native method to read from the console.

Reviewed-by: rfield
2017-01-30 13:14:09 +01:00
Jan Lahoda
e8145f8739 8171386: jshell tool: paging of javadoc output broken on Windows
Fixing detection of console window size.

Reviewed-by: rfield
2017-01-16 09:53:34 +01:00
Mandy Chung
9e5033a0ae 8169925: Organize licenses by module in source, JMOD file, and run-time image
Co-authored-by: Jeannette Hung <jeannette.hung@oracle.com>
Reviewed-by: alanb, erikj, ihse, naoto, prr
2016-12-12 18:56:50 -08:00
Alan Bateman
fbe85300bf 8169069: Module system implementation refresh (11/2016)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Reviewed-by: plevart, chegar, psandoz, mchung, alanb, dfuchs, naoto, coffeys, weijun
2016-12-01 08:57:53 +00:00
Jan Lahoda
eab488fc01 8169595: jshell tool: pasting multiple lines hangs input
Need to allow newlines in the user's input.

Reviewed-by: rfield
2016-11-14 10:07:10 +01:00
Jan Lahoda
b765ef344a 8166890: JShell: locks forever when input is piped
Only read cursor position if connected to a terminal.

Reviewed-by: rfield, shinyafox
2016-10-11 12:33:15 +02:00
Shinya Yoshida
c34cee90d8 8166744: JShell: java.lang.IndexOutOfBoundsException for legal history access
Reviewed-by: rfield, jlahoda
2016-09-29 17:36:26 +09:00
Jan Lahoda
d2f0ab6d8e 8131023: JShell: System.in does not work
Read prompt lentgh directly from the terminal

Reviewed-by: rfield
2016-09-01 10:30:13 +02:00
Hannes Wallnöfer
ebf4782aa1 8159031: jjs throws NoSuchFileException if ~/.jjs.history does not exist
Reviewed-by: sundar, mhaupt
2016-06-08 15:50:11 +02:00
Jan Lahoda
a865c6ef6b 8133549: Generalize jshell's EditingHistory
Adding a generic EditingHistory to jdk.internal.le, for use by both jjs and jshell

Reviewed-by: sundar
2016-05-18 21:00:33 +02:00
Jan Lahoda
50a7fba4de 8147984: WindowsTerminal should support function keys
Reviewed-by: smarks
2016-05-08 22:15:25 +02:00
Joe Darcy
01ee88c8ae 6850612: Deprecate Class.newInstance since it violates the checked exception language contract
Reviewed-by: lancea, mullan, dfuchs
2016-05-03 10:40:54 -07:00
Alan Bateman
db4d383614 8142968: Module System implementation
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282

Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Alexandr Scherbatiy <alexandr.scherbatiy@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Jaroslav Bachorik <jaroslav.bachorik@oracle.com>
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Miroslav Kos <miroslav.kos@oracle.com>
Co-authored-by: Huaming Li <huaming.li@oracle.com>
Co-authored-by: Sean Mullan <sean.mullan@oracle.com>
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Co-authored-by: Masayoshi Okutsu <masayoshi.okutsu@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Sergey Bylokhov <sergey.bylokhov@oracle.com>
Co-authored-by: Alexandre Iline <alexandre.iline@oracle.com>
Co-authored-by: Volker Simonis <volker.simonis@gmail.com>
Co-authored-by: Staffan Larsen <staffan.larsen@oracle.com>
Co-authored-by: Stuart Marks <stuart.marks@oracle.com>
Co-authored-by: Semyon Sadetsky <semyon.sadetsky@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Co-authored-by: Valerie Peng <valerie.peng@oracle.com>
Co-authored-by: Vincent Ryan <vincent.x.ryan@oracle.com>
Co-authored-by: Weijun Wang <weijun.wang@oracle.com>
Co-authored-by: Yuri Nesterenko <yuri.nesterenko@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Co-authored-by: Alexander Kulyakthin <alexander.kulyakhtin@oracle.com>
Co-authored-by: Felix Yang <felix.yang@oracle.com>
Co-authored-by: Andrei Eremeev <andrei.eremeev@oracle.com>
Co-authored-by: Frank Yuan <frank.yuan@oracle.com>
Co-authored-by: Sergei Pikalev <sergei.pikalev@oracle.com>
Co-authored-by: Sibabrata Sahoo <sibabrata.sahoo@oracle.com>
Co-authored-by: Tiantian Du <tiantian.du@oracle.com>
Co-authored-by: Sha Jiang <sha.jiang@oracle.com>
Reviewed-by: alanb, mchung, naoto, rriggs, psandoz, plevart, mullan, ascarpino, vinnie, prr, sherman, dfuchs, mhaupt
2016-03-17 19:04:16 +00:00
Jan Lahoda
581470a6d1 8080679: Include jline in JDK for Java and JavaScript REPLs
Reviewed-by: alanb, erikj, forax, iris, sundar
2015-07-07 13:17:53 +02:00