Hello,
We are upgrading our application to Java 11 and we are facing the following issue:
The application fails to start with error:
Caused by: java.lang.NoClassDefFoundError: sun/reflect/Reflection
at com.aspose.barcode.License.setLicense(Unknown Source)
We use the Aspose.BarCode version: 18.10.1
We use the following snippet:
com.aspose.barcode.License asposeBarcodeLicense = new com.aspose.barcode.License();
asposeBarcodeLicense.setLicense(asposeLicense);
Is Java 11 supported? If Aspose does not support Java 11, when should we be expecting a new version of Aspose to provide support?
Regards
Notes:
- In the configuration of License of Aspose.BarCode, it seems that the
setLicense(String licenseName)
method uses theReflection.getCallerClass(int)
method, which has been removed permanently from Java
[JDK-8179424] Remove terminally deprecated sun.reflect.Reflection.getCallerClass - Java Bug System - It seems that Aspose.PDF and Aspose.Words works fine.