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

Linkage problem with java.lang.String.length()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • None
    • core-libs
    • None
    • b84
    • Verified

      var s = new java.lang.String("");
      print(typeof s);
      print(s.length());
      print(s);

      produces "0.0 is not a function" on the line with the length call.

      This is the third issue we've found with the javafx buildscript.

      Rhino writes:

      object
      0
      <the empty string>

      This is some kind of linking issue.

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

              Created:
              Updated:
              Resolved: