alibaba / alibaba/Sentinel

BlockHandler 如何处理可变参数

Open
#3,584 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
23.1k
Forks
8.1k
PR merge metrics
No merged PRs in 30d

Description

场景:
当`BlockHandler`遇到可变参数的方法,在加`BlockException`参数时,会提示 '`Vararg parameter must be the last in the list`',如图:
Image

诉求:
在不改变方法签名的情况下,如何处理?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.