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

InstallCommands.getInstallStatus should be public

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 8
    • None
    • deploy
    • None
    • b77
    • Not verified

        > 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;
        > }

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

                Created:
                Updated:
                Resolved: