sun.awt.geom.Curve.next() and prev() wrap

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 8, 11, 17, 19
    • Component/s: client-libs
    • None

      In sun/awt/geom/Curve.java the methods next() and prev()
      convert to long to find adjacent values of a double:
      Double.longBitsToDouble(Double.doubleToLongBits(v)-1);

      This could be improved using Math.nextDown() etc., similar to JDK-8280550.

            Assignee:
            Philip Race
            Reporter:
            Goetz Lindenmaier
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: