Bug 845625

Summary: jibx binding compiler generates format version 45.3 java classes
Product: [Fedora] Fedora Reporter: Andy Grimm <agrimm>
Component: jibxAssignee: hannes <johannes.lips>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jgoulding, johannes.lips
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-01 03:28:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 842597    

Description Andy Grimm 2012-08-03 15:42:17 UTC
There have been many issues filed lately in Fedora about ensuring that java packages which uses generics are recompiled with target 1.5 or later, referencing https://bugzilla.redhat.com/show_bug.cgi?id=842394

The first package I attempted to fix included classes generated via org.jibx.binding.ant.CompileTask, so I went investigating jibx, and I couldn't figure out how to make it generate classes with a later format.

Any help with this would be appreciated.  I couldn't find anything in the jibx documentation about whether this is possible, and it may be that a patch to jibx  is required.

Comment 1 Andy Grimm 2013-02-26 00:13:49 UTC
Any update on this?

Comment 2 hannes 2013-02-26 06:55:47 UTC
I don't really know anything about this. There was a new release 1.2.5, which changelog reads like this:
"This 1.2.5 release provides a single enhancement, which is full support for Java 7. With 1.2.5 you
can bind class files compiled with Java 7 and keep full Java 7 compatibility for these class files.
Class files generated by JiBX continue to use an older form, but are loaded without any problems by
both Java 7 and older JVMs. So just to be clear, JiBX 1.2.5 is fully compatible with both Java 7 and older JDK/JVM versions."
So perhaps it's fixed upstream, but I am not sure, I will update to the next version as soon as possible.

Sorry for the delay,

Johannes

Comment 3 hannes 2013-02-28 05:50:45 UTC
Ok, it's updated in rawhide and f18. Perhaps could you try and check if the problem still persists? Thanks.

Johannes

http://koji.fedoraproject.org/koji/packageinfo?packageID=10920

Comment 4 Fedora Update System 2013-03-23 15:49:07 UTC
jibx-1.2.5-2.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/jibx-1.2.5-2.fc18

Comment 5 Fedora Update System 2013-03-24 00:05:50 UTC
Package jibx-1.2.5-2.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing jibx-1.2.5-2.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-4339/jibx-1.2.5-2.fc18
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2013-04-01 03:28:43 UTC
jibx-1.2.5-2.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.