Giter Site home page Giter Site logo

Record TODO about protocol-codec-apt4j HOT 2 CLOSED

BOFA1ex avatar BOFA1ex commented on July 19, 2024
Record TODO

from protocol-codec-apt4j.

Comments (2)

BOFA1ex avatar BOFA1ex commented on July 19, 2024

issue

  1. encode处理cacheObject非根对象, 未回收子级缓冲区分片数据, 导致后续解析出错 [finished]
  2. 处理的@CacheMapping对象需要考虑父子级关系,指令可能抽离了公共字段比如(消息序号, 协议版本号等) [finished]
  3. 基本类型在apt编译过程中, typeUtils.asElement([varSymbol].asType()) 返回null的TypeElement, CompletableFuture响应NPE [finished]

from protocol-codec-apt4j.

BOFA1ex avatar BOFA1ex commented on July 19, 2024

fix#issue3
解决方案:
typeUtils.boxedClass((PrimitiveType) typeMirror) 强行包装基本类型, 如果typeUtils.asElement返回为空
ps: 方法返参为基本类型, return null;会出异常的情况. import 那边也会出现 import int;的情况
ps: 更新解决方案后, 入参提供的是classType, 如果是集合类型, 泛型类型被擦除.

from protocol-codec-apt4j.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.