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

wrong exception is thrown if no proper contructor method for custom progress class

    Details

      Description

      Test environment: 32bit xp, 8 nightly bundle #590

      Steps to reproduce:
      - Enable trace and java console in jcp
      - Load following test app
      http://rehte.cn.oracle.com:8080/wshost/new_framework/new_framework/tests/plugin/customprogressbar/html/liveconnect/testConstructorThreeArgs.html
      There is only one constructor method which has 3 args, which custom progress class shouldn't accept.
      - Check the output in java console, if no exception like "java.lang.NoSuchMethodException: CustomProgressNegativeTestCase.<init>()" is thrown, bug is reproduced.

      Run this case with 7u11 b07, the expected exception can be seen.

      Source code location:
      http://rehte.cn.oracle.com:8080/wshost/new_framework/new_framework/tests/plugin/customprogressbar/src/

        Attachments

          Activity

            People

            • Assignee:
              herrick Andy Herrick
              Reporter:
              qgong Fred Gong (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: