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

LiveConnect: List.subList.size() is not working when called inside the Javascript

    XMLWordPrintable

Details

    • b08
    • b21
    • generic
    • windows
    • Verified

    Description

      Problem description:
        subList.size() when called inside the javascript on the java.util.List object then it fails to work with new Plug-in. It's working fine with old Plug-in.
      Call to subList.size() works fine when executed inside the applet.

      Steps to reproduce:
      -------------------
      - Load the following applet inside the browser
      http://sqeweb.sfbay.sun.com/deployment2/jitu/plugInTestsNoHarness/Liveconnect/html/JSListTest.html
      Behavior with new Plug-in:
       Javascript exception is getting thrown as soon as subList.size() is called
      Behavior with old Plug-in: No error/exception is getting thrown
      You can notice following messages on the Java console
      From JS: size of sublist: 2
      From JS: size of sublist: 3

      Attachments

        Activity

          People

            kbr Kenneth Russell (Inactive)
            jijising Jitender Singh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: