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

improve nasgen type checks and use specific return type for @Function, @SpecializedFunctio methods

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 9
    • 9
    • core-libs
    • None
    • b08
    • generic
    • generic

    Backports

      Description

        nasgen should have type checks for @SpecializedFunction, @SpecializedConstructor methods. Also, Where.CONSTRUCTOR and Where.PROTOTYPE property checks are missing (for eg. static prototype and constructor properties have to be final and use primitive type (or else won't work as expected)

        Use specific return types wherever possible for @Function and @SpecializedFunction methods - it is done in NativeMath but not in other classes.

        Attachments

          Issue Links

            Activity

              People

                sundar Sundararajan Athijegannathan
                sundar Sundararajan Athijegannathan
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: