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

InstallCommands.getInstallStatus should be public

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8
    • Component/s: deploy
    • Labels:
      None
    • Introduced In Version:
    • Resolved In Build:
      b77
    • Verification:
      Not verified

      Backports

        Description

        > using InstallCommands class, the method getInstallStatus() is not visible outside the package and I cannot check the status of what is returned from RegisterDeploy.register(ih).
        >
        > Thanks,
        > Dinesh
        >
        > private boolean registorDeploy() {
        > if((webJava != INVALID_VALUE) && (webJavaSecurityLevel != INVALID_VALUE)) {
        > InstallHints ih = new InstallHints();
        > ih.setCustomSecurityLevel(webJavaSecurityLevel);
        > ih.setWebJavaEnabled(webJava == InstallHints.WEB_JAVA_ENABLED);
        > InstallCommands ic = RegisterDeploy.register(ih);
        > return (ic.getInstallStatus() == ic.STATUS_OK); //*** Error: The method getInstallStatus() from the type InstallCommands is not visible
        > }
        > return false;
        > }

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ngthomas Thomas Ng (Inactive)
                  Reporter:
                  ngthomas Thomas Ng (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: