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

[Test]: Cleanup: test/jdk/security/infra/java/security/cert/CertPathValidator/certification/BuypassCA.java no longer needs ocspEnabled

XMLWordPrintable

        The test test/jdk/security/infra/java/security/cert/CertPathValidator/certification/BuypassCA.java no longer requires "ocspEnabled" variable. It can be cleaned-up:

        ...
                boolean ocspEnabled = true;

                if (args.length >= 1 && "CRL".equalsIgnoreCase(args[0])) {
                    pathValidator.enableCRLCheck();
                    ocspEnabled = false;
        ...
                new BuypassClass3().runTest(pathValidator, ocspEnabled);
        ...

              tvoniadka Thejasvi Voniadka (Inactive)
              tvoniadka Thejasvi Voniadka (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: