Skip to content

Validate RPC methods should not be final #286

Closed
@longquanzheng

Description

Context
Otherwise byteBuddy won't work when intercepting the call.

All method in Java by default is not final, but for Kotlin, open must be added for the RPC method to make it not final.

See https://stackoverflow.com/questions/54043234/bytebuddy-method-interception-doesnt-work-in-kotlin

Goal
We should throw error when the rpcStub is created or workflow is registered (prefer former). Because when invoking later, there is not obivous errors for this issues.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions