Skip to content

Spurious warnings for provided resources that redefine a class #23

@pettermahlen

Description

@pettermahlen

When using auto-value in scope provided and also using commons-lang 2.6, you get these warnings:

[WARNING] Category: FIELD NOT FOUND
[WARNING]   In artifact: com.google.auto.value:auto-value:1.0
[WARNING]     In class: org.apache.commons.lang.builder.ToStringStyle
[WARNING]       In method:  getRegistry():153
[WARNING]       Access to: org.apache.commons.lang.builder.ToStringStyle.registry
[WARNING]       Problem: Field not found: registry
[WARNING]       Found in: commons-lang:commons-lang:2.6
[WARNING]       --------
[WARNING]       In method:  <clinit>():136
[WARNING]       Access to: org.apache.commons.lang.builder.ToStringStyle.registry
[WARNING]       Problem: Field not found: registry
[WARNING]       Found in: commons-lang:commons-lang:2.6
[WARNING]       --------
[WARNING]     In class: org.apache.commons.lang.builder.HashCodeBuilder
[WARNING]       In method:  getRegistry():122
[WARNING]       Access to: org.apache.commons.lang.builder.HashCodeBuilder.registry
[WARNING]       Problem: Field not found: registry
[WARNING]       Found in: commons-lang:commons-lang:2.6
[WARNING]       --------
[WARNING]       In method:  <clinit>():105
[WARNING]       Access to: org.apache.commons.lang.builder.HashCodeBuilder.registry
[WARNING]       Problem: Field not found: registry
[WARNING]       Found in: commons-lang:commons-lang:2.6
[WARNING]       --------

Auto-value 1.0 includes unrelocated commons-lang classes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions