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

Wrong "self type" in DCTree.DCEndElement

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 16
    • 16
    • tools
    • b12

      --- a/src/jdk.compiler/share/classes/com/sun/tools/javac/tree/DCTree.java
      +++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/tree/DCTree.java
      @@ -1,5 +1,5 @@
       /*
      - * Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
      + * Copyright (c) 2011, 2020, Oracle and/or its affiliates. All rights reserved.
        * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
        *
        * This code is free software; you can redistribute it and/or modify it
      @@ -326,7 +326,7 @@ public abstract class DCTree implements DocTree {
               }
           }
       
      - public static class DCEndElement extends DCEndPosTree<DCStartElement> implements EndElementTree {
      + public static class DCEndElement extends DCEndPosTree<DCEndElement> implements EndElementTree {
               public final Name name;
       
               DCEndElement(Name name) {

            prappo Pavel Rappo (Inactive)
            prappo Pavel Rappo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: