jtreg compilation fails with @library tag

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • jtreg3.2.2
    • Affects Version/s: jt2.1.5
    • Component/s: tools
    • None
    • fcs
    • sparc
    • solaris_7

      ###@###.### 2001-09-04

      The @library tag specified in http://javaweb.eng/jdk/test/tag-spec does not
      seem to work correctly. When I add the following tags:

       * @library certpath.jar
       * @library ibmpkcs.jar

      and then execute my test with jtreg (version 2.1.5), the build fails:

      $ jtreg -va -jdk:/usr/local/java/jdk1.4/solsparc .
      --------------------------------------------------
      TEST: java/security/cert/interop/ValidateNonSunCertPath.java
      JDK under test: (/usr/local/java/jdk1.4/solsparc)
      java version "1.4.0-beta2"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta2-b77)
      Java HotSpot(TM) Client VM (build 1.4.0-beta2-b77, mixed mode)

      ACTION: build -- Failed. Compilation failed
      REASON: Named class compiled on demand
      TIME: 4.235 seconds

      ACTION: compile -- Failed. Compilation failed
      REASON: .class file out of date or does not exist
      TIME: 4.222 seconds
      STDOUT:
      STDERR:
      /net/theclub/export/Users/mullan/merlin-cp/test/java/security/cert/interop/ValidateNonSunCertPath.java:15: package com.ibm.security.cert does not exist
      import com.ibm.security.cert.IBMCertPath;
                                   ^
      /net/theclub/export/Users/mullan/merlin-cp/test/java/security/cert/interop/ValidateNonSunCertPath.java:21: cannot resolve symbol
      symbol : class IBMCertPath
      location: class ValidateNonSunCertPath
              Security.addProvider(new IBMCertPath());
                                       ^
      2 errors

      TEST RESULT: Failed. Compilation failed
      --------------------------------------------------
      test results: failed: 1
      Report written to /net/theclub/export/Users/mullan/merlin-cp/test/java/security/cert/interop/JTreport/report.html
      Results written to /net/theclub/export/Users/mullan/merlin-cp/test/java/security/cert/interop/JTwork
      Error: some tests failed or other problems occurred

            Assignee:
            Jonathan Gibbons
            Reporter:
            Sean Mullan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: