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

Wrong "self type" in DCTree.DCEndElement

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b12

      Description

      --- 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) {

        Attachments

          Activity

            People

            • Assignee:
              prappo Pavel Rappo
              Reporter:
              prappo Pavel Rappo
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: