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

Text is truncated in JavaScript to Java security warning dialog on OS X

    Details

    • Subcomponent:
    • Resolved In Build:
      b15
    • OS:
      os_x

      Backports

        Description

        FULL PRODUCT VERSION :
        JDK 9, JDK 8, JDK 7

        ADDITIONAL OS VERSION INFORMATION :
        OS X

        A DESCRIPTION OF THE PROBLEM :
        Text of the message and the heading of "JavaScript to Java" security warning dialog shown, when JavaScript invokes Java applet's method, is truncated starting from JDK 7u55 on OS X platform.

        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        1. Upload HTML, JNLP and JAR files from the attached archive file "TrimmedTextInJavaScriptToJavaWarning.zip" with the test case into a directory on a web server.
        2. Install the testable JRE 9, JRE 8 or JRE 7.
        3. Only for testing JRE 9. Go to "Java Control Panel -> Security -> Edit Site List..." and add a full URL of "TestCase.html" file uploaded to the web server in step #1 to the exception site list.
        4. Open a web browser and load HTML page with the test case from the step #1.
        5. On the test case web page click "Call Applet Method" button. "JavaScript to Java" security warning dialog should be shown.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  alitvinov Anton Litvinov
                  Reporter:
                  asaha Abhijit Saha
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: