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

Canonicalize "is a JS string" tests

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • core-libs
    • b54
    • generic
    • generic

        Nashorn has almost 3 dozen "obj instanceof String || obj instanceof ConsString" checks. It'd make sense standardizing this into a JSType.isString(obj) method.

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

                Created:
                Updated:
                Resolved: