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 b262307e Use HTTPS scheme in URLs
b262307e is described below
commit b262307e70f35aae2f2e56bfd6364dfddafb36a6
Author: Gary David Gregory (Code signing key) <[email protected]>
AuthorDate: Sun Oct 2 17:51:53 2022 -0400
Use HTTPS scheme in URLs
Fix, update, or unlink URLs depending on status
---
src/examples/JasminVisitor.java | 2 +-
src/main/java/org/apache/bcel/Const.java | 2 +-
.../java/org/apache/bcel/classfile/JavaClass.java | 6 +-
src/site/resources/bcel5-bcel6-clirr-report.html | 12 +-
src/site/xdoc/faq.xml | 2 +-
src/site/xdoc/manual/application-areas.xml | 4 +-
src/site/xdoc/manual/bcel-api.xml | 8 +-
src/site/xdoc/manual/jvm.xml | 6 +-
src/site/xdoc/manual/manual.xml | 2 +-
src/site/xdoc/projects.xml | 358 ++++++++++-----------
10 files changed, 199 insertions(+), 203 deletions(-)
diff --git a/src/examples/JasminVisitor.java b/src/examples/JasminVisitor.java
index 898b24ed..b6b201e4 100644
--- a/src/examples/JasminVisitor.java
+++ b/src/examples/JasminVisitor.java
@@ -52,7 +52,7 @@ import org.apache.bcel.generic.Select;
import org.apache.bcel.generic.TABLESWITCH;
/**
- * Disassemble Java class object into the <a
href="http://jasmin.sourceforge.net"> Jasmin</a> format.
+ * Disassemble Java class object into the <a
href="https://jasmin.sourceforge.net"> Jasmin</a> format.
*
*/
public class JasminVisitor extends org.apache.bcel.classfile.EmptyVisitor {
diff --git a/src/main/java/org/apache/bcel/Const.java
b/src/main/java/org/apache/bcel/Const.java
index db620c78..55cabd1f 100644
--- a/src/main/java/org/apache/bcel/Const.java
+++ b/src/main/java/org/apache/bcel/Const.java
@@ -478,7 +478,7 @@ public final class Const {
public static final byte CONSTANT_Utf8 = 1;
/*
- * The description of the constant pool is at:
http://docs.oracle.com/javase/specs/jvms/se8/html/jvms-4.html#jvms-4.4
+ * The description of the constant pool is at:
https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-4.html#jvms-4.4
* References below are to the individual sections
*/
diff --git a/src/main/java/org/apache/bcel/classfile/JavaClass.java
b/src/main/java/org/apache/bcel/classfile/JavaClass.java
index b27d8a11..2571cf4a 100644
--- a/src/main/java/org/apache/bcel/classfile/JavaClass.java
+++ b/src/main/java/org/apache/bcel/classfile/JavaClass.java
@@ -86,10 +86,10 @@ public class JavaClass extends AccessFlags implements
Cloneable, Node, Comparabl
}
private static String indent(final Object obj) {
- final StringTokenizer tok = new StringTokenizer(obj.toString(), "\n");
+ final StringTokenizer tokenizer = new StringTokenizer(obj.toString(),
"\n");
final StringBuilder buf = new StringBuilder();
- while (tok.hasMoreTokens()) {
- buf.append("\t").append(tok.nextToken()).append("\n");
+ while (tokenizer.hasMoreTokens()) {
+ buf.append("\t").append(tokenizer.nextToken()).append("\n");
}
return buf.toString();
}
diff --git a/src/site/resources/bcel5-bcel6-clirr-report.html
b/src/site/resources/bcel5-bcel6-clirr-report.html
index f31fde11..3fd9cfa9 100644
--- a/src/site/resources/bcel5-bcel6-clirr-report.html
+++ b/src/site/resources/bcel5-bcel6-clirr-report.html
@@ -17,7 +17,7 @@ limitations under the License.
| Generated by Apache Maven Doxia at 18 Jun 2016
| Rendered using Apache Maven Fluido Skin 1.3.0
-->
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<html xmlns="https://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
@@ -293,18 +293,18 @@ limitations under the License.
</ul>
</div>
<div id="poweredBy">
-
<a
href="https://www.apache.org/events/current-event.html" title="ApacheCon"
class="builtBy">
- <img class="builtBy" alt="ApacheCon"
src="http://www.apache.org/events/current-event-125x125.png" />
+ <a href="https://www.apache.org/events/current-event.html"
title="ApacheCon" class="builtBy">
+ <img class="builtBy" alt="ApacheCon"
src="https://www.apache.org/events/current-event-125x125.png" />
</a>
-
<a href="https://maven.apache.org/" title="Maven"
class="builtBy">
- <img class="builtBy" alt="Maven"
src="http://maven.apache.org/images/logos/maven-feather.png" />
+ <a href="https://maven.apache.org/" title="Maven" class="builtBy">
+ <img class="builtBy" alt="Maven"
src="https://maven.apache.org/images/logos/maven-feather.png" />
</a>
</div>
</td>
<td class="content">
<div class="section">
<h2><a name="Clirr_Results"></a>Clirr Results</h2>
-<p>The following document contains the results of <a class="externalLink"
href="http://clirr.sourceforge.net/">Clirr</a>.</p>
+<p>The following document contains the results of <a class="externalLink"
href="https://clirr.sourceforge.net/">Clirr</a>.</p>
<ul>
<li>Current Version: 6.0</li>
<li>Comparison Version: 5.2</li></ul></div>
diff --git a/src/site/xdoc/faq.xml b/src/site/xdoc/faq.xml
index 5a3afc23..a989ec56 100644
--- a/src/site/xdoc/faq.xml
+++ b/src/site/xdoc/faq.xml
@@ -40,7 +40,7 @@
<b>Q: </b> Is the BCEL thread-safe?
<br/>
<b>A: </b>BCEL was (deliberately) not designed for thread
- safety. See "Concurrent Programming in Java"</a>, by Doug Lea,
+ safety. See "Concurrent Programming in Java", by Doug Lea,
for an excellent reference on how to build thread-safe wrappers and
<a
href="https://docs.oracle.com/javase/tutorial/essential/concurrency/further.html">more</a>.
</p>
diff --git a/src/site/xdoc/manual/application-areas.xml
b/src/site/xdoc/manual/application-areas.xml
index 302cb3c0..ec7c2960 100644
--- a/src/site/xdoc/manual/application-areas.xml
+++ b/src/site/xdoc/manual/application-areas.xml
@@ -34,14 +34,14 @@
<p>
Compilers like the <a
- href="http://barat.sourceforge.net">Barat</a> compiler use <font
+ href="https://barat.sourceforge.net">Barat</a> compiler use <font
face="helvetica,arial">BCEL</font> to implement a byte code
generating back end. Other possible application areas are the
static analysis of byte code or examining the run-time behavior of
classes by inserting calls to profiling methods into the
code. Further examples are extending Java with Eiffel-like
assertions, automated delegation, or with the concepts of <a
- href="http://www.eclipse.org/aspectj/">Aspect-Oriented
Programming</a>.<br/> A
+ href="https://www.eclipse.org/aspectj/">Aspect-Oriented
Programming</a>.<br/> A
list of projects using <font face="helvetica,arial">BCEL</font> can
be found <a href="../projects.html">here</a>.
</p>
diff --git a/src/site/xdoc/manual/bcel-api.xml
b/src/site/xdoc/manual/bcel-api.xml
index e47b50a9..6d050d33 100644
--- a/src/site/xdoc/manual/bcel-api.xml
+++ b/src/site/xdoc/manual/bcel-api.xml
@@ -51,7 +51,7 @@
<li> Various code examples and utilities like a class file viewer,
a tool to convert class files into HTML, and a converter from
class files to the <a
- href="http://jasmin.sourceforge.net">Jasmin</a> assembly
+ href="https://jasmin.sourceforge.net">Jasmin</a> assembly
language.</li>
</ol>
</p>
@@ -63,7 +63,7 @@
<tt>org.apache.bcel.classfile</tt> and closely represents class
files. All of the binary components and data structures declared
in the <a
- href="http://docs.oracle.com/javase/specs/">JVM
+ href="https://docs.oracle.com/javase/specs/">JVM
specification</a> and described in section <a
href="#2 The Java Virtual Machine">2</a> are mapped to classes.
@@ -179,7 +179,7 @@ public static void printCode(Method[] methods) {
visitor objects to traverse and analyze the contents of a class
file. Included in the distribution is a class
<tt>JasminVisitor</tt> that converts class files into the <a
- href="http://jasmin.sourceforge.net">Jasmin</a>
+ href="https://jasmin.sourceforge.net">Jasmin</a>
assembler language.
</p>
@@ -301,7 +301,7 @@ Type[] arg_types = new Type[] { new ArrayType(Type.STRING,
1) };
<p>
For debugging purposes it may even make sense to "invent" your own
instructions. In a sophisticated code generator like the one used
- as a backend of the <a href="http://barat.sourceforge.net">Barat
+ as a backend of the <a href="https://barat.sourceforge.net">Barat
framework</a> for static analysis one often has to insert
temporary <tt>nop</tt> (No operation) instructions. When examining
the produced code it may be very difficult to track back where the
diff --git a/src/site/xdoc/manual/jvm.xml b/src/site/xdoc/manual/jvm.xml
index 61183878..5d20c4ab 100644
--- a/src/site/xdoc/manual/jvm.xml
+++ b/src/site/xdoc/manual/jvm.xml
@@ -36,7 +36,7 @@
represented by a single class file containing class related data
and byte code instructions. These files are loaded dynamically
into an interpreter (<a
- href="http://docs.oracle.com/javase/specs/">Java
+ href="https://docs.oracle.com/javase/specs/">Java
Virtual Machine</a>, aka. JVM) and executed.
</p>
@@ -77,7 +77,7 @@
covering the details that are necessary for understanding the rest
of this paper. The format of class files and the byte code
instruction set are described in more detail in the <a
- href="http://docs.oracle.com/javase/specs/">Java
+ href="https://docs.oracle.com/javase/specs/">Java
Virtual Machine Specification</a>. Especially, we will not deal
with the security constraints that the Java Virtual Machine has to
check at run-time, i.e. the byte code verifier.
@@ -277,7 +277,7 @@
<p>
We will not list all byte code instructions here, since these are
explained in detail in the <a
- href="http://docs.oracle.com/javase/specs/">JVM
+ href="https://docs.oracle.com/javase/specs/">JVM
specification</a>. The opcode names are mostly self-explaining,
so understanding the following code examples should be fairly
intuitive.
diff --git a/src/site/xdoc/manual/manual.xml b/src/site/xdoc/manual/manual.xml
index e481f5d4..1c0c3326 100644
--- a/src/site/xdoc/manual/manual.xml
+++ b/src/site/xdoc/manual/manual.xml
@@ -32,7 +32,7 @@
the subject of a large number of research projects and
proposals. There are projects, for instance, to add parameterized
types to Java, to implement <a
- href="http://www.eclipse.org/aspectj/">Aspect-Oriented Programming</a>, to
+ href="https://www.eclipse.org/aspectj/">Aspect-Oriented Programming</a>, to
perform sophisticated static analysis, and to improve the run-time
performance.
</p>
diff --git a/src/site/xdoc/projects.xml b/src/site/xdoc/projects.xml
index d3383218..1f2cb381 100644
--- a/src/site/xdoc/projects.xml
+++ b/src/site/xdoc/projects.xml
@@ -1,186 +1,182 @@
<?xml version="1.0"?>
-<!--
- * 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
- *
- * http://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.
--->
+<!-- * 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 * *
http://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. -->
<document>
- <properties>
- <title>Projects using BCEL</title>
- </properties>
-
- <body>
-
- <section name="BCEL Projects">
-
- <ul>
- <li>
- <a href="https://xml.apache.org/xalan-j/">Xalan</a> XSLT Compiler
- </li>
- <li>
- <a HREF="http://objectscript.sourceforge.net/">ObjectScript</a>
- </li>
- <li>
- <a HREF="http://www.jboss.org/">JBoss</a>
- </li>
- <li>
- <a HREF="http://jde.sunsite.dk/">Java Development Environment</a> for
Emacs
- </li>
-
- <li>
- <a
HREF="http://www.cs.put.poznan.pl/dweiss/index.php/projects/bsh-binding/index.xml?lang=en">BeanShell</a>
- </li>
-
- <li>
- <a HREF="http://xmlc.enhydra.org">XMLC</a>
- </li>
-
- <li>
- <a HREF="http://profiler.cougaar.org">Cougaar</a> Memory Profiler
- </li>
-
- <li>
- <a HREF="http://jcredo.com/">JCredo</a> JDO-Implementation
- </li>
-
- <li>
- <a HREF="http://www.libelis.com/">LIDO</a> JDO-Implementation
- </li>
-
- <li>
- <a HREF="http://www.objectindustries.com/">JRelay</a> JDO-Implementation
- </li>
-
- <li>
- <a HREF="http://just4log.sourceforge.net/">Just4Log</a>
- </li>
-
- <li>
- <a HREF="http://www.geocities.com/vamp201/">Venus Application
Publisher</a>
- </li>
-
- <li><a HREF="http://www.cs.arizona.edu/sandmark/">SandMark: Software
Watermarking for Java</a>
- </li>
-
- <li><a HREF="http://jcontractor.sourceforge.net/">jContractor -
- Design by contract</a>
- </li>
-
- <li><a
-
HREF="http://www-i2.informatik.rwth-aachen.de/~markusj/jopt/index.html">Byte
- code optimization</a>
- </li>
-
- <li><a
HREF="http://www.cs.uoregon.edu/research/perpetual/dasada/Software/Gretel/">Gretel</a>
- Residual Test Coverage Tool
- </li>
-
- <li><a HREF="http://Theory.Stanford.EDU/~vganesh/project.html">Mobile
- Code Security Through Java Byte-Code Modification</a>
- </li>
-
- <li><a HREF="http://www.jraf2.org/">Portable Resource Accounting
- for Java</a>
- </li>
-
- <li><a HREF="http://lampwww.epfl.ch/funnel/">Funnel</a>
- </li>
-
- <li><a
HREF="http://www.uni-paderborn.de/fachbereich/AG/agkastens/wir/mthies/index.htm">
- Static analysis of class libraries</a>
- </li>
-
- <li><a HREF="http://www.cs.ncl.ac.uk/research/dependability/reflection/">
- Kava: Reflective Java</a>
- </li>
-
- <li>one.world - <a HREF="http://one.cs.washington.edu/"
- >Programming for pervasive computing environments</a>
- </li>
-
- <li><a
- HREF="http://www.cs.uni-essen.de/dawis/research/aop/sally/"
- >Sally: Simple Aspect Language</a>
- </li>
-
- <li><a
- HREF="http://eclipse.org/aspectj/"
- >AspectJ: Aspect-oriented Java</a>
- </li>
-
- <li><a
- HREF="http://aopclsuite.sourceforge.net/"
- >AOP ClassLoader Suite</a>
- </li>
-
- <li><a
- HREF="http://www.cs.kuleuven.ac.be/~tim/MOS/brakes.html"
- >Brakes: Thread serialization</a>
- </li>
-
- <li><a
- HREF="http://www.cs.sunysb.edu/~stoller/SPIN2001.html"
- >Transformations for Model Checking Distributed Java Programs</a>
- </li>
-
- <li><a
- HREF="http://ozone-db.org/">Ozone Data base</a>
- </li>
-
- <li><a
- HREF="http://www.jmonde.org/Trace">Method tracing tool</a>
- </li>
-
- <li><a HREF="http://javalab.cs.uni-bonn.de/research/jmangler/"
- >JMangler</a>
- </li>
-
- <li><a href="http://barat.sourceforge.net/">Barat compiler
- framework</a>
- </li>
-
- <li><a href="http://quilt.sourceforge.net/">Java code coverage
- tool for JUnit</a>
- </li>
-
- <li>
- <a HREF="http://hup.sourceforge.net/">Heap Usage Profiling</a>
- </li>
-
- <li><a HREF="http://importscrubber.sourceforge.net/">Import Scrubber</a>
- </li>
-
- <li><a HREF="http://jbackbrowse.sourceforge.net/">jBackBrowse</a>
- </li>
-
- <li>
- <a href="http://findbugs.sourceforge.net/">FindBugs</a> static analysis
tool
- </li>
- </ul>
-
- <h2>Related Projects</h2>
- <ul>
- <li><a href="https:https://asm.ow2.io/">ASM</a></li>
- <li><a href="https://www.cs.duke.edu/ari/joie/">JOIE: The Java Object
Instrumentation Environment</a></li>
- <li><a href="http://www.alphaworks.ibm.com/tech/cfparse">CFParse</a></li>
- <li><a href="http://www.alphaworks.ibm.com/tech/jikesbt">JikesBT</a></li>
- </ul>
-
-</section>
-
-</body>
+ <properties>
+ <title>Projects using BCEL</title>
+ </properties>
+
+ <body>
+
+ <section name="BCEL Projects">
+
+ <ul>
+ <li>
+ <a
href="https://xml.apache.org/xalan-j/">Xalan</a>
+ XSLT Compiler
+ </li>
+ <li>
+ <a
href="https://objectscript.sourceforge.net/">ObjectScript</a>
+ </li>
+ <li>
+ <a
href="https://www.jboss.org/">JBoss</a>
+ </li>
+ <li>
+ <a href="https://jde.sunsite.dk/">Java
Development Environment</a>
+ for Emacs
+ </li>
+ <li>
+ <a
+
href="https://www.cs.put.poznan.pl/dweiss/index.php/projects/bsh-binding/index.xml?lang=en">BeanShell</a>
+ </li>
+ <li>
+ XMLC (was https://xmlc.enhydra.org)
+ </li>
+ <li>
+ Cougaar Memory Profiler (was
https://profiler.cougaar.org)
+ </li>
+ <li>
+ JDO-Implementation (was
https://jcredo.com/)
+ </li>
+ <li>
+ LIDO JDO-Implementation (was
https://www.libelis.com/)
+ </li>
+ <li>
+ JRelay JDO-Implementation (was
+ https://www.objectindustries.com/)
+ </li>
+ <li>
+ <a
href="https://just4log.sourceforge.net/">Just4Log</a>
+ </li>
+ <li>
+ Venus Application Publisher (connection
is not private
+ https://www.geocities.com/vamp201/)
+ </li>
+ <li>
+ <a
href="https://www.cs.arizona.edu/sandmark/">SandMark: Software Watermarking for
Java</a>
+ </li>
+
+ <li>
+ <a
href="https://jcontractor.sourceforge.net/">jContractor -
+ Design by contract
+ </a>
+ </li>
+ <li>Byte code optimization (was
+
https://www-i2.informatik.rwth-aachen.de/~markusj/jopt/index.html)
+ </li>
+ <li>
+ <a
+
href="https://www.cs.uoregon.edu/research/perpetual/dasada/Software/Gretel/">Gretel</a>
+ - Residual Test Coverage Tool
+ </li>
+ <li>Mobile Code Security Through Java Byte-Code
Modification (was
+
https://Theory.Stanford.EDU/~vganesh/project.html)
+ </li>
+ <li>Portable Resource Accounting for Java (was
+ https://www.jraf2.org/)
+ </li>
+ <li>
+ <a
href="https://lampwww.epfl.ch/funnel/">Funnel</a>
+ </li>
+ <li>
+ Static analysis of class libraries
(connection not secure
+
https://www.uni-paderborn.de/fachbereich/AG/agkastens/wir/mthies/index.htm)
+ </li>
+ <li>
+ Kava: Reflective Java (connection not
secure
+
https://www.cs.ncl.ac.uk/research/dependability/reflection/)
+ </li>
+ <li>one.world - Programming for pervasive
computing environments
+ (was https://one.cs.washington.edu/)
+ </li>
+ <li>
+ Sally: Simple Aspect Language (was
+
https://www.cs.uni-essen.de/dawis/research/aop/sally/)
+ </li>
+ <li>
+ <a
href="https://eclipse.org/aspectj/">AspectJ: Aspect-oriented
+ Java
+ </a>
+ </li>
+ <li>
+ <a
href="https://aopclsuite.sourceforge.net/">AOP ClassLoader
+ Suite
+ </a>
+ </li>
+ <li>
+ Brakes: Thread serialization
(connection not private
+
https://www.cs.kuleuven.ac.be/~tim/MOS/brakes.html)
+ </li>
+ <li>
+ <a
href="https://www.cs.sunysb.edu/~stoller/SPIN2001.html">Transformations
+ for Model Checking Distributed
Java
+ Programs
+ </a>
+ </li>
+ <li>
+ Ozone Data base (was
https://ozone-db.org/)
+ </li>
+ <li>
+ Method tracing tool (was
https://www.jmonde.org/Trace)
+ </li>
+ <li>
+ JMangler (was
https://javalab.cs.uni-bonn.de/research/jmangler/)
+ </li>
+ <li>
+ <a
href="https://barat.sourceforge.net/">Barat compiler
+ framework
+ </a>
+ </li>
+ <li>
+ <a
href="https://quilt.sourceforge.net/">Java code coverage
+ tool for JUnit
+ </a>
+ </li>
+ <li>
+ <a
href="https://hup.sourceforge.net/">Heap Usage Profiling</a>
+ </li>
+ <li>
+ <a
href="https://importscrubber.sourceforge.net/">Import Scrubber</a>
+ </li>
+ <li>
+ <a
href="https://jbackbrowse.sourceforge.net/">jBackBrowse</a>
+ </li>
+ <li>
+ <a
href="https://findbugs.sourceforge.net/">FindBugs</a>
+ static analysis tool
+ </li>
+ </ul>
+
+ <h2>Related Projects</h2>
+ <ul>
+ <li>
+ <a href="https://asm.ow2.io/">ASM</a>
+ </li>
+ <li>
+ <a
href="https://www.cs.duke.edu/ari/joie/">JOIE: The Java Object Instrumentation
Environment</a>
+ </li>
+ <li>
+ CFParse (connection is not private
+
https://www.alphaworks.ibm.com/tech/cfparse)
+ </li>
+ <li>
+ JikesBT (connection is not private
+
https://www.alphaworks.ibm.com/tech/jikesbt)
+ </li>
+ </ul>
+
+ </section>
+
+ </body>
</document>