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

TTY: Unexpected handling of comma separator in expressions

XMLWordPrintable

    • generic
    • generic



      Name: tb29552 Date: 10/24/2001


      % jdb a
      Initializing jdb...
      > stop at a:6
      Deferring breakpoint a:6.
      It will be set after the class is loaded.
      > run
      run a
      >
      VM Started: Set deferred breakpoint a:6

      Breakpoint hit: thread="main", a.main(), line=6, bci=8
        6 System.out.println("Hello World");

      main[1] list
      2 public static void main(String[] args){
      3 int i = 5;
      4 int j = 6;
      5 int k = 7;
      6 => System.out.println("Hello World");
      7 }
      8 }

      main[1] dump i,j,k
       i,j,k = 5
      main[1] set i,j,k = 1
       i,j,k = 1 = 5
      main[1] dump i
       i = 5
      main[1] dump j
       j = 6
      main[1] dump k
       k = 7


      Expression processing should either iterate through
      the i,j,k list, or report an error.


      ======================================================================

            Unassigned Unassigned
            tbell Tim Bell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: