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

Don't create adapter classes in JavaAdapterFactory.isAutoConvertibleFromFunction

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P3 P3
    • None
    • 9
    • core-libs
    • None

      Currently, every time Nashorn needs to know whether a class can be auto converted from a function, it will generate the adapter class for that function and ask it (because the adapter happens to know). This is a bit of a heavy-handed approach.

      Even though from code complexity point of view it is convenient, performance wise it is not.

            attila Attila Szegedi
            attila Attila Szegedi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: