Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(java): Blacklist detection is also performed when the Class is registered. #1398

Merged
merged 4 commits into from
Mar 10, 2024

Conversation

LiangliangSui
Copy link
Contributor

  1. When a Class has been registered using Fury#register, it currently escapes blacklist detection, so correct it to always perform blacklist detection.

  2. FuryBuilder#suppressClassRegistrationWarnings should remain the same as FuryBuilder#requireClassRegistration. The warning log will only be suppressed when requireClassRegistration is true, that is, it will only be output when requireClassRegistration is not turned on and the Class is not registered.

  3. Integrate some code into isSecure().

…gistered.

1. When a Class has been registered using `Fury#register`, it currently
   escapes blacklist detection, so correct it to always perform blacklist
   detection.

2. `FuryBuilder#suppressClassRegistrationWarnings` should remain the same
   as `FuryBuilder#requireClassRegistration`. The warning log will only be
   suppressed when `requireClassRegistration` is true, that is, it will only
   be output when `requireClassRegistration` is not turned on and the Class
   is not registered.

3. Integrate some code into `isSecure()`.

Signed-off-by: LiangliangSui <[email protected]>
@LiangliangSui LiangliangSui force-pushed the sll branch 6 times, most recently from f067ff0 to 8995197 Compare March 8, 2024 17:05
Signed-off-by: LiangliangSui <[email protected]>
Signed-off-by: LiangliangSui <[email protected]>
Copy link
Collaborator

@chaokunyang chaokunyang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM overall, only some minor comments

@chaokunyang chaokunyang merged commit 27b6249 into apache:main Mar 10, 2024
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants