From 487a4b49d90c3da70e1c91280969135679736453 Mon Sep 17 00:00:00 2001 From: hoenicke Date: Fri, 6 Aug 2004 15:38:32 +0000 Subject: [PATCH] Some copyright/documentation updates * src/net/sf/jode/bytecode/BinaryInfo.java (ACC_*): added constants describing modifier attributes. * src/net/sf/jode/bytecode/BasicBlockReader.java (convertHandlers): remove empty handlers. (readCode): merge adjacent try-blocks (splitted by javac-1.4 return rule). * src/net/sf/jode/bytecode/FieldInfo.java (syntheticFlag): removed, use modifier and ACC_SYNTHETIC (new in java 5) instead. Changed all usages. When writing it currently writes out both old and new synthetic format. (getSignature): New method to return full generic signature. * src/net/sf/jode/bytecode/MethodInfo.java (syntheticFlag, getSignature): likewise. * src/net/sf/jode/bytecode/ClassInfo.java (getSignature): new method to return full generic signature. * src/net/sf/jode/decompiler/MethodAnalyzer.java (skipWriting): Skip java 5 bridge methods. * src/net/sf/jode/expr/InvokeOperator.java (getClassAnalyzer): Check for null callee. * src/net/sf/jode/expr/FlowBlock.java (analyze): New order for T1,T2 analysis: Do not do T1 analysis when the block has more than one real successor and the next block can be easily merged. See comment for more information. git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1383 379699f6-c40d-0410-875b-85095c16579e --- jode/ChangeLog | 26 ++++++ jode/build.xml | 6 +- jode/src/net/sf/jode/GlobalOptions.java | 2 +- .../sf/jode/bytecode/BasicBlockReader.java | 41 +++++++--- jode/src/net/sf/jode/bytecode/BinaryInfo.java | 82 ++++++++++++++++++- jode/src/net/sf/jode/bytecode/ClassInfo.java | 30 ++++++- jode/src/net/sf/jode/bytecode/ClassPath.java | 6 +- jode/src/net/sf/jode/bytecode/FieldInfo.java | 29 +++++-- jode/src/net/sf/jode/bytecode/MethodInfo.java | 29 +++++-- .../net/sf/jode/bytecode/TypeSignature.java | 17 +++- .../sf/jode/decompiler/MethodAnalyzer.java | 4 + jode/src/net/sf/jode/expr/InvokeOperator.java | 2 + jode/src/net/sf/jode/flow/FlowBlock.java | 79 +++++++++++++----- 13 files changed, 290 insertions(+), 63 deletions(-) diff --git a/jode/ChangeLog b/jode/ChangeLog index c7871b1..2566d31 100644 --- a/jode/ChangeLog +++ b/jode/ChangeLog @@ -1,3 +1,29 @@ +2004-08-06 Jochen Hoenicke + + * src/net/sf/jode/bytecode/BinaryInfo.java (ACC_*): added + constants describing modifier attributes. + * src/net/sf/jode/bytecode/BasicBlockReader.java + (convertHandlers): remove empty handlers. + (readCode): merge adjacent try-blocks (splitted by javac-1.4 + return rule). + * src/net/sf/jode/bytecode/FieldInfo.java (syntheticFlag): + removed, use modifier and ACC_SYNTHETIC (new in java 5) instead. + Changed all usages. When writing it currently writes out both + old and new synthetic format. + (getSignature): New method to return full generic signature. + * src/net/sf/jode/bytecode/MethodInfo.java + (syntheticFlag, getSignature): likewise. + * src/net/sf/jode/bytecode/ClassInfo.java (getSignature): + New method to return full generic signature. + * src/net/sf/jode/decompiler/MethodAnalyzer.java (skipWriting): + Skip java 5 bridge methods. + * src/net/sf/jode/expr/InvokeOperator.java (getClassAnalyzer): + Check for null callee. + * src/net/sf/jode/expr/FlowBlock.java (analyze): New order for + T1,T2 analysis: Do not do T1 analysis when the block has more + than one real successor and the next block can be easily merged. + See comment for more information. + 2004-08-05 Jochen Hoenicke * build.xml: replace execon with apply. diff --git a/jode/build.xml b/jode/build.xml index a2b3bd5..c286bf1 100644 --- a/jode/build.xml +++ b/jode/build.xml @@ -1,5 +1,5 @@ -