Skip to content

Warning when validating #287

Open
Open

Description

@vargenau

I still get a warning when validating an SBOM with release 2.0.6:

WARNING: Final field licenses in class org.spdx.storage.listedlicense.LicenseJsonTOC has been mutated reflectively by class com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$2 in unnamed module @4c1d9d4b (file:/Users/mvargena/bin/tools-java/tools-java-2.0.6-jar-with-dependencies.jar)
WARNING: Use --enable-final-field-mutation=ALL-UNNAMED to avoid a warning
WARNING: Mutating final fields will be blocked in a future release unless final field mutation is enabled

Activity

  1. goneall commented on Jun 19, 2026

    @goneall
    Member

    This is fixed in the Java Library, but the library version wasn't released before the release 2.0.6.

    We'll catch this on the next release of tools-java.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions