This is an automated email from the ASF dual-hosted git repository.

terrymanu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new e7fef5b3208 Prohibit shaded imports in Checkstyle (#39655)
e7fef5b3208 is described below

commit e7fef5b3208da2d211125fe9477493de784175ab
Author: Liang Zhang <[email protected]>
AuthorDate: Sun Aug 30 21:55:39 2026 +0800

    Prohibit shaded imports in Checkstyle (#39655)
---
 src/resources/checkstyle.xml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/resources/checkstyle.xml b/src/resources/checkstyle.xml
index b941470b4ae..675c399d593 100644
--- a/src/resources/checkstyle.xml
+++ b/src/resources/checkstyle.xml
@@ -165,7 +165,10 @@
             <property name="ignoreComments" value="true" />
             <property name="message" value="Use static import for 
org.hamcrest.Matchers and org.junit.jupiter.api.Assertions." />
         </module>
-        <module name="IllegalImport" />
+        <module name="IllegalImport">
+            <property name="regexp" value="true" />
+            <property name="illegalPkgs" value="sun,.*[.]shaded" />
+        </module>
         <module name="RedundantImport" />
         <module name="UnusedImports" />
         

Reply via email to