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

JavaCompiler relies on inappropriate result from comparison

XMLWordPrintable

    • b23
    • Verified

      The comparisons for valid values of the Source and Target values assume that the negative result will be -1. This is not the contract for Comparable.compareTo.

            jjg Jonathan Gibbons
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: