Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8010037 | 7u40 | Thomas Ng | P2 | Resolved | Fixed | team |
JDK-8007367 | 7u21 | Thomas Ng | P2 | Closed | Fixed | b04 |
> 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;
> }
>
> 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;
> }
- backported by
-
JDK-8010037 InstallCommands.getInstallStatus should be public
-
- Resolved
-
-
JDK-8007367 InstallCommands.getInstallStatus should be public
-
- Closed
-