This week's book giveaway is in the Spring forum.
We're giving away four copies of Pro Spring MVC with WebFlux: Web Development in Spring Framework 5 and Spring Boot 2 and have Marten Deinum & Iuliana Cosmina on-line!
See this thread for details.
Win a copy of Pro Spring MVC with WebFlux: Web Development in Spring Framework 5 and Spring Boot 2 this week in the Spring forum!

Garishma Nagpal

+ Follow
since Jun 07, 2021
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Garishma Nagpal

While using IBM I am getting following error. It is working fine with Oracle. I have my class compiled with Oracle and not IBM.

I an getting this error while calling a class through reflection. Running it through main method works fine.

Class aClass = ObfuscationUtility.class;
Method[] methods = aClass.getDeclaredMethods();
for (Method method : methods) {
if (method.getName().equals(deobfuscated_method)) {
try {
decryptedText = (String) method.invoke(aClass, encryptedText);

Any suggestions what mistake I may be doing.

Exception in thread "main" java.lang.VerifyError: JVMVRFY010 multiple jsrs use single return; class=com/ObfuscationUtility, method=<clinit>()V, pc=65
Exception Details:
com/ObfuscationUtility.<clinit>()V @65: JBjsr
Error exists in the bytecode.
Exception Handler Table:
bci [322, 333] => handler: 1146
bci [1147, 1157] => handler: 692
at java.lang.ClassLoader.defineClassImpl(Native Method)
at java.lang.ClassLoader.defineClassInternal(
at java.lang.ClassLoader.defineClass(
at java.lang.ClassLoader.loadClassHelper(
at java.lang.ClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
1 week ago
OS - Windows 10

I got new certificate issued from Oracle to sign a jar for JCE provider. I wrote a program and tried with ibm java and ibm was able to authenticate(verify) the provider jar. But the same jar when signed with oracle old certificate was not working with ibm java and was working with ibm earlier versions.

I searched online and found this -

From it I came to know that ibm has added new oracle signer certificate. But why jar with older certificate stop working giving me error - JCE cannot authenticate the provider

Do ibm replace old signer certificate or add it? Where cryptographic provider verification list is maintained in ibm or oracle?

I tried with Oracle and both jars (one signed with old certificate and one signed with new certificate) was working fine.

Also when I tried signed jar with old certificate with jarsigner command -verify option, I got result as - jar verified for ibm. So why it is not working when I am writing a program and make it work.
1 week ago