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

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b08
    • CPU:
      generic
    • OS:
      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

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

                  Dates

                  Created:
                  Updated:
                  Resolved: