Accepting request 1134732 from home:urbic:branches:Java:packages
- Update to version 6.8.0
* 6.8.0 (2023-12-08) Maintenance and bug fix release.
+ New features:
~ Add and use InvalidMethodSignatureException extending
ClassFormatException.
~ Increase code coverage in Class2HTMLTestCase with new test
input Java4Example #186.
~ Add verifier tests on some opcodes #180.
~ Added signature test cases for class/method, and bad
signatures #182.
~ Add Const.MAJOR_20.
~ Add Const.MINOR_20.
~ Add Const.MAJOR_21.
~ Add Const.MINOR_21.
~ [Bcelifier] stackmap support to pass JDK verifier #177.
~ Fix SpotBugs [ERROR] Class org.apache.bcel.util.ClassVector
defines non-transient non-serializable instance field vec
[org.apache.bcel.util.ClassVector] In ClassVector.java
SE_BAD_FIELD.
~ Fix SpotBugs [ERROR] Switch statement found in
org.apache.bcel.util.BCELFactory.visitAllocationInstruction(AllocationInstruction)
where one case falls through to the next case
[org.apache.bcel.util.BCELFactory,
org.apache.bcel.util.BCELFactory] At
BCELFactory.java:[lines 188-191]Another occurrence at
BCELFactory.java:[lines 192-196] SF_SWITCH_FALLTHROUGH.
+ Fixed bugs:
~ When parsing an class with an invalid constant reference,
ensure ClassParser.parse() throws ClassFormatException, not
NullPointerException.
~ Ensure that references to a constant pool entry with index
zero trigger a ClassFormatException, not a
NullPointerException.
~ Ensure that references to the unused constant pool entry
after a long/double entry triggers a ClassFormatException,
not a NullPointerException.
~ Test and coverage of InstructionFactory #190.
~ Verifier: test and coverage for SWAP instruction #188.
~ Exception parsing Kotlin class with 'fun `method name with
() in it`()' #205.
~ Fix null pointers in AnnotationEntry #213.
~ Field not found, search field in both super class and
implemented interfaces (5x duplicated code to find field by
name and type is refactored to a new method and now
supports package-private) #181.
~ BCEL-366: Use alternative name for broken classes under
test #220.
~ BCEL-367: Fixes java.lang.IndexOutOfBoundsException for
ATHROW on empty stack #223.
~ BCEL-368: Fixes java.lang.StackOverflowError in
Select#toString(boolean) #229.
~ Fix for type.getType(...) use on non-signature type names
#221.
~ Fix EmptyVisitorTestCase on Java 21.
+ Changes:
~ Bump commons-parent from 54 to 65 #189, #198, #222.
~ Bump jna.version from 5.12.1 to 5.13.0 #203.
~ Bump kotlin-stdlib from 1.8.10 to 1.9.21 #217, #219, #227,
#231, #235, #245, #247.
~ Bump commons-io from 2.11.0 to 2.15.1.
~ Bump commons-lang3 from 3.12.0 to 3.14.0.
~ Bump org.codehaus.mojo:exec-maven-plugin from 3.1.0 to
3.1.1 #246.
OBS-URL: https://build.opensuse.org/request/show/1134732
OBS-URL: https://build.opensuse.org/package/show/Java:packages/bcel?expand=0&rev=53
2023-12-27 10:26:30 +01:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Sat Dec 23 11:24:26 UTC 2023 - Anton Shvetz <shvetz.anton@gmail.com>
|
|
|
|
|
|
|
|
- Update to version 6.8.0
|
|
|
|
* 6.8.0 (2023-12-08) Maintenance and bug fix release.
|
|
|
|
+ New features:
|
|
|
|
~ Add and use InvalidMethodSignatureException extending
|
|
|
|
ClassFormatException.
|
|
|
|
~ Increase code coverage in Class2HTMLTestCase with new test
|
|
|
|
input Java4Example #186.
|
|
|
|
~ Add verifier tests on some opcodes #180.
|
|
|
|
~ Added signature test cases for class/method, and bad
|
|
|
|
signatures #182.
|
|
|
|
~ Add Const.MAJOR_20.
|
|
|
|
~ Add Const.MINOR_20.
|
|
|
|
~ Add Const.MAJOR_21.
|
|
|
|
~ Add Const.MINOR_21.
|
|
|
|
~ [Bcelifier] stackmap support to pass JDK verifier #177.
|
|
|
|
~ Fix SpotBugs [ERROR] Class org.apache.bcel.util.ClassVector
|
|
|
|
defines non-transient non-serializable instance field vec
|
|
|
|
[org.apache.bcel.util.ClassVector] In ClassVector.java
|
|
|
|
SE_BAD_FIELD.
|
|
|
|
~ Fix SpotBugs [ERROR] Switch statement found in
|
|
|
|
org.apache.bcel.util.BCELFactory.visitAllocationInstruction(AllocationInstruction)
|
|
|
|
where one case falls through to the next case
|
|
|
|
[org.apache.bcel.util.BCELFactory,
|
|
|
|
org.apache.bcel.util.BCELFactory] At
|
|
|
|
BCELFactory.java:[lines 188-191]Another occurrence at
|
|
|
|
BCELFactory.java:[lines 192-196] SF_SWITCH_FALLTHROUGH.
|
|
|
|
+ Fixed bugs:
|
|
|
|
~ When parsing an class with an invalid constant reference,
|
|
|
|
ensure ClassParser.parse() throws ClassFormatException, not
|
|
|
|
NullPointerException.
|
|
|
|
~ Ensure that references to a constant pool entry with index
|
|
|
|
zero trigger a ClassFormatException, not a
|
|
|
|
NullPointerException.
|
|
|
|
~ Ensure that references to the unused constant pool entry
|
|
|
|
after a long/double entry triggers a ClassFormatException,
|
|
|
|
not a NullPointerException.
|
|
|
|
~ Test and coverage of InstructionFactory #190.
|
|
|
|
~ Verifier: test and coverage for SWAP instruction #188.
|
|
|
|
~ Exception parsing Kotlin class with 'fun `method name with
|
|
|
|
() in it`()' #205.
|
|
|
|
~ Fix null pointers in AnnotationEntry #213.
|
|
|
|
~ Field not found, search field in both super class and
|
|
|
|
implemented interfaces (5x duplicated code to find field by
|
|
|
|
name and type is refactored to a new method and now
|
|
|
|
supports package-private) #181.
|
|
|
|
~ BCEL-366: Use alternative name for broken classes under
|
|
|
|
test #220.
|
|
|
|
~ BCEL-367: Fixes java.lang.IndexOutOfBoundsException for
|
|
|
|
ATHROW on empty stack #223.
|
|
|
|
~ BCEL-368: Fixes java.lang.StackOverflowError in
|
|
|
|
Select#toString(boolean) #229.
|
|
|
|
~ Fix for type.getType(...) use on non-signature type names
|
|
|
|
#221.
|
|
|
|
~ Fix EmptyVisitorTestCase on Java 21.
|
|
|
|
+ Changes:
|
|
|
|
~ Bump commons-parent from 54 to 65 #189, #198, #222.
|
|
|
|
~ Bump jna.version from 5.12.1 to 5.13.0 #203.
|
|
|
|
~ Bump kotlin-stdlib from 1.8.10 to 1.9.21 #217, #219, #227,
|
|
|
|
#231, #235, #245, #247.
|
|
|
|
~ Bump commons-io from 2.11.0 to 2.15.1.
|
|
|
|
~ Bump commons-lang3 from 3.12.0 to 3.14.0.
|
|
|
|
~ Bump org.codehaus.mojo:exec-maven-plugin from 3.1.0 to
|
|
|
|
3.1.1 #246.
|
|
|
|
|
2023-08-31 10:40:31 +02:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Thu Aug 31 08:38:22 UTC 2023 - Fridrich Strba <fstrba@suse.com>
|
|
|
|
|
|
|
|
- Update to version 6.7.0
|
|
|
|
* 6.7.0 (2022-11-28) Maintenance and bug fix release.
|
|
|
|
* 6.6.1 (2022-10-29) Maintenance and bug fix release.
|
|
|
|
* 6.6.0 (2022-10-08) Minor feature and bug fix release.
|
|
|
|
* 6.5.0 (2020-06-05) Minor feature and bug fix release.
|
|
|
|
* 6.4.1 (2019-09-26) Bug fix release.
|
|
|
|
* 6.4.0 (2019-09-20) Feature and bug fix release.
|
|
|
|
* 6.3.1 (2019-03-20) Bug fix release
|
|
|
|
* 6.3 (2019-01-23) Experimental Java 9, 10, 11, 12-EA, and 13-EA
|
|
|
|
Support
|
|
|
|
* 6.2 (2017-12-08) Experimental Java 9 Support
|
|
|
|
* 6.1 (2017-09-14) Experimental Java 9 Support
|
|
|
|
* 6.0 (2016-07-10) Apache Commons BCEL 6.0 is a major release
|
|
|
|
supporting the new features introduced in Java 6, 7 and 8. It
|
|
|
|
requires Java 7 or higher to run.
|
|
|
|
COMPATIBILITY with 5.2
|
|
|
|
+ Binary compatible
|
|
|
|
- not strictly compatible
|
|
|
|
- The constant interface org.apache.bcel.Constants has been
|
|
|
|
deprecated. Classes which implemented this interface in 5.2
|
|
|
|
now use the constants defined in the org.apache.bcel.Const
|
|
|
|
class.
|
|
|
|
- The constant interface
|
|
|
|
org.apache.bcel.generic.InstructionConstants has been
|
|
|
|
deprecated. Classes which implemented this interface in 5.2
|
|
|
|
now use the constants defined in the
|
|
|
|
org.apache.bcel.generic.InstructionConsts class.
|
|
|
|
- Return type of method 'public java.lang.Object
|
|
|
|
getElementAt(int)' in org.apache.bcel.verifier
|
|
|
|
.VerifierFactoryListModel has been changed to
|
|
|
|
java.lang.String.
|
|
|
|
- The BCEL classes do no longer implement java.io.Serializable.
|
|
|
|
+ Source compatible
|
|
|
|
- Yes, sort of;
|
|
|
|
- The org.apache.bcel.classfile.Visitor interface has been
|
|
|
|
enhanced with additional methods. If you implemented it
|
|
|
|
directly instead of extending the EmptyVisitor class you'll
|
|
|
|
have to implement the new methods.
|
|
|
|
- The org.apache.bcel.generic.Visitor interface has been
|
|
|
|
enhanced with an additional method. If you implemented it
|
|
|
|
directly instead of extending the EmptyVisitor class you'll
|
|
|
|
have to implement the new methods.
|
|
|
|
+ Semantic compatible
|
|
|
|
- Yes, except:
|
|
|
|
- BCEL 6.0 handles new attributes such as code annotations
|
|
|
|
that could only be processed by implementing a custom
|
|
|
|
AttributeReader in the previous versions. Code relying on
|
|
|
|
this behavior will have to be adjusted since the
|
|
|
|
AttributeReader will no longer be called in these cases.
|
|
|
|
+ For full information about API changes please see the extended
|
|
|
|
Clirr report: https://commons.apache.org/bcel/clirr-report.html
|
|
|
|
- Removed patches:
|
|
|
|
* bcel-5.2-encoding.patch
|
|
|
|
+ part of our own build.xml file generated to build with ant
|
|
|
|
* bcel-CVE-2022-42920.patch
|
|
|
|
+ integrated upstrea
|
|
|
|
|
2022-11-10 14:54:45 +01:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Thu Nov 10 11:02:08 UTC 2022 - Pedro Monreal <pmonreal@suse.com>
|
|
|
|
|
|
|
|
- Security fix: [bsc#1205125, CVE-2022-42920]
|
|
|
|
* Apache Commons BCEL prior to 6.6.0 allows producing
|
|
|
|
arbitrary bytecode via out-of-bounds writing
|
|
|
|
* Add bcel-CVE-2022-42920.patch
|
|
|
|
|
2019-02-01 15:11:30 +01:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Fri Feb 1 14:10:42 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
|
|
|
|
2019-02-01 17:53:03 +01:00
|
|
|
- BuildIgnore xalan-j2, xml-apis, xml-resolver, xerces-j2, since
|
|
|
|
those packages are not necessary for the build.
|
2019-02-01 15:11:30 +01:00
|
|
|
|
2018-11-15 12:44:00 +01:00
|
|
|
-------------------------------------------------------------------
|
2018-12-10 10:52:26 +01:00
|
|
|
Mon Dec 10 09:51:13 UTC 2018 - Fridrich Strba <fstrba@suse.com>
|
|
|
|
|
|
|
|
- Build against the generic xml-apis provider which allows
|
|
|
|
building against bootstrap and non-bootstrap packages according
|
|
|
|
of their availability.
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
2018-11-15 12:44:00 +01:00
|
|
|
Thu Nov 15 10:36:02 UTC 2018 - Fridrich Strba <fstrba@suse.com>
|
|
|
|
|
|
|
|
- Add maven pom file and generate mvn(...) dependencies for this
|
|
|
|
package
|
|
|
|
|
2018-05-15 16:05:28 +02:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Tue May 15 14:05:02 UTC 2018 - fstrba@suse.com
|
|
|
|
|
|
|
|
- Build with source and target 8 to prepare for a possible removal
|
2018-05-17 21:57:34 +02:00
|
|
|
of 1.6 compatibility
|
2018-05-15 16:05:28 +02:00
|
|
|
|
2017-09-27 19:08:39 +02:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Wed Sep 27 17:05:58 UTC 2017 - fstrba@suse.com
|
|
|
|
|
|
|
|
- Allow building with any java-devel provider
|
|
|
|
- Specify java source and target level 1.6 to fix build with jdk9
|
|
|
|
- Added patch:
|
|
|
|
* bcel-5.2-encoding.patch
|
|
|
|
+ specify the correct encoding of the files
|
|
|
|
|
2017-05-19 18:55:29 +02:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Fri May 19 16:56:30 UTC 2017 - tchvatal@suse.com
|
|
|
|
|
|
|
|
- Buildignore more java implementations
|
|
|
|
|
2014-07-08 12:59:15 +02:00
|
|
|
-------------------------------------------------------------------
|
2015-03-25 10:23:24 +01:00
|
|
|
Wed Mar 25 09:22:33 UTC 2015 - tchvatal@suse.com
|
|
|
|
|
|
|
|
- Drop gpg-offline
|
|
|
|
- Drop conditional for manual that is never triggered
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
2014-07-08 12:59:15 +02:00
|
|
|
Tue Jul 8 10:59:06 UTC 2014 - tchvatal@suse.com
|
|
|
|
|
|
|
|
- Do not depend on ant-nodeps.
|
|
|
|
|
2013-08-22 14:08:43 +02:00
|
|
|
-------------------------------------------------------------------
|
2013-09-03 16:26:45 +02:00
|
|
|
Tue Sep 3 14:26:25 UTC 2013 - mvyskocil@suse.com
|
2013-08-22 14:08:43 +02:00
|
|
|
|
2013-08-29 13:46:24 +02:00
|
|
|
- use pristine tarballs
|
|
|
|
- fix source url
|
|
|
|
- add gpg verification
|
|
|
|
- format spec file
|
2013-08-22 14:08:43 +02:00
|
|
|
|
2013-09-03 16:26:45 +02:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Thu Aug 22 12:08:11 UTC 2013 - mvyskocil@suse.com
|
|
|
|
|
|
|
|
- disable javadoc generation
|
|
|
|
|
2013-01-07 13:16:59 +01:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Mon Jan 7 12:16:54 UTC 2013 - mvyskocil@suse.com
|
|
|
|
|
2013-08-22 14:08:43 +02:00
|
|
|
- remove xerces-j2-bootstrap dependency (bnc#789163)
|
2013-01-07 13:16:59 +01:00
|
|
|
|
2012-05-15 10:00:11 +02:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Tue May 15 07:59:18 UTC 2012 - mvyskocil@suse.cz
|
|
|
|
|
|
|
|
- ignore openjdk from build
|
|
|
|
|
2011-09-22 10:16:54 +02:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Sat Sep 17 19:22:25 UTC 2011 - jengelh@medozas.de
|
|
|
|
|
|
|
|
- Remove redundant tags/sections from specfile
|
|
|
|
- Use %_smp_mflags for parallel build
|
|
|
|
|
2010-11-15 17:45:19 +01:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Mon Nov 8 12:06:23 UTC 2010 - mvyskocil@suse.cz
|
|
|
|
|
|
|
|
- build ignore xml-commons-jaxp-1.3-apis
|
|
|
|
|
2009-06-02 12:27:25 +02:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Mon Jun 1 09:40:23 CEST 2009 - mvyskocil@suse.cz
|
|
|
|
|
|
|
|
- fixed archive name (gz -> bz2) in Source
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
Thu May 21 15:32:47 CEST 2009 - mvyskocil@suse.cz
|
|
|
|
|
|
|
|
- update to 5.2
|
|
|
|
- fixed build under gcj44
|
|
|
|
- removed javadoc scripplets
|
|
|
|
|
2008-07-28 01:10:13 +02:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Sun Jul 27 13:34:42 CEST 2008 - coolo@suse.de
|
|
|
|
|
|
|
|
- avoid xerces and xml-commons (ant still works)
|
|
|
|
|
2008-07-25 16:47:40 +02:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Tue Jul 22 20:56:51 CEST 2008 - coolo@suse.de
|
|
|
|
|
|
|
|
- build with gcj to avoid build cycle
|
|
|
|
|
2007-01-15 23:52:11 +01:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Mon Sep 25 14:16:27 CEST 2006 - skh@suse.de
|
|
|
|
|
|
|
|
- don't use icecream
|
|
|
|
- use source="1.4" and target="1.4" for build with java 1.5
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
Wed Jan 25 21:45:52 CET 2006 - mls@suse.de
|
|
|
|
|
|
|
|
- converted neededforbuild to BuildRequires
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
Wed Jul 27 14:56:24 CEST 2005 - jsmeix@suse.de
|
|
|
|
|
|
|
|
- Adjustments in the spec file.
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
Mon Jul 18 15:38:34 CEST 2005 - jsmeix@suse.de
|
|
|
|
|
|
|
|
- Current version 5.1 from JPackage.org
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
Thu Sep 16 15:23:14 CEST 2004 - skh@suse.de
|
|
|
|
|
|
|
|
- Fix prerequires of javadoc subpackage
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
Sat Sep 4 17:39:44 CEST 2004 - skh@suse.de
|
|
|
|
|
|
|
|
- Switched to JPackage 1.5 version
|
|
|
|
- split off subpackages bcel-javadoc and bcel-manual
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
Mon Feb 09 11:25:05 CET 2004 - pmladek@suse.cz
|
|
|
|
|
|
|
|
- package created, version 5.1
|
|
|
|
- added trigger to create link to the ant lib dir
|
|
|
|
|