Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-1137

Split 'var' compound declaration fix are giving incorrect fix.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • OpenJDK11, nb-javac11, Apache NetBeans IDE Dev 9.0

    Description

      Split compound declaration fix for statement:  var v1 = 10, v2 = 11; is not giving correct output with openJDK11.

      With Open JDK10:

      Output: var v1 = 10;

                   var v2 = 11;

      With Open JDK11:

      Output: var v1 = 10, var v2 = 11, v2 = 11;   ---> Errors

      Attachments

        Activity

          People

            Unassigned Unassigned
            vikas.prabhakar vikas kumar prabhakar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: