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

[packager] LauncherUserJVMOptions native headers incorrect

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8u40
    • 8u40
    • deploy
    • None

      [form Dmitry Z]
      Here is the sample code:

             UserJvmOptionsService ujo = UserJvmOptionsService.getUserJVMDefaults();
             Map<String, String> userJVMOptions = ujo.getUserJVMOptions();
             for (Entry<String, String> pair : userJVMOptions.entrySet()) {
                 System.out.println(pair.getKey() + " = " + pair.getValue());
             }

      On Win64 I got this:

      java.lang.UnsatisfiedLinkError: jdk.packager.services.userjvmoptions.LauncherUserJvmOptions._getUserJvmOptionKeys()[Ljava/lang/String;
         at jdk.packager.services.userjvmoptions.LauncherUserJvmOptions._getUserJvmOptionKeys(Native Method)
         at jdk.packager.services.userjvmoptions.LauncherUserJvmOptions.getUserJVMOptions(LauncherUserJvmOptions.java:122)
         at com.oracle.appbundlers.tests.functionality.UserFriendlyJvmOptionsTest.getAdditionalParams(UserFriendlyJvmOptionsTest.java:55)
         at com.oracle.appbundlers.tests.functionality.TestBase.getAllParams(TestBase.java:101)
         at com.oracle.appbundlers.tests.functionality.TestBase.cleanUp(TestBase.java:253)
         at com.oracle.appbundlers.tests.functionality.TestBase.runTest(TestBase.java:208)

            shemnon Danno Ferrin (Inactive)
            shemnon Danno Ferrin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: