Don't create adapter classes in JavaAdapterFactory.isAutoConvertibleFromFunction

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P3
    • None
    • Affects Version/s: 9
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: