Skip to content

Spring-core-5.2.0.M3 missing netty dependency? #769

@suztomo

Description

@suztomo

Noticed while investigating the effect of #762

io.netty.buffer classes missing?

Class io.netty.buffer.CompositeByteBuf is not found;
  referenced by 1 class file
    org.springframework.core.io.buffer.NettyDataBufferFactory (spring-core-5.2.0.M3.jar)
Class io.netty.buffer.ByteBufAllocator is not found;
  referenced by 1 class file
    org.springframework.core.io.buffer.NettyDataBufferFactory (spring-core-5.2.0.M3.jar)

The pom.xml in spring-core-5.2.0.M3.pom declares only spring-jcl.

spring-jcl-5.2.0.M3 does not have dependencies.

spring-core-5.2.0.M3.jar has references to the io.netty.buffer classes:

$ javap -cp /usr/local/google/home/suztomo/.m2/repository/org/springframework/spring-core/5.2.0.M3/spring-core-5.2.0.M3.jar org.springframework.core.io.buffer.NettyDataBufferFactory
Compiled from "NettyDataBufferFactory.java"
public class org.springframework.core.io.buffer.NettyDataBufferFactory implements org.springframework.core.io.buffer.DataBufferFactory {
  public org.springframework.core.io.buffer.NettyDataBufferFactory(io.netty.buffer.ByteBufAllocator);
  public io.netty.buffer.ByteBufAllocator getByteBufAllocator();
  public org.springframework.core.io.buffer.NettyDataBuffer allocateBuffer();
  public org.springframework.core.io.buffer.NettyDataBuffer allocateBuffer(int);
  public org.springframework.core.io.buffer.NettyDataBuffer wrap(java.nio.ByteBuffer);
  public org.springframework.core.io.buffer.DataBuffer wrap(byte[]);
  public org.springframework.core.io.buffer.NettyDataBuffer wrap(io.netty.buffer.ByteBuf);
  public org.springframework.core.io.buffer.DataBuffer join(java.util.List<? extends org.springframework.core.io.buffer.DataBuffer>);
  public static io.netty.buffer.ByteBuf toByteBuf(org.springframework.core.io.buffer.DataBuffer);
  public java.lang.String toString();
  public org.springframework.core.io.buffer.DataBuffer wrap(java.nio.ByteBuffer);
  public org.springframework.core.io.buffer.DataBuffer allocateBuffer(int);
  public org.springframework.core.io.buffer.DataBuffer allocateBuffer();
}

image

Metadata

Metadata

Assignees

Labels

Dependency FixFix needed in library in GCP orbit

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions