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

Bridge methods cause failures of JavaScript -> Java calls

XMLWordPrintable

    • b08
    • b12
    • generic
    • generic
    • Verified

      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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: