Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8044853 Attr synthesizes nullcheck tree nodes
  3. JDK-8192893

Release Note: New Class AST Node With enclosing Instance

XMLWordPrintable

    • Verified

      New Class AST nodes with an enclosing instance that incorrectly return a null have been fixed. In some cases, the `getEnclosingExpression()` method of the NewClassTree AST node was returning null for code like:

      ```
      <enclosing>.new <Class>(...) { ... }
      ```

      This has been fixed, and getEnclosingExpression() now returns the enclosing expression.

            jlahoda Jan Lahoda
            jlahoda Jan Lahoda
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: