8133549: Generalize jshell's EditingHistory

Adding a generic EditingHistory to jdk.internal.le, for use by both jjs and jshell

Reviewed-by: sundar
This commit is contained in:
Jan Lahoda 2016-05-18 21:00:33 +02:00
parent 3546becf91
commit a865c6ef6b
4 changed files with 605 additions and 1 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 2016, 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
@ -36,6 +36,9 @@ module jdk.internal.le {
exports jdk.internal.jline.console.history to
jdk.scripting.nashorn.shell,
jdk.jshell;
exports jdk.internal.jline.extra to
jdk.scripting.nashorn.shell,
jdk.jshell;
exports jdk.internal.jline.internal to
jdk.scripting.nashorn.shell,
jdk.jshell;