Skip to content

WARNINGs when executing analysis with Java 21 #7759

@andham

Description

@andham

Precondition

  • I checked the issues list for existing open or closed reports of the same problem.

Describe the bug
When executing dep-check with OpenJDK 21 to perform analysis WARNING messages are output:ed. The analysis succeeds though.

Version of dependency-check used
The problem occurs using version 12.1.3 of the cli with Java 21 (OpenJDK).

Log file
(https://gist.github.com/andham/bc79e1f8ee3435bbf19ec00cb9d6a8c6)

To Reproduce
Steps to reproduce the behavior:

  1. Install Java 21
  2. Pre-update dep-check
  3. Execute analysis: dependency-check.sh --noupdate --disableCentral --disableNodeAudit --disableYarnAudit --disableOssIndex --disableAssembly --scan ./target/xxx.ear

Expected behavior
Analysis without WARNINGs.

Additional context
Java 21 is currently the latest LTS version. In a few months Java 25 (LTS) is released. LTS versions should work without issues.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions