Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8165211

JShell: Fix completion analysis problems

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • tools
    • b135
    • Verified

      There are several cases where completion analysis gives the wrong result.

      Primitive type literals were not allowed to start an expression, even though they can in, for example: void.class

      Because of a work-around for "import foo.*", the expression "3 *" was not marked as imcomplete even though "3 +" was.

      Clean-up and make more flexible the creation of Parser instances.

      Fix the two sub-tasks.


            rfield Robert Field (Inactive)
            rfield Robert Field (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: