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

[packager] LauncherUserJVMOptions native headers incorrect

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8u40
    • Fix Version/s: 8u40
    • Component/s: deploy
    • Labels:
      None

      Description

      [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)

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported: