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

Suppress warning message when Toolkit is unable to load msvcr100.dll

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: 7u6
    • Fix Version/s: 7u6
    • Component/s: javafx
    • Labels:
    • Environment:

      Windows

      Description

      On Windows platform the JavaFX Toolkit loads msvcr100.dll. If, however, that file is already loaded in another classloader, it will fail with a warning message of the form:

      Error: failed to msvcr100.dll java.lang.UnsatisfiedLinkError: Native Library C:\Program Files\Oracle\JavaFX Runtime 2.0\bin\msvcr100.dll already loaded in another classloader

      See RT-16582 for one example of this.

      There is a "TODO" comment in the code recommending that this warning be guarded with an "if (verbose)" test. I propose to do just that and only print the warning if javafx.verbose is set to true.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kcr Kevin Rushforth
                Reporter:
                kcr Kevin Rushforth
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: