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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 10
    • None
    • tools
    • b09

      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>

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

              Created:
              Updated:
              Resolved: