Classloading issue in Java version 8u382-b05

I am using watermark, viewer and redaction SDKs in my Spring application. After upgrading OpenJDK to 8u382-b05 unit tests & application started to fail due to class loading issue. After web searching found out its due to restriction of MANIFEST.MF size in the version released. I have fixed this issue in my application without the fix needed from groupdocs but I hope to consider this & fix it at your end.

Software details
Groupdocs Viewer: 21.2
Groupdocs Redaction: 21.12
Groupdocs Watermark: 20.5

Errors while building the application

error: error reading /home/jenkins/.gradle/caches/modules-2/files-2.1/com.groupdocs/groupdocs-viewer/21.2/541f695e50f5ed475786402ce0be5978db3a8bb2/groupdocs-viewer-21.2.jar; Unsupported size: 19732345 for JarEntry META-INF/MANIFEST.MF. Allowed max size: 8000000 bytes error: error reading /home/jenkins/.gradle/caches/modules-2/files-2.1/com.groupdocs/groupdocs-watermark/20.5/7304462a4472beb13b78e26d1d6803a4251b59b6/groupdocs-watermark-20.5.jar; Unsupported size: 9795447 for JarEntry META-INF/MANIFEST.MF. Allowed max size: 8000000 bytes error: error reading /home/jenkins/.gradle/caches/modules-2/files-2.1/com.groupdocs/groupdocs-redaction/21.12/cbc3ed825ce590e73578da46e30d389223804329/groupdocs-redaction-21.12.jar; Unsupported size: 11000076 for JarEntry META-INF/MANIFEST.MF. Allowed max size: 8000000 bytes

JDK Bug causing the issue
https://bugs.openjdk.org/browse/JDK-8312489

@shiva.k
Thank you for your feedback and findings. We have opened the following new ticket(s) in our internal issue tracking system.

Issue ID(s): TOTALJAVA-5

We’ll further continue investigating this scenario.

@shiva.k

Please try to use -Djdk.jar.maxSignatureFileSize=25000000 flag in his environment and let us know if it resolves the issue.