This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git
The following commit(s) were added to refs/heads/master by this push:
new 055b5863 Add license file headers
055b5863 is described below
commit 055b5863c03dec9d1f75a2035bf348a5825c583f
Author: Gary Gregory <[email protected]>
AuthorDate: Mon Jan 26 15:52:19 2026 -0500
Add license file headers
---
src/examples/Mini/README | 19 +++++++++++++++++++
src/test/resources/Java4Example.java | 19 +++++++++++++++++++
src/test/resources/Java8Example.java | 19 +++++++++++++++++++
src/test/resources/Java8Example2.java | 19 +++++++++++++++++++
src/test/resources/StackMapExample.java | 19 +++++++++++++++++++
src/test/resources/StackMapExample2.java | 19 +++++++++++++++++++
src/test/resources/record/SimpleRecord.java | 19 +++++++++++++++++++
7 files changed, 133 insertions(+)
diff --git a/src/examples/Mini/README b/src/examples/Mini/README
index db1320d1..69f6b3ec 100644
--- a/src/examples/Mini/README
+++ b/src/examples/Mini/README
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
Mini-Mini tutorial
------------------
diff --git a/src/test/resources/Java4Example.java
b/src/test/resources/Java4Example.java
index 3173b26c..27f612dc 100644
--- a/src/test/resources/Java4Example.java
+++ b/src/test/resources/Java4Example.java
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import java.io.IOException;
import java.io.ObjectOutputStream;
import java.io.OutputStream;
diff --git a/src/test/resources/Java8Example.java
b/src/test/resources/Java8Example.java
index 07ba6dfb..48fde8a7 100644
--- a/src/test/resources/Java8Example.java
+++ b/src/test/resources/Java8Example.java
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import java.util.*;
import java.util.stream.*;
diff --git a/src/test/resources/Java8Example2.java
b/src/test/resources/Java8Example2.java
index eacdd8b0..3c4a453d 100644
--- a/src/test/resources/Java8Example2.java
+++ b/src/test/resources/Java8Example2.java
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import java.io.Serializable;
import java.util.*;
import java.util.stream.*;
diff --git a/src/test/resources/StackMapExample.java
b/src/test/resources/StackMapExample.java
index f4fc3168..12e9c0de 100644
--- a/src/test/resources/StackMapExample.java
+++ b/src/test/resources/StackMapExample.java
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
/*
* Example to check if BCELifier generates the stack map table
* so that the generated class passes the Java verifier checks.
diff --git a/src/test/resources/StackMapExample2.java
b/src/test/resources/StackMapExample2.java
index 24598d3c..8e6f70e9 100644
--- a/src/test/resources/StackMapExample2.java
+++ b/src/test/resources/StackMapExample2.java
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
/*
* Another version of StackMapExample using 2 types of locals String and int
* instead of just String.
diff --git a/src/test/resources/record/SimpleRecord.java
b/src/test/resources/record/SimpleRecord.java
index 10316b07..c6f56c67 100644
--- a/src/test/resources/record/SimpleRecord.java
+++ b/src/test/resources/record/SimpleRecord.java
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import javax.annotation.Nonnull;
public record SimpleRecord(int aNumber,@Nonnull String aString) {