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

JShell API: Consistent use of int vs long for positions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • P3
    • 9
    • 9
    • tools

    Description

      Diag uses long

      SourceCodeAnalysis uses int.

      ---

      In SourceCodeAnalysis, the cursor and anchor parameters are int but the methods on Diag operate in terms of longs, shouldn't the cursor/anchor be a long as well?

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: