Xuanwo commented on issue #8650: URL: https://github.com/apache/opendal/issues/8650#issuecomment-7080222184
Yes, @jihuayu. Extending `dev/src/generate/java.rs` to generate `Capability`, `Metadata`, and the operation options from core follows the existing `ServiceConfig.java` generator and the .NET code generation work in #8440. Generating the Java models and their JNI conversions together should reduce signature drift and rebase conflicts. Please check Java source and binary compatibility separately for each stage (`Capability`, `Metadata`, and `*Options`). Where practical, preserve existing signatures with frozen `@Deprecated` constructors or overloads. The two public `Capability` constructors in #8644 are the first example. If a break is unavoidable, call it out explicitly and document the migration. *(This comment was generated by AI.)* -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
