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

method InferenceGraph.initNodes() can potentially add a trivial dependency of a node to itself

    XMLWordPrintable

    Details

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

      Description

      if a node is being compared to itself the operation should be halted and no dependency should be added. With the current code a trivial dependency could be added for cases like:
      t <: Comparable<t>

        Attachments

          Activity

            People

            Assignee:
            vromero Vicente Arturo Romero Zaldivar
            Reporter:
            vromero Vicente Arturo Romero Zaldivar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: