You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "tiltwind (via GitHub)" <gi...@apache.org> on 2023/02/12 03:39:13 UTC

[GitHub] [dubbo-go-hessian2] tiltwind opened a new issue, #349: Support java wrapper types

tiltwind opened a new issue, #349:
URL: https://github.com/apache/dubbo-go-hessian2/issues/349

   <!-- Please only use this template for submitting enhancement requests -->
   
   **What would you like to be added**:
   Support java wrapper types.
   
   **Why is this needed**:
   Many users need types in golang which maps the java wrapper types , including Interger,Long,Short,Float,Double,Character.
   So I think it's an important feature should being supported as soon as possible. I spend a few days to add this feature.
   
   **BUT,BUT,BUT it is NOT forward compatible.**
    The following types art not supported from v2.0.0, if u use these types,  use the replacing types instead:
   
   unsupported types | use replacing types instead
   ------------------|----------------------
   hessian.IntegerArray | *int32
   hessian.ByteArray    | *byte
   hessian.ShortArray   | *int16
   hessian.BooleanArray | *bool
   hessian.LongArray    | *int64
   hessian.FloatArray   | *float32
   hessian.DoubleArray  | *float64
   hessian.CharacterArray | *hessian.Rune
   
   
   The 2.0 branch includes the following changes:
   1. define new inner register function to support special golang types to map java class name.
   2. define `*hessian.Rune` to ref java.lang.Character
   3. upgrade hessian-lite to 3.2.13, and add function to remove the serialization limit for test classes in package `com.caucho.hessian.test`.
   4. Fix bugs in unit tests.
   5. Fix multiple level array name incorrectly combined.
   
   Because it's not forward compatible, I will push it to 2.0 branch first, u can upgrade and test it by executing `go get github.com/apache/dubbo-go-hessian2@2.0`.
   
    If u meet some problem, pls tell us in this issue. Thanks!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go-hessian2] AlexStocks commented on issue #349: Support java wrapper types

Posted by "AlexStocks (via GitHub)" <gi...@apache.org>.
AlexStocks commented on issue #349:
URL: https://github.com/apache/dubbo-go-hessian2/issues/349#issuecomment-1432972389

   建议像这种知识,更新到 readme 里面。readme 现在很贫瘠,我前边还建了个issue https://github.com/apache/dubbo-go-hessian2/issues/342。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go-hessian2] tiltwind commented on issue #349: Support java wrapper types

Posted by "tiltwind (via GitHub)" <gi...@apache.org>.
tiltwind commented on issue #349:
URL: https://github.com/apache/dubbo-go-hessian2/issues/349#issuecomment-1434812030

   > 建议像这种知识,更新到 readme 里面。readme 现在很贫瘠,我前边还建了个issue #342
   
   already add in readme in #350 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go-hessian2] tiltwind commented on issue #349: Support java wrapper types

Posted by "tiltwind (via GitHub)" <gi...@apache.org>.
tiltwind commented on issue #349:
URL: https://github.com/apache/dubbo-go-hessian2/issues/349#issuecomment-1438549238

   currently, the dubbo-go ci is pass for the major version , see https://github.com/apache/dubbo-go/pull/2222


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org