8134254: JShell API/tool: REPL for Java into JDK9

Adding the implementation of the jshell (read-eval-print-loop) tool.

Co-authored-by: Robert Field <robert.field@oracle.com>
Co-authored-by: Shinya Yoshida <bitterfoxc@gmail.com>
Reviewed-by: briangoetz, mcimadamore, psandoz, forax
This commit is contained in:
Jan Lahoda 2015-10-19 19:15:16 +02:00
parent 9cd68d0633
commit a21102b5f4
110 changed files with 24672 additions and 15 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2008, 2014, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -88,7 +88,8 @@ public class SelectToolTask extends Task {
},
JAVADOC("javadoc"),
JAVAH("javah"),
JAVAP("javap");
JAVAP("javap"),
JSHELL("jshell");
String toolName;
boolean bootstrap;