Skip to content

Inspect referenced classes to find incomplete classpaths #284

@mkoncek

Description

@mkoncek

Some Java application packages use %jpackage_script where the packager has to specify the dependency classpath manually.

We can add a test that checks the content of the JAR file of the package, finds all referenced class names and checks that all class names are present on the classpath.

Classpathless compiler has a utility for this: https://github.com/mkoncek/classpathless-compiler/blob/master/util/src/main/java/io/github/mkoncek/classpathless/util/BytecodeExtractor.java#L125

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions