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

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

XMLWordPrintable

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

        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.

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

                Created:
                Updated:
                Resolved: