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

Some new wrong bytecode generations

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P2
    • Resolution: Fixed
    • 8
    • 8
    • core-libs
    • None

    Description

      All based on the same pattern, seems the same root cause.

      Testcase1. If you replace a- b by a+b, then the generation is OK.

      Run the testcase by replacing XXX by:
      1) a-b
      2) ~a
      3) a * b
      4) a / b
      5) a % b
      6) a >> b
      7) a << b
      8) a & b
      9) a ^ b
      10) a | b
      11)
      function(obj) {
          with (obj) {
              __p += ((__t = ( XXX )) == null ? '' : __t);
             }
      }

      Attachments

        Issue Links

          Activity

            People

              lagergren Marcus Lagergren
              jfdenise Jean-Francois Denise (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: