JDK-8050080 : DEV PLAN for REPL
  • Type: Sub-task
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 9
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-07-11
  • Updated: 2016-05-27
  • Resolved: 2015-11-25
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9Fixed
Description
There is a list of Milestone that are currently being worked on for this feature.   The due date in the dev plan is the date to provide this list of milestone.    Once the list is available the final due date to deliver all these milestone will be updated.

First draft high-level steps --

I) Language Support (modified javac)
I.a)   Prototype top-level statements, expressions, variable declarations, and method declarations
I.b)   SPI for REPL tool access

II) Interactive command-line REPL tool
II.a)   Non-repetitive non-edited REPL partitioning
II.b)   Non-repetitive non-edited REPL compilation
II c)   Expression evaluation/printing
II.d)   Editing (by repetition?) support

First draft high-level milestones --

A) Non-interactive (batch) compilation of the proposed language -- July 2014
B) Interactive REPL tool partitions input by intact top-level language element: package and import declaration, class, variable declaration, method declaration, statement, expression, incomplete, or error -- Sept 2014
C) Tool compiles the elements -- Nov 2014
D) Tool dynamically executes -- Dec 2014
E) Tool completes missing semi-colons -- Jan 2015
F) Tool completes missing type declarations in variable declarations -- Apr 2015
G) Editing of input by repetition or other mechanism -- Jul 2015