https://bz.apache.org/bugzilla/show_bug.cgi?id=66832

            Bug ID: 66832
           Summary: File "allow.class" in ant-launcher.jar fails when Java
                    module system is used
           Product: Ant
           Version: 1.10.13
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Core
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

When upgrading Apache POI sources to Apache Ant 1.10.13, we see failures
because the newly introduced file "allow.class" causes the Java module system
to complain:

    java.lang.module.FindException: Unable to derive module descriptor for
/home/runner/.gradle/caches/modules-2/files-2.1/org.apache.ant/ant-launcher/1.10.13/331234763210702757a5780437844c6aef5d2bdf/ant-launcher-1.10.13.jar
Caused by: java.lang.module.InvalidModuleDescriptorException: allow.class found
in top-level directory (unnamed package not allowed in module)

This failure seems to happen when the Gradle build tries to run some Ant-tasks.

For some strange reason it was only occurring in some CI builds and not in some
others, we could not easily see what actually triggers the issue or if it was
"flaky" for some reason.

See related bug-entry #66828 for Apache POI

Related issue: bug #66434

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to