You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2022/11/28 16:51:19 UTC
[commons-bcel] branch release updated (6ca6902d -> b015e902)
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a change to branch release
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git
from 6ca6902d Bump to next development version
add f9ee56a7 Don't use a URL that redirects
add 64a805f4 Remove trailing whitespace
add 137c0dd5 Add checkstyle check for trailing whitespace
add 6d689977 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-bcel.git
add 12760e92 Merge branch 'release'
add f486849f Javadoc
add 59b0cc20 Remove duplicate
add 3ffe6712 Typo in error message (#161)
add 63c2f6b8 Typo in SimpleElementValue error message #161.
add bd91abe7 Sort members
add bff420d0 Update changes for recent fix
add f0add0f6 Improve test coverage to bcel/generic and UtilityTest (#162)
add b04ca968 Improve test coverage to bcel/generic and UtilityTest #162.
add 39e1722d Better class names
add 4fb73706 Organize imports like the rest of BCEL
add a082f8ad code coverage and assertions, compile with parameters (#165)
add c9d593ea Use camel case names
add 53db9343 Bump spotbugs-maven-plugub from 4.7.2.1 to 4.7.2.2
add d22556d4 Fix code coverage link to point to master branch instead of trunk
add c3e29751 Typos
add db90cef6 More accurate description
add bb988482 Use final
add 2e70012a Clean up whitespace
add 17e5de3c Remove redundant call to super()
add e57f90c9 Use blocks and final
add 6499d147 No need to nest
add 4e4ba90a Javadoc
add e3e1adcf Reuse JavaHome for tests
add a8d514b4 Sentences start with a capital
add 29cac02a Refactor some tests
add e0d0cbb8 code coverage and unit tests on the verifier (#166)
add 60c2784f Code coverage and unit tests on the verifier #166
add bde73253 Bump spotbugs-maven-plugin from 4.7.2.2 to 4.7.3.0 (#167)
add 4aec9f00 Bump spotbugs-maven-plugin from 4.7.2.2 to 4.7.3.0 #167
add 26a730fa Fix oss-fuzz issue 52168
add 915cfeff Fix line length
add 4bde63f2 Fix oss-fuzz issue 51989
add a68b26b2 Use try-with-resources
add 27d756d7 Throw ClassFormatException instead of IAE and ISE
add eb80c2fb Add org.apache.bcel.classfile.ClassFormatException.ClassFormatException(Throwable)
add 69a51004 Use default Eclipse Adoptium and Oracle locations if present for test fixtures
add d5a61a7d Check path fixture for existence (GitHub)
add 82de5396 Fix oss-fuzz 51980
add f5e0843a Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-bcel.git
add 4e585413 Replace magic number with constant
add ca11ae53 Add SpotBugs to the default goal
add b686b69f Don't add SpotBugs errors, we have 15 on Java 8, 17 on Java 11 and up
add 3b615d54 Use ternary expression
add e94b891e Organize imports
add 7dd5cf75 Sort members
add a6ba162c Use camel case
add 0988941b Refactor U2 value check in Code
add 51b64d6b org.apache.bcel.classfile.Deprecated constructors now throw ClassFormatException on invalid length input
add 16ea4930 org.apache.bcel.classfile.Deprecated constructors now throw ClassFormatException on invalid length input
add e6e52645 org.apache.bcel.classfile.Attribute constructors now throw ClassFormatException on invalid name index input.
add de5c093a org.apache.bcel.classfile.ConstantValue constructors now throw ClassFormatException on invalid length input
add 1079f385 Normalize exception messages
add 0f599351 org.apache.bcel.classfile.EnclosingMethod constructors now throw ClassFormatException on invalid length, class index, or method index input.
add 1036f808 org.apache.bcel.classfile.Synthetic constructors now throw ClassFormatException on invalid length input
add 9b7d12da Swap args
add fa0115b1 Javadoc
add 1d06beda org.apache.bcel.classfile.Signature constructors now throw ClassFormatException on invalid length input
add ff95f518 org.apache.bcel.classfile.SourceFile constructors now throw ClassFormatException on invalid input
add 0473a82c InstructionConstants.ALOAD_0 value is wrong (regression from 6.6.0)
add 3703a2d1 Avoid internal NPE in org.apache.bcel.util.ClassPath.getInputStream(String, String)
add 5c448861 Add org.apache.bcel.classfile.JavaClass.EXTENSION.
add be1cf066 Better internal name
add c9ee7fce Test cases a public by convention in BCEL
add 44b85d93 Add disabled tests for the verifier
add 1a26bf24 Refactor and update banner to Apache
add 2e4aac0c Javadoc
add d6caf2df Javadoc use of ClassNotFoundException
add 31a009fa Javadoc use of IOException
add 02b81da1 Document failure in org.apache.bcel.verifier.VerifyJavaHomesTestCase
add f509deb3 Clear the repository cache after each verifier test
add 3ab6d811 Static finals should be upper case.
add eecfa5c8 Clear ConstantUtf8 cache after each test
add a70d4313 Add logging
add c5a5ab58 Add disabled test
add bfe7035c Add disabled test
add 87cf5495 Javadoc typo
add 4e2f5cda Better test method names
add ef92bfc3 Logging tweak
add 1408bad3 Javadoc, no need to point out the obvious
add f16e45b9 Format tweak
add 2e333182 Update version from 6.6.2-SNAPSHOT to 6.7.0-SNAPSHOT
add 5d7f6bef Less cryptic parameter names
add e42ff659 Remove dead comment
add f0ec73d4 Update Javadoc since tags for 6.7.0
add 433b41e2 Remove useless local variable
add 9b73400f Javadoc
add 5aeaacf8 Bump jmh.version from 1.35 to 1.36 (#170)
add dc139cfe Bump jmh.version from 1.35 to 1.36 #170
add 12b695ae Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-bcel.git
add 4b54ea52 Add ObjectTypeTest
add e22b22c0 Add ArrayTypeTest
add 1057a89b Add org.apache.bcel.generic.ArrayType.getClassName().
add 9d16bbaa Javadoc
add fdf77ad3 More tests
add 160884d3 Javadoc
add fecdb1f8 Javadoc
add 70b474d0 Add BasicTypeTest
add e0660512 Remove trailing whitespace
add 7168c854 Refactor duplicate code
add 034e2c5e Remove unused cache
add c3cd3713 Javadoc
add 44a59642 Better local name
add 6fa46840 Better local names
add b5697723 Better local names
add 3d2f8ea8 Simplify array allocation
add 58916a50 org.apache.bcel.classfile.StackMapEntry.StackMapEntry(DataInput, ConstantPool) reads signed instead of unsigned shorts from its DataInput.
add c84f4923 org.apache.bcel.classfile.StackMapType.StackMapType(DataInput, ConstantPool) reads signed instead of unsigned shorts from its DataInput
add 90d3d754 org.apache.bcel.classfile.ConstantInvokeDynamic.ConstantInvokeDynamic(DataInput)
add c3a6ef46 Move disabled annotations to the class level
add e823a4e0 Remove dead comment
add 757ef201 Enable VerifyJavaMathTestCase.testBigDecimal() only on Java 8
add 3614918b org.apache.bcel.classfile.MethodParameter now implements org.apache.bcel.classfile.Node.
add 486770a3 Disable org.apache.bcel.verifier.VerifyJavaMathTestCase.testBigDecimal() as it fails for me locally
add 569c62b9 Use ternary expression
add 3d95ee56 Make private instance variable final
add fe246514 No need to convert a List to an array
add 130eb097 No need to intern class path string
add d4553d0d Use Java 8 API
add f9c93865 Remove old comment
add ae494539 Better internal name
add 8b3e1751 org.apache.bcel.util.ClassPath hashCode() and equals() don't match.
add d6c80b5e Add org.apache.bcel.classfile.Module.EXTENSION
add 467477cc Add GHitHub robots file
add c2bb9264 Javadoc
add 7603760b Use try-with-resources
add 08a313c0 Reuse constant instead of magic number
add 1a99a1e5 Fix an instance of IAE when it should be ClassFormatException
add 24630299 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-bcel.git
add 556b922f Remove unhelpful comment
add c96eb974 Code coverage and bug fixes for bcelifier (#171)
add caa44067 Sort members
add d1bfd30b Use final
add 2dff910b Add org.apache.bcel.classfile.Utility.packageToPath(String)
add 2a3b0eba Reuse Utility.pathToPackage()
add acefe3e0 Code coverage and bug fixes for bcelifier #171
add 89015357 Unknown attributes with invalid length now trigger ClassFormatException
add 428b65e0 Validate the u4 length of all attributes
add d002e44d Fix exception message per Mark Thomas' patch
add 5bb1c3f5 Code ctor should validate u4, not u2. for code length per JVM spec's "u4 code_length"
add 61af6ea5 Javadoc
add 48e07f0f Javadoc
add 84d46183 Javadoc
add a4bf0768 Javadoc
add 6013bcf4 Better exception messages
add 99ef9eff Javadoc
add d3209d93 org.apache.bcel.classfile.CodeException constructors now throw ClassFormatException on invalid input
add 56859bfc org.apache.bcel.classfile.Code constructors now throw ClassFormatException on invalid input
add 9bd3c2a7 org.apache.bcel.classfile.Code constructors now throw ClassFormatException on invalid input
add 36cf651d org.apache.bcel.classfile.ExceptionTable constructors now throw ClassFormatException on invalid input
add 3b2d41ca org.apache.bcel.classfile.InnerClasses constructors now throw ClassFormatException on invalid input
add ce1450d8 org.apache.bcel.classfile.LineNumber constructors now throw ClassFormatException on invalid input
add d846b81d org.apache.bcel.classfile.LocalVariable constructors now throw ClassFormatException on invalid input
add 1a04cf3d Javadoc
add 24547cf7 org.apache.bcel.classfile.LocalVariableTable constructors now throw ClassFormatException on invalid input
add b00e5e27 org.apache.bcel.classfile.LocalVariableTypeTable constructors now throw ClassFormatException on invalid input
add 57d1a3c6 org.apache.bcel.classfile.ModuleMainClass constructors now throw ClassFormatException on invalid input
add cc9c33cb org.apache.bcel.classfile.ModulePackages constructors now throw ClassFormatException on invalid input
add 6495de33 org.apache.bcel.classfile.NestHost constructors now throw ClassFormatException on invalid input
add d7f558d9 org.apache.bcel.classfile.NestMembers constructors now throw ClassFormatException on invalid input
add 21fc4ab6 Sort fixes
add 939f0eba org.apache.bcel.classfile.StackMap constructors now throw ClassFormatException on invalid input
add d1f5fd2d org.apache.bcel.classfile.StackMap constructors now throw ClassFormatException on invalid input
add f9e50479 org.apache.bcel.classfile.Signature constructors now throw ClassFormatException on invalid input
add 7b5ac741 When parsing, limit arrays to 255 dimensions as per JVM specification
add e8c4bfbe Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-bcel.git
add 35f3d786 Replace magic number with Const.MAX_ARRAY_DIMENSIONS
add 31eebe37 Javadoc
add 7acacff7 Fix exception message
add f93a0dbd Use single quote ' instead of `
add 16bb11a0 Javadoc
add a8e7fbcc Javadoc
add 7529e74d Javadoc
add e1304819 Make org.apache.bcel.generic.DCONST.value final
add d1d2c2ac Make org.apache.bcel.generic.FCONST.value final
add 3a67fafb Make org.apache.bcel.generic.ICONST.value final
add 2d8f8787 Make org.apache.bcel.generic.LCONST.value final
add 3d46fb97 Make org.apache.bcel.generic.SWITCH.match final
add adc47a16 Organize imports
add 31fe91e4 Fix spelling in comments
add eef6bb9c Make org.apache.bcel.generic.SWITCH.match final
add 59d24f4e Make org.apache.bcel.generic.SWITCH.match final
add 70b0cfad Bump pmd from 6.51.0 to 6.52.0
add af73a2ff Tests and coverage for Utility class (#16) (#175)
add 9138e9ea Tests and coverage for Utility class #175
add a40ec0d4 Let coverage run on both JDK 8 and 11 (#176)
add ac3c1254 Unit tests and coverage for binary operations (#174)
add ae5c94c8 Unit tests and coverage for binary operations #174
add c6ba36f4 Javadoc
add be4aec1b Use an inline comment
add ce634b1e Fix compiler warning
add 2eb97367 Fix possible NullPointerException in org.apache.bcel.classfile.StackMap.setStackMap(StackMapEntry[])
new 21aef486 Reset RC count
new 5582fa16 Bump japicmp from 0.16.0 to 0.17.1
new 7507da90 Prepate for next RC
new b015e902 Prepate for next RC
The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.github/{dependabot.yml => GH-ROBOTS.txt} | 16 +-
.github/workflows/coverage.yml | 4 +-
.github/workflows/maven.yml | 8 +-
README.md | 4 +-
RELEASE-NOTES.txt | 117 +-
pom.xml | 59 +-
src/changes/changes.xml | 1212 ++++-----
src/conf/checkstyle.xml | 397 +--
src/conf/spotbugs-exclude-filter.xml | 2 +-
src/examples/HelloWorldBuilder.java | 10 +-
src/examples/Helloify.java | 4 +-
src/examples/JasminVisitor.java | 10 +-
src/examples/ListClass.java | 2 +-
src/examples/Mini/ASTExpr.java | 8 +-
src/examples/Mini/ASTFunDecl.java | 6 +-
src/examples/Mini/ASTProgram.java | 8 +-
src/examples/Mini/Environment.java | 4 +-
src/examples/Mini/MiniC.java | 2 +-
src/examples/Mini/MiniParser.java | 2 +-
src/examples/Package.java | 19 +-
src/examples/PatchClass.java | 6 +-
src/examples/TransitiveHull.java | 3 +-
src/main/java/org/apache/bcel/Repository.java | 5 +-
.../apache/bcel/classfile/AnnotationDefault.java | 2 +-
.../bcel/classfile/AnnotationElementValue.java | 2 +-
.../apache/bcel/classfile/ArrayElementValue.java | 2 +-
.../java/org/apache/bcel/classfile/Attribute.java | 116 +-
.../org/apache/bcel/classfile/BootstrapMethod.java | 2 +
.../apache/bcel/classfile/BootstrapMethods.java | 2 +
.../bcel/classfile/ClassFormatException.java | 36 +-
src/main/java/org/apache/bcel/classfile/Code.java | 39 +-
.../org/apache/bcel/classfile/CodeException.java | 64 +-
.../java/org/apache/bcel/classfile/Constant.java | 6 +-
.../java/org/apache/bcel/classfile/ConstantCP.java | 2 +
.../org/apache/bcel/classfile/ConstantClass.java | 2 +
.../org/apache/bcel/classfile/ConstantDouble.java | 2 +
.../org/apache/bcel/classfile/ConstantDynamic.java | 2 +
.../apache/bcel/classfile/ConstantFieldref.java | 2 +
.../org/apache/bcel/classfile/ConstantFloat.java | 2 +
.../org/apache/bcel/classfile/ConstantInteger.java | 2 +
.../bcel/classfile/ConstantInterfaceMethodref.java | 2 +
.../bcel/classfile/ConstantInvokeDynamic.java | 4 +-
.../org/apache/bcel/classfile/ConstantLong.java | 2 +
.../bcel/classfile/ConstantMethodHandle.java | 2 +
.../apache/bcel/classfile/ConstantMethodType.java | 2 +
.../apache/bcel/classfile/ConstantMethodref.java | 2 +
.../org/apache/bcel/classfile/ConstantModule.java | 2 +
.../apache/bcel/classfile/ConstantNameAndType.java | 2 +
.../org/apache/bcel/classfile/ConstantPackage.java | 2 +
.../org/apache/bcel/classfile/ConstantPool.java | 16 +-
.../org/apache/bcel/classfile/ConstantString.java | 2 +
.../org/apache/bcel/classfile/ConstantValue.java | 12 +-
.../java/org/apache/bcel/classfile/Deprecated.java | 5 +-
.../org/apache/bcel/classfile/ElementValue.java | 70 +-
.../org/apache/bcel/classfile/EnclosingMethod.java | 9 +-
.../apache/bcel/classfile/EnumElementValue.java | 2 +-
.../org/apache/bcel/classfile/ExceptionTable.java | 12 +
src/main/java/org/apache/bcel/classfile/Field.java | 4 +-
.../org/apache/bcel/classfile/FieldOrMethod.java | 2 +
.../java/org/apache/bcel/classfile/InnerClass.java | 2 +
.../org/apache/bcel/classfile/InnerClasses.java | 4 +
.../java/org/apache/bcel/classfile/JavaClass.java | 35 +-
.../java/org/apache/bcel/classfile/LineNumber.java | 12 +-
.../org/apache/bcel/classfile/LineNumberTable.java | 4 +-
.../org/apache/bcel/classfile/LocalVariable.java | 59 +-
.../apache/bcel/classfile/LocalVariableTable.java | 8 +-
.../bcel/classfile/LocalVariableTypeTable.java | 6 +-
.../java/org/apache/bcel/classfile/Method.java | 6 +-
.../org/apache/bcel/classfile/MethodParameter.java | 3 +-
.../java/org/apache/bcel/classfile/Module.java | 7 +
.../org/apache/bcel/classfile/ModuleMainClass.java | 5 +-
.../org/apache/bcel/classfile/ModulePackages.java | 4 +
.../java/org/apache/bcel/classfile/NestHost.java | 5 +-
.../org/apache/bcel/classfile/NestMembers.java | 8 +-
.../java/org/apache/bcel/classfile/PMGClass.java | 2 +
.../classfile/RuntimeInvisibleAnnotations.java | 2 +
.../RuntimeInvisibleParameterAnnotations.java | 1 +
.../bcel/classfile/RuntimeVisibleAnnotations.java | 2 +
.../RuntimeVisibleParameterAnnotations.java | 1 +
.../java/org/apache/bcel/classfile/Signature.java | 11 +-
.../apache/bcel/classfile/SimpleElementValue.java | 4 +-
.../java/org/apache/bcel/classfile/SourceFile.java | 7 +-
.../java/org/apache/bcel/classfile/StackMap.java | 29 +-
.../org/apache/bcel/classfile/StackMapEntry.java | 64 +-
.../org/apache/bcel/classfile/StackMapType.java | 27 +-
.../java/org/apache/bcel/classfile/Synthetic.java | 7 +-
.../java/org/apache/bcel/classfile/Unknown.java | 37 +-
.../java/org/apache/bcel/classfile/Utility.java | 144 +-
.../java/org/apache/bcel/classfile/Visitor.java | 2 +-
.../java/org/apache/bcel/generic/ArrayType.java | 14 +
.../java/org/apache/bcel/generic/BasicType.java | 2 +-
.../org/apache/bcel/generic/BranchInstruction.java | 4 +-
.../org/apache/bcel/generic/CPInstruction.java | 3 +-
.../java/org/apache/bcel/generic/ClassGen.java | 2 +-
.../org/apache/bcel/generic/ClassGenException.java | 2 +-
.../org/apache/bcel/generic/CodeExceptionGen.java | 2 +-
.../apache/bcel/generic/CompoundInstruction.java | 6 +-
.../org/apache/bcel/generic/ConstantPoolGen.java | 82 +-
src/main/java/org/apache/bcel/generic/DCONST.java | 3 +-
src/main/java/org/apache/bcel/generic/FCONST.java | 3 +-
.../java/org/apache/bcel/generic/FieldGen.java | 2 +-
.../apache/bcel/generic/FieldGenOrMethodGen.java | 4 +-
src/main/java/org/apache/bcel/generic/ICONST.java | 3 +-
.../java/org/apache/bcel/generic/Instruction.java | 26 +-
.../org/apache/bcel/generic/InstructionConst.java | 13 +-
.../apache/bcel/generic/InstructionConstants.java | 11 +-
.../apache/bcel/generic/InstructionFactory.java | 17 +-
.../org/apache/bcel/generic/InstructionHandle.java | 4 +-
.../org/apache/bcel/generic/InstructionList.java | 22 +-
.../org/apache/bcel/generic/InvokeInstruction.java | 2 +-
src/main/java/org/apache/bcel/generic/LCONST.java | 3 +-
src/main/java/org/apache/bcel/generic/LDC.java | 2 +-
.../org/apache/bcel/generic/LineNumberGen.java | 4 +-
.../java/org/apache/bcel/generic/LoadClass.java | 16 +-
.../org/apache/bcel/generic/LocalVariableGen.java | 6 +-
.../java/org/apache/bcel/generic/MethodGen.java | 30 +-
.../java/org/apache/bcel/generic/ObjectType.java | 10 +-
src/main/java/org/apache/bcel/generic/PUSH.java | 15 +
src/main/java/org/apache/bcel/generic/SWITCH.java | 140 +-
src/main/java/org/apache/bcel/generic/Select.java | 22 +-
src/main/java/org/apache/bcel/generic/Type.java | 23 +-
.../apache/bcel/generic/UnconditionalBranch.java | 1 -
.../bcel/util/AbstractClassPathRepository.java | 2 +-
src/main/java/org/apache/bcel/util/Args.java | 144 ++
.../java/org/apache/bcel/util/BCELFactory.java | 32 +-
src/main/java/org/apache/bcel/util/BCELifier.java | 34 +-
.../java/org/apache/bcel/util/ByteSequence.java | 2 +-
src/main/java/org/apache/bcel/util/Class2HTML.java | 5 +-
.../java/org/apache/bcel/util/ClassLoader.java | 2 +-
.../apache/bcel/util/ClassLoaderRepository.java | 5 +-
src/main/java/org/apache/bcel/util/ClassPath.java | 132 +-
.../org/apache/bcel/util/InstructionFinder.java | 4 +-
.../java/org/apache/bcel/util/JavaWrapper.java | 1 +
.../util/MemorySensitiveClassPathRepository.java | 5 +-
src/main/java/org/apache/bcel/util/Repository.java | 6 +-
.../org/apache/bcel/util/SyntheticRepository.java | 1 -
.../apache/bcel/verifier/GraphicalVerifier.java | 4 +-
.../org/apache/bcel/verifier/NativeVerifier.java | 3 +-
.../org/apache/bcel/verifier/PassVerifier.java | 4 +-
.../org/apache/bcel/verifier/TransitiveHull.java | 2 +-
.../java/org/apache/bcel/verifier/Verifier.java | 19 +-
.../org/apache/bcel/verifier/VerifierAppFrame.java | 10 +-
.../org/apache/bcel/verifier/VerifierFactory.java | 4 +-
.../org/apache/bcel/verifier/VerifyDialog.java | 2 +-
.../apache/bcel/verifier/statics/DOUBLE_Upper.java | 4 +-
.../apache/bcel/verifier/statics/LONG_Upper.java | 4 +-
.../bcel/verifier/statics/Pass1Verifier.java | 18 +-
.../bcel/verifier/statics/Pass2Verifier.java | 42 +-
.../bcel/verifier/statics/Pass3aVerifier.java | 28 +-
.../verifier/structurals/ExceptionHandlers.java | 1 -
.../verifier/structurals/ExecutionVisitor.java | 4 +-
.../structurals/InstConstraintVisitor.java | 109 +-
.../bcel/verifier/structurals/Subroutines.java | 46 +-
.../structurals/UninitializedObjectType.java | 14 +-
src/site/site.xml | 6 +-
src/site/xdoc/download_bcel.xml | 26 +-
src/site/xdoc/faq.xml | 14 +-
src/site/xdoc/manual/appendix.xml | 28 +-
src/site/xdoc/manual/application-areas.xml | 6 +-
src/site/xdoc/manual/bcel-api.xml | 10 +-
src/site/xdoc/manual/introduction.xml | 16 +-
src/site/xdoc/manual/jvm.xml | 10 +-
src/site/xdoc/manual/manual.xml | 6 +-
src/site/xdoc/projects.xml | 20 +-
src/site/xdoc/security.xml | 12 +-
.../bcel/AbstractCounterVisitorTestCase.java | 12 +-
.../java/org/apache/bcel/AbstractTestCase.java | 23 +-
src/test/java/org/apache/bcel/BCELBenchmark.java | 2 +-
.../org/apache/bcel/ElementValueGenTestCase.java | 2 +-
.../java/org/apache/bcel/HelloWorldCreator.java | 88 +
src/test/java/org/apache/bcel/OssFuzzTestCase.java | 71 +
src/test/java/org/apache/bcel/PLSETestCase.java | 26 +-
src/test/java/org/apache/bcel/PerformanceTest.java | 4 +-
.../ConstantPoolModuleToStringTestCase.java | 170 +-
.../bcel/classfile/ConstantPoolTestCase.java | 77 +-
.../bcel/classfile/JDKClassDumpTestCase.java | 38 +-
.../org/apache/bcel/classfile/UtilityTestCase.java | 112 +
.../java/org/apache/bcel/data/ConstantPoolX.java | 8 +-
.../org/apache/bcel/generic/ArrayTypeTest.java | 87 +
.../BREAKPOINTTestCase.java} | 17 +-
.../org/apache/bcel/generic/BasicTypeTest.java | 58 +
.../org/apache/bcel/generic/BinaryOpCreator.java | 813 ++++++
.../org/apache/bcel/generic/CountingVisitor.java | 2669 ++++++++++++++++++++
.../D2FTestCase.java} | 21 +-
.../D2ITestCase.java} | 21 +-
.../D2LTestCase.java} | 22 +-
.../DADDTestCase.java} | 21 +-
.../DDIVTestCase.java} | 21 +-
.../DMULTestCase.java} | 21 +-
.../DNEGTestCase.java} | 21 +-
.../DREMTestCase.java} | 21 +-
.../DSUBTestCase.java} | 21 +-
.../apache/bcel/generic/EmptyVisitorTestCase.java | 85 +
.../F2DTestCase.java} | 22 +-
.../F2ITestCase.java} | 22 +-
.../F2LTestCase.java} | 21 +-
.../FADDTestCase.java} | 21 +-
.../FDIVTestCase.java} | 21 +-
.../FMULTestCase.java} | 21 +-
.../FNEGTestCase.java} | 21 +-
.../FREMTestCase.java} | 21 +-
.../FSUBTestCase.java} | 21 +-
.../GETFIELDTestCase.java} | 40 +-
.../I2BTestCase.java} | 21 +-
.../I2CTestCase.java} | 21 +-
.../I2DTestCase.java} | 21 +-
.../I2FTestCase.java} | 21 +-
.../I2LTestCase.java} | 21 +-
.../I2STestCase.java} | 21 +-
.../IADDTestCase.java} | 21 +-
.../IANDTestCase.java} | 21 +-
.../IDIVTestCase.java} | 23 +-
.../IMPDEP1TestCase.java} | 17 +-
.../IMPDEP2TestCase.java} | 17 +-
.../IMULTestCase.java} | 21 +-
.../INEGTestCase.java} | 21 +-
.../IORTestCase.java} | 21 +-
.../{TypeTestCase.java => IREMTestCase.java} | 22 +-
.../ISHLTestCase.java} | 21 +-
.../ISHRTestCase.java} | 21 +-
.../ISUBTestCase.java} | 21 +-
.../IXORTestCase.java} | 21 +-
.../java/org/apache/bcel/generic/JavaHome.java | 121 +-
.../bcel/generic/JdkGenericDumpTestCase.java | 8 +-
.../L2DTestCase.java} | 21 +-
.../L2FTestCase.java} | 21 +-
.../L2ITestCase.java} | 21 +-
.../LADDTestCase.java} | 21 +-
.../LANDTestCase.java} | 21 +-
.../LCMPTestCase.java} | 20 +-
.../LDIVTestCase.java} | 23 +-
.../LMULTestCase.java} | 21 +-
.../LNEGTestCase.java} | 21 +-
.../LORTestCase.java} | 21 +-
.../LREMTestCase.java} | 22 +-
.../LSHLTestCase.java} | 21 +-
.../LSHRTestCase.java} | 21 +-
.../LSUBTestCase.java} | 21 +-
.../LXORTestCase.java} | 21 +-
.../java/org/apache/bcel/generic/LargeJump.java | 97 +
.../ObjectTypeTest.java} | 21 +-
.../PUTFIELDTestCase.java} | 40 +-
.../PUTSTATICTestCase.java} | 40 +-
.../org/apache/bcel/util/BCELifierTestCase.java | 163 +-
.../bcel/util/ModularRuntimeImageTestCase.java | 8 +-
.../bcel/verifier/AbstractVerifierTestCase.java | 5 +-
.../bcel/verifier/VerifierArrayAccessTestCase.java | 22 +-
.../bcel/verifier/VerifierReturnTestCase.java | 28 +-
.../org/apache/bcel/verifier/VerifierTestCase.java | 102 +-
.../bcel/verifier/VerifyBadClassesTestCase.java | 3 +-
.../bcel/verifier/VerifyJavaHomesTestCase.java | 62 +
...91TestCase.java => VerifyJavaMathTestCase.java} | 18 +-
...91TestCase.java => VerifyJavaUtilTestCase.java} | 19 +-
.../verifier/tests/TestArrayAccess02Creator.java | 38 +-
.../verifier/tests/TestArrayAccess03Creator.java | 34 +-
.../verifier/tests/TestArrayAccess04Creator.java | 44 +-
...01.java => TestArrayAccess04DoubleCreator.java} | 11 +-
...e01.java => TestArrayAccess04FloatCreator.java} | 11 +-
...ace01.java => TestArrayAccess04IntCreator.java} | 11 +-
...ce01.java => TestArrayAccess04LongCreator.java} | 11 +-
...e01.java => TestArrayAccess04ShortCreator.java} | 11 +-
...1.java => TestArrayAccess04UnknownCreator.java} | 11 +-
.../apache/bcel/verifier/tests/TestCreator.java | 7 +-
.../bcel/verifier/tests/TestReturn01Creator.java | 28 +-
...face01.java => TestReturn03BooleanCreator.java} | 11 +-
...terface01.java => TestReturn03ByteCreator.java} | 11 +-
.../bcel/verifier/tests/TestReturn03Creator.java | 34 +-
...rface01.java => TestReturn03DoubleCreator.java} | 11 +-
...erface01.java => TestReturn03FloatCreator.java} | 11 +-
...nterface01.java => TestReturn03IntCreator.java} | 11 +-
...terface01.java => TestReturn03LongCreator.java} | 11 +-
...rface01.java => TestReturn03ObjectCreator.java} | 11 +-
...erface01.java => TestReturn03ShortCreator.java} | 11 +-
...face01.java => TestReturn03UnknownCreator.java} | 11 +-
.../{CounterVisitor.java => CountingVisitor.java} | 2 +-
src/test/resources/Java4Example.class | Bin 0 -> 1738 bytes
src/test/resources/Java4Example.java | 70 +
src/test/resources/Java8Example.java | 2 +-
src/test/resources/Java8Example2.class | Bin 0 -> 4061 bytes
src/test/resources/Java8Example2.java | 89 +
src/test/resources/ossfuzz/issue51980/Test.class | Bin 0 -> 54 bytes
src/test/resources/ossfuzz/issue51989/Test.class | Bin 0 -> 88 bytes
src/test/resources/ossfuzz/issue52168/Test.class | Bin 0 -> 61 bytes
src/test/resources/ossfuzz/issue53543/Test.class | Bin 0 -> 57 bytes
src/test/resources/ossfuzz/issue53544a/Test.class | Bin 0 -> 49 bytes
src/test/resources/ossfuzz/issue53620/Test.class | Bin 0 -> 227530 bytes
286 files changed, 8475 insertions(+), 2490 deletions(-)
copy .github/{dependabot.yml => GH-ROBOTS.txt} (76%)
create mode 100644 src/main/java/org/apache/bcel/util/Args.java
create mode 100644 src/test/java/org/apache/bcel/HelloWorldCreator.java
create mode 100644 src/test/java/org/apache/bcel/OssFuzzTestCase.java
create mode 100644 src/test/java/org/apache/bcel/generic/ArrayTypeTest.java
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/BREAKPOINTTestCase.java} (64%)
create mode 100644 src/test/java/org/apache/bcel/generic/BasicTypeTest.java
create mode 100644 src/test/java/org/apache/bcel/generic/BinaryOpCreator.java
create mode 100644 src/test/java/org/apache/bcel/generic/CountingVisitor.java
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/D2FTestCase.java} (59%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/D2ITestCase.java} (59%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/D2LTestCase.java} (59%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/DADDTestCase.java} (59%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/DDIVTestCase.java} (59%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/DMULTestCase.java} (59%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/DNEGTestCase.java} (59%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/DREMTestCase.java} (59%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/DSUBTestCase.java} (59%)
create mode 100644 src/test/java/org/apache/bcel/generic/EmptyVisitorTestCase.java
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/F2DTestCase.java} (59%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/F2ITestCase.java} (59%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/F2LTestCase.java} (59%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/FADDTestCase.java} (59%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/FDIVTestCase.java} (59%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/FMULTestCase.java} (59%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/FNEGTestCase.java} (59%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/FREMTestCase.java} (59%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/FSUBTestCase.java} (59%)
copy src/test/java/org/apache/bcel/{verifier/VerifierTestCase.java => generic/GETFIELDTestCase.java} (53%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/I2BTestCase.java} (59%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/I2CTestCase.java} (59%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/I2DTestCase.java} (59%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/I2FTestCase.java} (59%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/I2LTestCase.java} (59%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/I2STestCase.java} (59%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/IADDTestCase.java} (59%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/IANDTestCase.java} (59%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/IDIVTestCase.java} (57%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/IMPDEP1TestCase.java} (65%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/IMPDEP2TestCase.java} (65%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/IMULTestCase.java} (59%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/INEGTestCase.java} (59%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/IORTestCase.java} (59%)
copy src/test/java/org/apache/bcel/generic/{TypeTestCase.java => IREMTestCase.java} (60%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/ISHLTestCase.java} (59%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/ISHRTestCase.java} (59%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/ISUBTestCase.java} (59%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/IXORTestCase.java} (59%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/L2DTestCase.java} (59%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/L2FTestCase.java} (59%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/L2ITestCase.java} (59%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/LADDTestCase.java} (59%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/LANDTestCase.java} (59%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/LCMPTestCase.java} (61%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/LDIVTestCase.java} (57%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/LMULTestCase.java} (59%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/LNEGTestCase.java} (59%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/LORTestCase.java} (59%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/LREMTestCase.java} (57%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/LSHLTestCase.java} (59%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/LSHRTestCase.java} (59%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/LSUBTestCase.java} (59%)
copy src/test/java/org/apache/bcel/{verifier/JiraBcel291TestCase.java => generic/LXORTestCase.java} (59%)
create mode 100644 src/test/java/org/apache/bcel/generic/LargeJump.java
copy src/test/java/org/apache/bcel/{classfile/LocalVariableTestCase.java => generic/ObjectTypeTest.java} (69%)
copy src/test/java/org/apache/bcel/{verifier/VerifierTestCase.java => generic/PUTFIELDTestCase.java} (53%)
copy src/test/java/org/apache/bcel/{verifier/VerifierTestCase.java => generic/PUTSTATICTestCase.java} (53%)
create mode 100644 src/test/java/org/apache/bcel/verifier/VerifyJavaHomesTestCase.java
copy src/test/java/org/apache/bcel/verifier/{JiraBcel291TestCase.java => VerifyJavaMathTestCase.java} (67%)
copy src/test/java/org/apache/bcel/verifier/{JiraBcel291TestCase.java => VerifyJavaUtilTestCase.java} (64%)
copy src/test/java/org/apache/bcel/verifier/tests/{TestLegalInvokeInterface01.java => TestArrayAccess04DoubleCreator.java} (80%)
mode change 100755 => 100644
copy src/test/java/org/apache/bcel/verifier/tests/{TestLegalInvokeInterface01.java => TestArrayAccess04FloatCreator.java} (81%)
mode change 100755 => 100644
copy src/test/java/org/apache/bcel/verifier/tests/{TestLegalInvokeInterface01.java => TestArrayAccess04IntCreator.java} (81%)
mode change 100755 => 100644
copy src/test/java/org/apache/bcel/verifier/tests/{TestLegalInvokeInterface01.java => TestArrayAccess04LongCreator.java} (81%)
mode change 100755 => 100644
copy src/test/java/org/apache/bcel/verifier/tests/{TestLegalInvokeInterface01.java => TestArrayAccess04ShortCreator.java} (81%)
mode change 100755 => 100644
copy src/test/java/org/apache/bcel/verifier/tests/{TestLegalInvokeInterface01.java => TestArrayAccess04UnknownCreator.java} (81%)
mode change 100755 => 100644
copy src/test/java/org/apache/bcel/verifier/tests/{TestLegalInvokeInterface01.java => TestReturn03BooleanCreator.java} (81%)
mode change 100755 => 100644
copy src/test/java/org/apache/bcel/verifier/tests/{TestLegalInvokeInterface01.java => TestReturn03ByteCreator.java} (82%)
mode change 100755 => 100644
copy src/test/java/org/apache/bcel/verifier/tests/{TestLegalInvokeInterface01.java => TestReturn03DoubleCreator.java} (82%)
mode change 100755 => 100644
copy src/test/java/org/apache/bcel/verifier/tests/{TestLegalInvokeInterface01.java => TestReturn03FloatCreator.java} (82%)
mode change 100755 => 100644
copy src/test/java/org/apache/bcel/verifier/tests/{TestLegalInvokeInterface01.java => TestReturn03IntCreator.java} (83%)
mode change 100755 => 100644
copy src/test/java/org/apache/bcel/verifier/tests/{TestLegalInvokeInterface01.java => TestReturn03LongCreator.java} (82%)
mode change 100755 => 100644
copy src/test/java/org/apache/bcel/verifier/tests/{TestLegalInvokeInterface01.java => TestReturn03ObjectCreator.java} (82%)
mode change 100755 => 100644
copy src/test/java/org/apache/bcel/verifier/tests/{TestLegalInvokeInterface01.java => TestReturn03ShortCreator.java} (82%)
mode change 100755 => 100644
copy src/test/java/org/apache/bcel/verifier/tests/{TestLegalInvokeInterface01.java => TestReturn03UnknownCreator.java} (82%)
mode change 100755 => 100644
rename src/test/java/org/apache/bcel/visitors/{CounterVisitor.java => CountingVisitor.java} (99%)
create mode 100644 src/test/resources/Java4Example.class
create mode 100644 src/test/resources/Java4Example.java
create mode 100644 src/test/resources/Java8Example2.class
create mode 100644 src/test/resources/Java8Example2.java
create mode 100644 src/test/resources/ossfuzz/issue51980/Test.class
create mode 100644 src/test/resources/ossfuzz/issue51989/Test.class
create mode 100644 src/test/resources/ossfuzz/issue52168/Test.class
create mode 100644 src/test/resources/ossfuzz/issue53543/Test.class
create mode 100644 src/test/resources/ossfuzz/issue53544a/Test.class
create mode 100644 src/test/resources/ossfuzz/issue53620/Test.class
[commons-bcel] 04/04: Prepate for next RC
Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch release
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git
commit b015e90257850e810e57d1244664300f50de4a4c
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Nov 28 11:09:47 2022 -0500
Prepate for next RC
---
src/changes/changes.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 8c574fbf..b99053cc 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -62,7 +62,7 @@ The <action> type attribute can be add,update,fix,remove.
-->
<body>
- <release version="6.7.0" date="20YY-MM-DD" description="Maintenance and bug fix release.">
+ <release version="6.7.0" date="2022-11-28" description="Maintenance and bug fix release.">
<!-- ADD -->
<action type="add" dev="ggregory" due-to="Gary Gregory">Add org.apache.bcel.classfile.ClassFormatException.ClassFormatException(Throwable).</action>
<action type="add" dev="ggregory" due-to="Gary Gregory">Add org.apache.bcel.classfile.JavaClass.EXTENSION.</action>
[commons-bcel] 02/04: Bump japicmp from 0.16.0 to 0.17.1
Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch release
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git
commit 5582fa16bda62081729b98868d63c35ce3a3df9f
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Nov 28 11:07:16 2022 -0500
Bump japicmp from 0.16.0 to 0.17.1
---
pom.xml | 2 +-
src/changes/changes.xml | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index e9a7ffcc..b9efd1cd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -67,7 +67,7 @@
<commons.surefire.version>3.0.0-M7</commons.surefire.version>
<checkstyle.plugin.version>3.2.0</checkstyle.plugin.version>
<jna.version>5.12.1</jna.version>
- <commons.japicmp.version>0.16.0</commons.japicmp.version>
+ <commons.japicmp.version>0.17.1</commons.japicmp.version>
<japicmp.skip>false</japicmp.skip>
<commons.jacoco.version>0.8.8</commons.jacoco.version>
<commons.javadoc.version>3.4.1</commons.javadoc.version>
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 7c4c9eec..8c574fbf 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -119,6 +119,7 @@ The <action> type attribute can be add,update,fix,remove.
<action type="update" dev="ggregory" due-to="Gary Gregory">Bump spotbugs-maven-plugin from 4.7.2.2 to 4.7.3.0 #167.</action>
<action type="update" dev="ggregory" due-to="Dependabot">Bump jmh.version from 1.35 to 1.36 #170.</action>
<action type="update" dev="ggregory" due-to="Gary Gregory">Bump pmd from 6.51.0 to 6.52.0.</action>
+ <action type="update" dev="ggregory" due-to="Gary Gregory">Bump japicmp from 0.16.0 to 0.17.1.</action>
</release>
<release version="6.6.1" date="2022-10-29" description="Maintenance and bug fix release.">
<!-- FIX -->
[commons-bcel] 01/04: Reset RC count
Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch release
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git
commit 21aef486af049ca5f4f820a4de7c170a89b6e4c6
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Nov 28 11:05:02 2022 -0500
Reset RC count
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 9787f443..e9a7ffcc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -49,7 +49,7 @@
<commons.module.name>org.apache.bcel</commons.module.name>
<commons.release.version>6.7.0</commons.release.version>
<commons.release.isDistModule>true</commons.release.isDistModule>
- <commons.rc.version>RC2</commons.rc.version>
+ <commons.rc.version>RC1</commons.rc.version>
<commons.bc.version>6.6.1</commons.bc.version>
<commons.release.desc>(Java 8)</commons.release.desc>
<commons.scmPubUrl>https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-bcel</commons.scmPubUrl>
[commons-bcel] 03/04: Prepate for next RC
Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch release
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git
commit 7507da900b4a11b14f0e564b59270dee5a2f78d3
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Nov 28 11:09:21 2022 -0500
Prepate for next RC
---
README.md | 6 +--
RELEASE-NOTES.txt | 115 +++++++++++++++++++++++++++++++++++++++-
src/site/xdoc/download_bcel.xml | 26 ++++-----
3 files changed, 130 insertions(+), 17 deletions(-)
diff --git a/README.md b/README.md
index 0eba16d1..cb7a0367 100644
--- a/README.md
+++ b/README.md
@@ -44,9 +44,9 @@ Apache Commons BCEL
===================
[![GitHub Actions Status](https://github.com/apache/commons-bcel/workflows/Java%20CI/badge.svg)](https://github.com/apache/commons-bcel/actions)
-[![Coverage Status](https://codecov.io/gh/apache/commons-bcel/branch/master/graph/badge.svg)](https://app.codecov.io/gh/apache/commons-bcel/tree/master)
+[![Coverage Status](https://codecov.io/gh/apache/commons-bcel/branch/master/graph/badge.svg)](https://app.codecov.io/gh/apache/commons-bcel)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.apache.bcel/bcel/badge.svg?gav=true)](https://maven-badges.herokuapp.com/maven-central/org.apache.bcel/bcel/?gav=true)
-[![Javadocs](https://javadoc.io/badge/org.apache.bcel/bcel/6.6.1.svg)](https://javadoc.io/doc/org.apache.bcel/bcel/6.6.1)
+[![Javadocs](https://javadoc.io/badge/org.apache.bcel/bcel/6.7.0.svg)](https://javadoc.io/doc/org.apache.bcel/bcel/6.7.0)
[![CodeQL](https://github.com/apache/commons-bcel/workflows/CodeQL/badge.svg)](hhttps://github.com/apache/commons-bcel/actions/workflows/codeql-analysis.yml?query=workflow%3ACodeQL)
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/apache/commons-text/badge)](https://api.securityscorecards.dev/projects/github.com/apache/commons-text)
@@ -69,7 +69,7 @@ Alternatively you can pull it from the central Maven repositories:
<dependency>
<groupId>org.apache.bcel</groupId>
<artifactId>bcel</artifactId>
- <version>6.6.1</version>
+ <version>6.7.0</version>
</dependency>
```
diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt
index 4cee9104..b99db0b2 100644
--- a/RELEASE-NOTES.txt
+++ b/RELEASE-NOTES.txt
@@ -1,3 +1,116 @@
+ Apache Commons BCEL
+ Version 6.7.0
+ RELEASE NOTES
+
+
+INTRODUCTION:
+
+The Apache Commons BCEL team is pleased to announce the release of
+Apache Commons BCEL 6.7.0!
+
+The Byte Code Engineering Library (BCEL) is intended to give users a convenient
+way to analyze, create, and manipulate compiled .class files. Classes are
+represented by objects containing all the symbolic information of the given
+class: methods, fields and byte code instructions.
+
+Maintenance and bug fix release.
+
+NEW FEATURES:
+=============
+
+o Add org.apache.bcel.classfile.ClassFormatException.ClassFormatException(Throwable). Thanks to Gary Gregory.
+o Add org.apache.bcel.classfile.JavaClass.EXTENSION. Thanks to Gary Gregory.
+o Add org.apache.bcel.classfile.Module.EXTENSION. Thanks to Gary Gregory.
+o Add org.apache.bcel.util.Args. Thanks to Gary Gregory.
+o Add org.apache.bcel.generic.ArrayType.getClassName(). Thanks to Gary Gregory.
+o Add org.apache.bcel.generic.Type.getClassName(). Thanks to Gary Gregory.
+o Add org.apache.bcel.classfile.Utility.packageToPath(String). Thanks to Gary Gregory.
+o org.apache.bcel.classfile.MethodParameter now implements org.apache.bcel.classfile.Node. Thanks to Gary Gregory, Mark Roberts.
+o Add org.apache.bcel.classfile.JavaClass.getSourceFilePath(). Thanks to nbauma109, Gary Gregory.
+o Add org.apache.bcel.generic.PUSH.PUSH(ConstantPoolGen, ArrayType). Thanks to nbauma109, Gary Gregory.
+
+FIXED BUGS:
+===========
+
+o Avoid internal NPE in org.apache.bcel.util.ClassPath.getInputStream(String, String). Thanks to Gary Gregory.
+o InstructionConstants.ALOAD_0 value is wrong (regression from 6.6.0). Thanks to Gary Gregory.
+o InstructionConstants.DCONST_0 value is wrong (regression from 6.6.0). Thanks to Gary Gregory.
+o org.apache.bcel.classfile.Attribute constructors now throw ClassFormatException on invalid name index input. Thanks to Gary Gregory.
+o org.apache.bcel.classfile.CodeException constructors now throw ClassFormatException on invalid input. Thanks to Gary Gregory.
+o org.apache.bcel.classfile.ConstantInvokeDynamic.ConstantInvokeDynamic(DataInput). Thanks to Gary Gregory.
+o org.apache.bcel.classfile.ConstantValue constructors now throw ClassFormatException on invalid length input. Thanks to Gary Gregory.
+o org.apache.bcel.classfile.Deprecated constructors now throw ClassFormatException on invalid length input. Thanks to Gary Gregory.
+o org.apache.bcel.classfile.EnclosingMethod constructors now throw ClassFormatException on invalid length, class index, or method index input. Thanks to Gary Gregory.
+o org.apache.bcel.classfile.ExceptionTable constructors now throw ClassFormatException on invalid input. Thanks to Gary Gregory.
+o org.apache.bcel.classfile.InnerClasses constructors now throw ClassFormatException on invalid input. Thanks to Gary Gregory.
+o org.apache.bcel.classfile.LineNumber constructors now throw ClassFormatException on invalid input. Thanks to Gary Gregory.
+o org.apache.bcel.classfile.LocalVariable constructors now throw ClassFormatException on invalid input. Thanks to Gary Gregory.
+o org.apache.bcel.classfile.LocalVariableTable constructors now throw ClassFormatException on invalid input. Thanks to Gary Gregory.
+o org.apache.bcel.classfile.LocalVariableTypeTable constructors now throw ClassFormatException on invalid input. Thanks to Gary Gregory.
+o org.apache.bcel.classfile.ModuleMainClass constructors now throw ClassFormatException on invalid input. Thanks to Gary Gregory.
+o org.apache.bcel.classfile.ModulePackages constructors now throw ClassFormatException on invalid input. Thanks to Gary Gregory.
+o org.apache.bcel.classfile.NestHost constructors now throw ClassFormatException on invalid input. Thanks to Gary Gregory.
+o org.apache.bcel.classfile.NestMembers constructors now throw ClassFormatException on invalid input. Thanks to Gary Gregory.
+o org.apache.bcel.classfile.Signature constructors now throw ClassFormatException on invalid input. Thanks to Gary Gregory.
+o org.apache.bcel.classfile.SourceFile constructors now throw ClassFormatException on invalid input. Thanks to Gary Gregory.
+o org.apache.bcel.classfile.StackMap constructors now throw ClassFormatException on invalid input. Thanks to Gary Gregory.
+o org.apache.bcel.classfile.StackMapEntry.StackMapEntry(DataInput, ConstantPool) reads signed instead of unsigned shorts from its DataInput. Thanks to Gary Gregory.
+o org.apache.bcel.classfile.StackMapType.StackMapType(DataInput, ConstantPool) reads signed instead of unsigned shorts from its DataInput. Thanks to Gary Gregory.
+o org.apache.bcel.classfile.Synthetic constructors now throw ClassFormatException on invalid length input. Thanks to Gary Gregory.
+o org.apache.bcel.util.ClassPath hashCode() and equals() don't match. Thanks to Gary Gregory.
+o Fix code duplication in org.apache.bcel.verifier.structurals.ExceptionHandlers.ExceptionHandlers(MethodGen). Thanks to Mark Roberts, Gary Gregory.
+o Improve test coverage to bcel/generic and UtilityTest #162. Thanks to Sam Ng, Gary Gregory.
+o Code coverage and bug fixes for bcelifier #171. Thanks to nbauma109, Gary Gregory.
+o Code coverage and unit tests on the verifier #166. Thanks to nbauma109, Gary Gregory.
+o Typo in SimpleElementValue error message #161. Thanks to nbauma109, Gary Gregory.
+o org.apache.bcel.classfile.Attribute constructors now throw ClassFormatException on invalid length input. Thanks to Mark Thomas, Gary Gregory.
+o References to constant pool entries that are not of the expected type should throw ClassFormatException, not ClassCastException. Thanks to OSS-Fuzz.
+o When parsing an invalid class, ensure ClassParser.parse() throws ClassFormatException, not IllegalArgumentException. Thanks to OSS-Fuzz.
+o org.apache.bcel.classfile.Code constructors now throw ClassFormatException on invalid input. Thanks to OSS-Fuzz.
+o org.apache.bcel.classfile.StackMapType constructors now throw ClassFormatException on invalid input. Thanks to OSS-Fuzz.
+o When parsing class files, limit arrays to no more than 255 dimensions as per section 4.4.1 of the JVM specification. Thanks to OSS-Fuzz.
+o Tests and coverage for Utility class #175. Thanks to nbauma109.
+o Unit tests and coverage for binary operations #174. Thanks to nbauma109.
+o Fix possible NullPointerException in org.apache.bcel.classfile.StackMap.setStackMap(StackMapEntry[]). Thanks to Gary Gregory.
+
+CHANGES:
+========
+
+o Bump spotbugs-maven-plugin from 4.7.2.2 to 4.7.3.0 #167. Thanks to Gary Gregory.
+o Bump jmh.version from 1.35 to 1.36 #170. Thanks to Dependabot.
+o Bump pmd from 6.51.0 to 6.52.0. Thanks to Gary Gregory.
+o Bump japicmp from 0.16.0 to 0.17.1. Thanks to Gary Gregory.
+
+
+Historical list of changes: https://commons.apache.org/proper/commons-bcelchanges-report.html
+
+For complete information on Apache Commons BCEL, including instructions on how to submit bug reports,
+patches, or suggestions for improvement, see the Apache Apache Commons BCEL website:
+
+https://commons.apache.org/proper/commons-bcel
+
+Download it from https://commons.apache.org/proper/commons-bcel/download_bcel.cgi
+
+Have fun!
+-Apache Commons BCEL team
+
+Feedback
+--------
+
+Open source works best when you give feedback:
+
+ https://commons.apache.org/bcel
+
+Please direct all bug reports to JIRA:
+
+ https://issues.apache.org/jira/browse/BCEL
+
+Or subscribe to the commons-user mailing list
+
+The Apache Commons Team
+
+-----------------------------------------------------------------------------
+
Apache Commons BCEL
Version 6.6.1
RELEASE NOTES
@@ -6,7 +119,7 @@
INTRODUCTION:
The Apache Commons BCEL team is pleased to announce the release of
-Apache Commons BCEL 6.6.1-SNAPSHOT!
+Apache Commons BCEL 6.6.1!
The Byte Code Engineering Library (BCEL) is intended to give users a convenient
way to analyze, create, and manipulate compiled .class files. Classes are
diff --git a/src/site/xdoc/download_bcel.xml b/src/site/xdoc/download_bcel.xml
index 8d2c1e7d..9f49384f 100644
--- a/src/site/xdoc/download_bcel.xml
+++ b/src/site/xdoc/download_bcel.xml
@@ -113,32 +113,32 @@ limitations under the License.
</p>
</subsection>
</section>
- <section name="Apache Commons BCEL 6.6.1 (Java 8)">
+ <section name="Apache Commons BCEL 6.7.0 (Java 8)">
<subsection name="Binaries">
<table>
<tr>
- <td><a href="[preferred]/commons/bcel/binaries/bcel-6.6.1-bin.tar.gz">bcel-6.6.1-bin.tar.gz</a></td>
- <td><a href="https://downloads.apache.org/commons/bcel/binaries/bcel-6.6.1-bin.tar.gz.sha512">sha512</a></td>
- <td><a href="https://downloads.apache.org/commons/bcel/binaries/bcel-6.6.1-bin.tar.gz.asc">pgp</a></td>
+ <td><a href="[preferred]/commons/bcel/binaries/bcel-6.7.0-bin.tar.gz">bcel-6.7.0-bin.tar.gz</a></td>
+ <td><a href="https://downloads.apache.org/commons/bcel/binaries/bcel-6.7.0-bin.tar.gz.sha512">sha512</a></td>
+ <td><a href="https://downloads.apache.org/commons/bcel/binaries/bcel-6.7.0-bin.tar.gz.asc">pgp</a></td>
</tr>
<tr>
- <td><a href="[preferred]/commons/bcel/binaries/bcel-6.6.1-bin.zip">bcel-6.6.1-bin.zip</a></td>
- <td><a href="https://downloads.apache.org/commons/bcel/binaries/bcel-6.6.1-bin.zip.sha512">sha512</a></td>
- <td><a href="https://downloads.apache.org/commons/bcel/binaries/bcel-6.6.1-bin.zip.asc">pgp</a></td>
+ <td><a href="[preferred]/commons/bcel/binaries/bcel-6.7.0-bin.zip">bcel-6.7.0-bin.zip</a></td>
+ <td><a href="https://downloads.apache.org/commons/bcel/binaries/bcel-6.7.0-bin.zip.sha512">sha512</a></td>
+ <td><a href="https://downloads.apache.org/commons/bcel/binaries/bcel-6.7.0-bin.zip.asc">pgp</a></td>
</tr>
</table>
</subsection>
<subsection name="Source">
<table>
<tr>
- <td><a href="[preferred]/commons/bcel/source/bcel-6.6.1-src.tar.gz">bcel-6.6.1-src.tar.gz</a></td>
- <td><a href="https://downloads.apache.org/commons/bcel/source/bcel-6.6.1-src.tar.gz.sha512">sha512</a></td>
- <td><a href="https://downloads.apache.org/commons/bcel/source/bcel-6.6.1-src.tar.gz.asc">pgp</a></td>
+ <td><a href="[preferred]/commons/bcel/source/bcel-6.7.0-src.tar.gz">bcel-6.7.0-src.tar.gz</a></td>
+ <td><a href="https://downloads.apache.org/commons/bcel/source/bcel-6.7.0-src.tar.gz.sha512">sha512</a></td>
+ <td><a href="https://downloads.apache.org/commons/bcel/source/bcel-6.7.0-src.tar.gz.asc">pgp</a></td>
</tr>
<tr>
- <td><a href="[preferred]/commons/bcel/source/bcel-6.6.1-src.zip">bcel-6.6.1-src.zip</a></td>
- <td><a href="https://downloads.apache.org/commons/bcel/source/bcel-6.6.1-src.zip.sha512">sha512</a></td>
- <td><a href="https://downloads.apache.org/commons/bcel/source/bcel-6.6.1-src.zip.asc">pgp</a></td>
+ <td><a href="[preferred]/commons/bcel/source/bcel-6.7.0-src.zip">bcel-6.7.0-src.zip</a></td>
+ <td><a href="https://downloads.apache.org/commons/bcel/source/bcel-6.7.0-src.zip.sha512">sha512</a></td>
+ <td><a href="https://downloads.apache.org/commons/bcel/source/bcel-6.7.0-src.zip.asc">pgp</a></td>
</tr>
</table>
</subsection>