Hi community , We upgraded our project to java 8 and encountered several errors related to jibx. First we got:
Causedby: java.lang.VerifyError: Expecting a stackmap frame at branch target 12 ExceptionDetails: Location: ...shared/grouping/types/ResourceBundle.JiBX_cmdb_binding_newinstance_1_0(L...shared/grouping/types/ResourceBundle;Lorg/jibx/runtime/impl/UnmarshallingContext;)L...shared/grouping/types/ResourceBundle;@1: ifnonnull Then we upgrade jibx from 1.2.1 to 1.3.1 and then to 1.3.3 and bcel to latest version and now we get java.lang.IllegalAccessError: tried to access method ...result.resultentry.impl.CmdbObjectResultEntryMemento.getObjectsIterator()Ljava/util/Iterator; from class ...shared.grouping.validators.impl.JiBX_cmdb_bindingMungeAdapter <mapping name="ObjectEntry" class="...result.resultentry.impl.CmdbObjectResultEntryMemento"> <structure get-method="getElementNumber" set-method="addElementNumber"/> <structure name="Objects"> <collection iter-method="getObjectsIterator" add-method="addObject"/> </structure> </mapping> Basically upgraded all dependencies as mentioned here -> https://stackoverflow.com/questions/49978070/after-update-to-java8-getting-error-during-jibx-bind-bind-java-lang-illegal We can overcome this issue only if we change the methods from private to public. Is this a known issue? Can be workaround the problem in a different way? We have to make more than 1000 methods public. Any suggestion would be very much appreciated. Best Regards,
_______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users