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

Bridge methods cause failures of JavaScript -> Java calls

    Details

    • Subcomponent:
    • Introduced In Build:
      b08
    • Introduced In Version:
    • Resolved In Build:
      b12
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      If a generic data type is returned from Java to JavaScript (for example, a subclass of one of the List implementations), and this subclass overrides a method causing a bridge method to be generated by javac, and this method is attempted to be invoked from JavaScript, then the new plug-in will report an ambiguous invocation because it appears that multiple methods all satisfy the incoming argument list.

      This issue was reported on the java.net forum:

      http://forums.java.net/jive/thread.jspa?threadID=35144&tstart=0

        Attachments

          Activity

            People

            • Assignee:
              kbr Kenneth Russell (Inactive)
              Reporter:
              kbr Kenneth Russell (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: