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 559b8804 Bump to next development version
add ee9a2584 Bump codecov/codecov-action from 4.0.1 to 4.0.2 (#277)
add 3d9d563a Bump github/codeql-action from 3.24.3 to 3.24.5 (#276)
add 2927c7d2 Merge branch 'release'
add 57ae2108 Add section for the next release
add 0eeb4314 Update RELEASE-NOTES.txt
add b10aee45 Update release-notes.vm
add 18c39f0e Bump actions/setup-java from 4.0.0 to 4.1.0 (#279)
add 7aa00268 Bump codecov/codecov-action from 4.0.2 to 4.1.0 (#282)
add acbbd016 Bump github/codeql-action from 3.24.5 to 3.24.6 (#281)
add a8ec2341 Bump actions/cache from 4.0.0 to 4.0.1 (#280)
add b310fcc2 Use final
add 4e3c7842 Bump org.apache.commons:commons-parent from 66 to 67 (#283)
add 5d2ddc41 Bump org.apache.commons:commons-parent from 66 to 67 #283
add e84df96c Bump org.jetbrains.kotlin:kotlin-stdlib from 1.9.22 to 1.9.23
(#284)
add f5718749 Bump org.jetbrains.kotlin:kotlin-stdlib from 1.9.22 to 1.9.23
#284
add 37411f3b Bump github/codeql-action from 3.24.6 to 3.24.7 (#286)
add 77f1ff9d Bump actions/setup-java from 4.1.0 to 4.2.1 (#287)
add 9c026fe9 Bump actions/checkout from 4.1.1 to 4.1.2 (#285)
add c152e932 Checkstyle: Don't allow trailing whitespace
add f731ed11 Checkstyle test fixes
add 7adeae96 Checkstyle test fixes
add 6fc28851 Use Java 5's String#contains()
add 96fe4f95 Use better JUnit API
add 0f1ffca7 Bump github/codeql-action from 3.24.7 to 3.24.9 (#291)
add 202be39e Bump actions/cache from 4.0.1 to 4.0.2 (#292)
add 9e4e369e Merge branch 'master' of
https://gitbox.apache.org/repos/asf/commons-bcel.git
add 4ae577cd Merge branch 'master' of
https://gitbox.apache.org/repos/asf/commons-bcel.git
add 13e7e0fb Bump commons-io:commons-io from 2.15.1 to 2.16.0 (#295)
add 35c80a0c Bump commons-io:commons-io from 2.15.1 to 2.16.0 #295
add 8925b2e3 Don't disable doclint
add f75f5f98 Bump codecov/codecov-action from 4.1.0 to 4.1.1 (#296)
add b966237e Merge branch 'master' of
https://gitbox.apache.org/repos/asf/commons-bcel.git
add 1cf711d8 Format tweaks
add 67ba0d82 Better parameter name
add 4cd16379 Reuse ArrayUtils.nullToEmpty()
add 34d0a3dd Normalize package private name
add bf5e78d7 Reuse public constant
add 8ada59f1 Normalize package private name
add 80cc3675 Reuse public constant
add dfa1e7e7 Normalize package private name
add d27cc6ff Avoid possible NullPointerException in
org.apache.bcel.classfile.DescendingVisitor.accept(E[])
add 18690ded Avoid possible NullPointerException in
AnnotationEntryGen.getAnnotationAttributes(ConstantPoolGen,
AnnotationEntryGen[])
add e82c816d Avoid possible NullPointerException in
AnnotationEntryGen.copyValues(ElementValuePair[], ConstantPoolGen, boolean)
add ff013eb2 Better local names
add 2cbfe92a Avoid possible NullPointerException in
ArrayElementValueGen.ArrayElementValueGen(int, ElementValue[], ConstantPoolGen)
add 3ba8aa0c Avoid possible NullPointerException in
org.apache.bcel.generic.ClassGen.setMethods(Method[])
add 35cc0cc3 Javadoc
add 7baa87ac Javadoc
add 52358332 Better local name
add 490800ac Javadoc
add a7016253 Avoid possible NullPointerException in
org.apache.bcel.generic.ClassGen.unpackAnnotations(Attribute[])
add 1e4e630f Avoid possible NullPointerException in
org.apache.bcel.classfile.ParameterAnnotationEntry.createParameterAnnotationEntries(Attribute[])
add c7082c09 Avoid possible NullPointerException in
org.apache.bcel.generic.ClassGen.ClassGen(JavaClass)
add f4208899 Avoid possible NullPointerException in
org.apache.bcel.generic.FieldGenOrMethodGen.addAll(Attribute[])
add e8357416 Remove trainling whitespace
add d8b437b9 Avoid possible NullPointerException in
org.apache.bcel.classfile.ParameterAnnotationEntry.createParameterAnnotationEntries(Attribute[])
add 97e4ac7c Remove whitespace
add 45af9777 Remove whitespace
add 69e745d6 Avoid NullPointerException after calling
org.apache.bcel.classfile.MethodParameters.setParameters(MethodParameter[])
with null
add 80e86264 Avoid NullPointerException after calling
org.apache.bcel.classfile.ParameterAnnotations.setParameterAnnotationTable(ParameterAnnotationEntry[])
with null
add d6fa48b6 Remove whitespace
add 46eb2938 Avoid NullPointerException after calling
org.apache.bcel.classfile.LocalVariableTypeTable.setLocalVariableTable(LocalVariable[])
with null
add a35914a3 Avoid NullPointerException after calling
org.apache.bcel.classfile.LocalVariableTable.setLocalVariableTable(LocalVariable[])
with null
add 81e11ac5 Remove whitespace
add 6c0452a8 Avoid NullPointerException after calling
org.apache.bcel.classfile.LineNumberTable.setLineNumberTable(LineNumber[])
add ac67474e Avoid NullPointerException after calling
org.apache.bcel.classfile.LineNumberTable.setLineNumberTable(LineNumber[])
add 92b4730d Avoid NullPointerException after calling
org.apache.bcel.classfile.JavaClass.setMethods(Method[])
add fb6ef54b Avoid NullPointerException after calling
org.apache.bcel.classfile.JavaClass.setInterfaces(int[])
add 7b44a1d8 Avoid NullPointerException after calling
org.apache.bcel.classfile.JavaClass.setInterfaceNames(String[])
add f21a3121 Avoid NullPointerException after calling
org.apache.bcel.classfile.JavaClass.setFields(Field[])
add 0e1b4721 Avoid NullPointerException after calling
org.apache.bcel.classfile.JavaClass.setAttributes(Attribute[])
add 3a743f9a Avoid NullPointerException after calling
org.apache.bcel.classfile.ConstantPool.setConstantPool(Constant[])
add 82bd20aa Avoid NullPointerException after calling
org.apache.bcel.classfile.FieldOrMethod.setAttributes(Attribute[])
add 9c177107 Better local name
add 2586ee0b Avoid NullPointerException after calling
org.apache.bcel.classfile.Annotations.setAnnotationTable(AnnotationEntry[])
add b467e8d9 Avoid NullPointerException after
callingorg.apache.bcel.classfile.ArrayElementValue.ArrayElementValue(int,
ElementValue[], ConstantPool) with null
add 5b975983 Avoid NullPointerException after calling
org.apache.bcel.classfile.BootstrapMethod.BootstrapMethod(int, int[]) with null
add dc9b61b3 Avoid NullPointerException after calling
org.apache.bcel.classfile.BootstrapMethods.BootstrapMethods(int, int,
BootstrapMethod[], ConstantPool) with null
add e40de455 Add null guard for InstructionFactor.createInvoke (#289)
add 67048c28 Merge branch 'master' of
https://gitbox.apache.org/repos/asf/commons-bcel.git
add fb85ced5 Add null guard for InstructionFactory.createInvoke() #289
add 511a7787 Avoid NullPointerException calling
org.apache.bcel.generic.InstructionList.redirectLocalVariables(LocalVariableGen[],
InstructionHandle, InstructionHandle) with null
add 95552fea Avoid NullPointerException calling
org.apache.bcel.generic.InstructionList.redirectExceptionHandlers(CodeExceptionGen[],
InstructionHandle, InstructionHandle) with null
add ca1add6d Avoid NullPointerException calling
org.apache.bcel.generic.InstructionList.findHandle(InstructionHandle[], int[],
int, int) with null
add 87eac0ab Fix typo in comment
add 0aebd69e Avoid NullPointerException calling
org.apache.bcel.generic.MethodGen.setArgumentTypes(Type[]) with null
add c032ef5d Avoid NullPointerException calling
org.apache.bcel.generic.MethodGen.setArgumentNames(String[]) with null
add 0e4e0d69 Avoid NullPointerException calling
org.apache.bcel.generic.MethodGen.removeRuntimeAttributes(Attribute[]) with null
add 1dbef18b Avoid NullPointerException calling
org.apache.bcel.generic.MethodGen.makeMutableVersion(AnnotationEntry[]) with
null
add 2308a513 Bump org.apache.commons:commons-parent from 67 to 69 (#297)
add 2a91c5d9 Bump org.apache.commons:commons-parent from 67 to 69 #297
add 31227a30 Reuse ArrayFill
add 10c4fed2 Reuse ArrayFill
add abeaef0a Remove unused import
add 97f2bec8 Support for Java 16 Record feature (#290)
add a5cb8b1a Add Support for Java 16 records #290
add 0aadc311 The next release will be 6.9.0
add d8968470 Bump codecov/codecov-action from 4.1.1 to 4.2.0 (#298)
add 399d543b Bump github/codeql-action from 3.24.9 to 3.24.10 (#299)
add 1fe6337b Bump commons-io:commons-io from 2.16.0 to 2.16.1 (#300)
add 19c959a5 Bump commons-io:commons-io from 2.16.0 to 2.16.1 #300
add 93cf485a Bump codecov/codecov-action from 4.2.0 to 4.3.0 (#301)
add 86194e26 Bump actions/upload-artifact from 4.3.1 to 4.3.2 (#304)
add 7d1c4c70 Bump github/codeql-action from 3.24.10 to 3.25.1 (#303)
add d18eae68 Bump actions/checkout from 4.1.2 to 4.1.3 (#302)
add 8083fb59 Sort members
add f670f111 Set the (low) bar for JaCoCo checks
add 7ae57452 Use final
add 7579d292 Prepare for the next release candidate
No new revisions were added by this update.
Summary of changes:
.github/workflows/codeql-analysis.yml | 10 +-
.github/workflows/coverage.yml | 8 +-
.github/workflows/maven.yml | 8 +-
.github/workflows/scorecards-analysis.yml | 6 +-
README.md | 4 +-
RELEASE-NOTES.txt | 91 +-
docs/eps/classloader.fig | 94 +-
docs/verifier/V_API_SD.eps | 4682 ++++++++++----------
pom.xml | 1219 ++---
src/changes/changes.xml | 45 +
src/changes/release-notes.vm | 2 +-
src/conf/checkstyle-suppressions.xml | 5 +-
src/conf/checkstyle.xml | 8 +-
src/examples/ListClass.java | 10 +-
src/main/java/org/apache/bcel/Const.java | 5 +-
.../org/apache/bcel/classfile/AnnotationEntry.java | 8 +-
.../org/apache/bcel/classfile/Annotations.java | 10 +-
.../apache/bcel/classfile/ArrayElementValue.java | 4 +-
.../java/org/apache/bcel/classfile/Attribute.java | 2 +
.../org/apache/bcel/classfile/BootstrapMethod.java | 7 +-
.../apache/bcel/classfile/BootstrapMethods.java | 4 +-
src/main/java/org/apache/bcel/classfile/Code.java | 8 +-
.../org/apache/bcel/classfile/CodeException.java | 2 +-
.../java/org/apache/bcel/classfile/Constant.java | 2 +
.../org/apache/bcel/classfile/ConstantPool.java | 6 +-
.../apache/bcel/classfile/DescendingVisitor.java | 20 +-
.../org/apache/bcel/classfile/ElementValue.java | 1 +
.../org/apache/bcel/classfile/ExceptionTable.java | 4 +-
src/main/java/org/apache/bcel/classfile/Field.java | 5 -
.../org/apache/bcel/classfile/FieldOrMethod.java | 10 +-
.../org/apache/bcel/classfile/InnerClasses.java | 6 +-
.../java/org/apache/bcel/classfile/JavaClass.java | 44 +-
.../org/apache/bcel/classfile/LineNumberTable.java | 21 +-
.../apache/bcel/classfile/LocalVariableTable.java | 8 +-
.../bcel/classfile/LocalVariableTypeTable.java | 11 +-
.../java/org/apache/bcel/classfile/Method.java | 5 -
.../apache/bcel/classfile/MethodParameters.java | 8 +-
.../org/apache/bcel/classfile/ModulePackages.java | 4 +-
.../org/apache/bcel/classfile/NestMembers.java | 4 +-
.../bcel/classfile/ParameterAnnotationEntry.java | 16 +-
.../bcel/classfile/ParameterAnnotations.java | 8 +-
.../java/org/apache/bcel/classfile/Record.java | 149 +
.../apache/bcel/classfile/RecordComponentInfo.java | 135 +
.../classfile/RuntimeInvisibleAnnotations.java | 8 +-
.../RuntimeInvisibleParameterAnnotations.java | 2 +
.../bcel/classfile/RuntimeVisibleAnnotations.java | 8 +-
.../RuntimeVisibleParameterAnnotations.java | 2 +
.../java/org/apache/bcel/classfile/Utility.java | 4 +-
.../java/org/apache/bcel/classfile/Visitor.java | 23 +
.../apache/bcel/generic/AnnotationEntryGen.java | 11 +-
.../apache/bcel/generic/ArrayElementValueGen.java | 9 +-
.../java/org/apache/bcel/generic/ClassGen.java | 49 +-
.../apache/bcel/generic/FieldGenOrMethodGen.java | 6 +-
.../apache/bcel/generic/InstructionFactory.java | 6 +-
.../org/apache/bcel/generic/InstructionList.java | 51 +-
.../java/org/apache/bcel/generic/MethodGen.java | 24 +-
src/main/java/org/apache/bcel/generic/Select.java | 2 +-
.../verifier/statics/StringRepresentation.java | 13 +
.../apache/bcel/verifier/structurals/Frame.java | 2 +-
.../bcel/verifier/structurals/LocalVariables.java | 6 +-
src/site/xdoc/download_bcel.xml | 26 +-
src/site/xdoc/index.xml | 174 +-
.../org/apache/bcel/CounterVisitorTestCase.java | 5 +
src/test/java/org/apache/bcel/HandleTestCase.java | 296 +-
.../ConstantPoolModuleToStringTestCase.java | 3 +-
.../org/apache/bcel/classfile/RecordTestCase.java | 121 +
.../org/apache/bcel/classfile/UtilityTestCase.java | 46 +-
.../java/org/apache/bcel/data/PLSETestClass2.java | 58 +-
.../apache/bcel/generic/EmptyVisitorTestCase.java | 16 +-
.../bcel/generic/InstructionFactoryTestCase.java | 6 +
.../java/org/apache/bcel/generic/TypeTestCase.java | 3 +-
.../org/apache/bcel/util/ClassPathTestCase.java | 92 +-
.../bcel/util/ModularRuntimeImageTestCase.java | 150 +-
.../apache/bcel/verifier/JiraBcel369TestCase.java | 4 +-
.../org/apache/bcel/verifier/VerifierTestCase.java | 4 +-
.../org/apache/bcel/verifier/tests/JvmOpCodes.java | 3 +-
.../bcel/verifier/tests/TestReturn03Creator.java | 8 +-
.../org/apache/bcel/visitors/CountingVisitor.java | 19 +
src/test/resources/StackMapExample2.java | 24 +-
src/test/resources/record/SimpleRecord.class | Bin 0 -> 1506 bytes
src/test/resources/record/SimpleRecord.java | 5 +
81 files changed, 4351 insertions(+), 3647 deletions(-)
create mode 100644 src/main/java/org/apache/bcel/classfile/Record.java
create mode 100644
src/main/java/org/apache/bcel/classfile/RecordComponentInfo.java
create mode 100644 src/test/java/org/apache/bcel/classfile/RecordTestCase.java
create mode 100644 src/test/resources/record/SimpleRecord.class
create mode 100644 src/test/resources/record/SimpleRecord.java