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

Fix compilation error in unit tests in 7uCPU

XMLWordPrintable

        compile-tests:
             [echo] Compile tests to C:\deploy_output_7_cpu_6\tmp\deploy/testclasses
            [javac] Compiling 1 source file to C:\deploy_output_7_cpu_6\tmp\deploy\testclasses
            [javac] C:\src\jdk7-cpu_2\deploy\test\common\com\sun\deploy\security\TrustDeciderTest.java:67: error: method getValidationState in class TrustDecider cannot be applied to gi
        ven types;
            [javac] TrustDecider.getValidationState(mycerts,
            [javac] ^
            [javac] required: X509Certificate[],CodeSource,int,boolean,boolean,boolean,boolean
            [javac] found: TrustDeciderTest.TestCertificate[],CodeSource,int,boolean,boolean,boolean
            [javac] reason: actual and formal argument lists differ in length
            [javac] Note: C:\src\jdk7-cpu_2\deploy\test\common\com\sun\deploy\security\TrustDeciderTest.java uses unchecked or unsafe operations.
            [javac] Note: Recompile with -Xlint:unchecked for details.
            [javac] 1 error

        BUILD FAILED

              Unassigned Unassigned
              dtitov Daniil Titov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: