IssueFix VersionAssigneePriorityStatusResolutionResolved In Build
    JDK-827429017.0.2 Andy HerrickP3ResolvedFixedb01

      Windows native code in java in several places assumes the runtime bin directory is in the DLL path by loading dll's without full path.
      One example of this is zip.dll, src/java.base/share/native/libjimage/imageDecompressor.cpp where LoadLibrary("zip.dll"); is called (no full path to dll used). There are other instances of this.

      In jpackage we work around this by calling SetDllDirectory(runtimeBinPath.c_str());
      in WinLauncher.cpp, but the runtimeBinPath used is based on the default runtime location, instead of the actual runtime location.

      As a result, if runtime is moved, custom splash screen will fail to load.
      Also using https connection may result in:
       Exception in thread "Reader-BG-1" java.lang.InternalError: platform
      encoding not initialized

        backported by

        Backport - A issue that is required to port a Bug or Feature into another product release. This issue type is generally associated with the main Bug/Feature to represent each individual release of the port.JDK-8274290Windows DLL path not set correctly.

        • P3 - Major loss of function.
        • Resolved
        links to

        CommitCommitopenjdk/jdk17u/2586eb08

          CommitCommitopenjdk/jdk/f36a2bbd

            ReviewReviewopenjdk/jdk17u/116

              ReviewReviewopenjdk/jdk/5663