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

jshell tool: determine why unchanged portions of external editor text is updated

XMLWordPrintable

      In JDK-8169828, code text added to the editor text appears to
      intermittently cause the untouched initial statement to be re-evaluated.

      This issue is independent of EditorTestBase.testStatementMush()
      was designed to test.

      This bug therefore also marks a work-around to the re-evaluation
      issue.

      Possible causes:

      - Timing issues in the reset of ReplToolTesting.userout
      - Communication or other issues with the external editor simulation CustomEditor
      - White-space issues (platform dependent?) in the snippet processing cmdEdit, SourceCodeAnalysisImpl, ...
      - ...

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

              Created:
              Updated:
              Resolved: