Unused array allocation in ProcessPath.doProcessPath

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P5
    • 21
    • Affects Version/s: None
    • Component/s: client-libs
    • 2d
    • b06

      Method sun.java2d.loops.ProcessPath#doProcessPath allocates float array and then do not use it

         float[] firstCoord = new float[2];

      I don't see this array in src/java.desktop/share/native/libawt/java2d/loops/ProcessPath.c too. We can drop it.

            Assignee:
            Andrey Turbanov
            Reporter:
            Andrey Turbanov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: