Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8310273 Metal - code cleanup
  3. JDK-8356808

Remove return statement from JNI methods

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Unresolved
    • Icon: P5 P5
    • internal
    • internal
    • javafx
    • javafx-sandbox: metal branch

      There are a few JNI methods which currently return a default value(return 1;).
      It can be removed as there is no validation required and no way to detect an error in such scenarios. If we find out any way to validate the return value then we can add back the return statements.

            arapte Ambarish Rapte
            arapte Ambarish Rapte
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: