Skip to content

Linkage Checker Messages

Tomo Suzuki edited this page Jun 18, 2020 · 17 revisions

Class XXX is not found

This message indicates that the class XXX is not found in the class path while some classes have references to the class.

Example message:

Class com.jcraft.jzlib.JZlib is not found;
  referenced by 4 class files
    io.grpc.netty.shaded.io.netty.handler.codec.spdy.SpdyHeaderBlockJZlibEncoder (io.grpc:grpc-netty-shaded:1.28.1)
    io.grpc.netty.shaded.io.netty.handler.codec.compression.JZlibEncoder (io.grpc:grpc-netty-shaded:1.28.1)
    io.grpc.netty.shaded.io.netty.handler.codec.compression.ZlibUtil (io.grpc:grpc-netty-shaded:1.28.1)
    io.grpc.netty.shaded.io.netty.handler.codec.compression.JZlibDecoder (io.grpc:grpc-netty-shaded:1.28.1)

The diagram below illustrates the invalid references marked as red.

Screen Shot 2020-06-18 at 11 14 30

(<artifact>) XXX's field YYY is not found

This message indicates that the class XXX in <artifact> does not have the field YYY , while some classes have references to the field.

Example message:

(io.grpc:grpc-core:1.29.0) io.grpc.internal.GrpcAttributes's field ATTR_LB_ADDRS is not found;
  referenced by 1 class file
    io.grpc.grpclb.GrpclbConstants (io.grpc:grpc-grpclb:1.28.1)

The diagram below illustrates the invalid references from the io.grpc.grpclb.GrpclbConstants to the missing field.

Screen Shot 2020-06-18 at 11 22 07

(<artifact>) XXX's method YYY is not found

This error is the same as the previous section for the missing fields but for missing methods.