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

[build] tools.jar missing modules.xml

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • infrastructure
    • None
    • Solaris and Linux

    • b29
    • generic
    • linux

        When building on Linux there the modules.xml is missing from the tools.jar, causing
        test failures. These 3 tests fail:
        tools/jdeps/APIDeps.java.APIDeps
        tools/jdeps/Basic.java.Basic
        tools/jdeps/DotFileTest.java.DotFileTest


        The root cause appears to be the missing modules.xml, in tools.jar,
        the tests emits this message:

        jdeps [-classpath, /hudson/jobs/objectweb-test-jdk/workspace/build/jtreg/jtwork/classes/tools/jdeps, -verbose, -P, /hudson/jobs/objectweb-test-jdk/workspace/build/jtreg/jtwork/classes/tools/jdeps/m/Bar.class]
        WARNING: modules.xml doesn't exist
        Bar.class -> /hudson/jobs/objectweb-test-jdk/workspace/build/jtreg/jtwork/classes/tools/jdeps
        Bar.class -> not found
           m.Bar -> b.B jdeps
           m.Bar -> c.C jdeps
           m.Bar -> d.D jdeps
           m.Bar -> f.F jdeps
           m.Bar -> g.G jdeps
           m.Bar -> java.lang.Object not found
           m.Bar -> java.lang.String not found
           m.Bar -> java.lang.management.ManagementFactory not found
           m.Bar -> java.lang.management.RuntimeMXBean not found
           m.Bar -> java.util.HashSet not found
           m.Bar -> java.util.Set not found

        Error: Unexpected api-dependencies found: '[jdeps, not found]', expected: '[compact1, compact3, jdeps]'

        The failure has been noticed on Linux and Solaris and both these systems have a 16+ cpus, possibly
        there is a parallelism and dependency issue involved.

              mchung Mandy Chung (Inactive)
              ksrini Kumar Srinivasan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: