chaokunyang commented on code in PR #3849:
URL: https://github.com/apache/fory/pull/3849#discussion_r3584419346


##########
java/fory-core/src/main/java/org/apache/fory/resolver/DefaultJdkClassAllowList.java:
##########
@@ -89,4 +89,13 @@ private DefaultJdkClassAllowList() {}
   static boolean contains(String className) {
     return CLASS_NAMES.contains(className) || 
className.startsWith("java.util.function.");
   }
+
+    /**
+     * Get the allowed class names as an immutable set.
+     *
+     * @return Set of allowed class names
+     */
+    public static Set<String> getAllowClasses() {

Review Comment:
   Could you update AllowListChecker to add those classes by default?



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to