You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by eb...@apache.org on 2014/04/25 17:53:57 UTC
svn commit: r1590064 - in
/commons/proper/bcel/trunk/src/main/java/org/apache/bcel: generic/Type.java
verifier/VerifierFactoryListModel.java
verifier/structurals/ControlFlowGraph.java
verifier/structurals/InstructionContext.java
Author: ebourg
Date: Fri Apr 25 15:53:56 2014
New Revision: 1590064
URL: http://svn.apache.org/r1590064
Log:
More changes improving the backward compatibility
Modified:
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/generic/Type.java
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/verifier/VerifierFactoryListModel.java
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/verifier/structurals/ControlFlowGraph.java
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/verifier/structurals/InstructionContext.java
Modified: commons/proper/bcel/trunk/src/main/java/org/apache/bcel/generic/Type.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/bcel/generic/Type.java?rev=1590064&r1=1590063&r2=1590064&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/bcel/generic/Type.java (original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/bcel/generic/Type.java Fri Apr 25 15:53:56 2014
@@ -34,7 +34,7 @@ import org.apache.bcel.classfile.Utility
public abstract class Type implements java.io.Serializable {
private static final long serialVersionUID = -1985077286871826895L;
- protected final byte type;
+ protected byte type;
protected String signature; // signature for the type
/** Predefined constants
*/
Modified: commons/proper/bcel/trunk/src/main/java/org/apache/bcel/verifier/VerifierFactoryListModel.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/bcel/verifier/VerifierFactoryListModel.java?rev=1590064&r1=1590063&r2=1590064&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/bcel/verifier/VerifierFactoryListModel.java (original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/bcel/verifier/VerifierFactoryListModel.java Fri Apr 25 15:53:56 2014
@@ -75,7 +75,7 @@ public class VerifierFactoryListModel im
}
- public synchronized String getElementAt( int index ) {
+ public synchronized Object getElementAt( int index ) {
return (cache.toArray(new String[cache.size()]))[index];
}
}
Modified: commons/proper/bcel/trunk/src/main/java/org/apache/bcel/verifier/structurals/ControlFlowGraph.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/bcel/verifier/structurals/ControlFlowGraph.java?rev=1590064&r1=1590063&r2=1590064&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/bcel/verifier/structurals/ControlFlowGraph.java (original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/bcel/verifier/structurals/ControlFlowGraph.java Fri Apr 25 15:53:56 2014
@@ -114,7 +114,7 @@ public class ControlFlowGraph{
/**
* Returns a clone of the "outgoing" frame situation with respect to the given ExecutionChain.
*/
- public Frame getOutFrame(List<InstructionContext> execChain){
+ public Frame getOutFrame(ArrayList<InstructionContext> execChain){
executionPredecessors = execChain;
Frame org;
Modified: commons/proper/bcel/trunk/src/main/java/org/apache/bcel/verifier/structurals/InstructionContext.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/bcel/verifier/structurals/InstructionContext.java?rev=1590064&r1=1590063&r2=1590064&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/bcel/verifier/structurals/InstructionContext.java (original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/bcel/verifier/structurals/InstructionContext.java Fri Apr 25 15:53:56 2014
@@ -85,7 +85,7 @@ public interface InstructionContext{
*
* @see #execute(Frame, ArrayList, InstConstraintVisitor, ExecutionVisitor)
*/
- Frame getOutFrame(List<InstructionContext> executionPredecessors);
+ Frame getOutFrame(ArrayList<InstructionContext> executionPredecessors);
/**
* Returns the InstructionHandle this InstructionContext is wrapped around.