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

JShell API: Consistent use of int vs long for positions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: 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

              Assignee:
              jlahoda Jan Lahoda
              Reporter:
              rfield Robert Field
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: