Browse Source

fixed JASSIST-163

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@645 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
tags/rel_3_17_1_ga
chiba 11 years ago
parent
commit
962a750f48
2 changed files with 5 additions and 2 deletions
  1. 1
    1
      Readme.html
  2. 4
    1
      src/main/javassist/util/proxy/RuntimeSupport.java

+ 1
- 1
Readme.html View File

@@ -284,7 +284,7 @@ see javassist.Dump.
<p>-version 3.17
<ul>
<li>OSGi bundle info is now included in the jar file.
<li>JIRA JASSIST-166, 168, 170 have been fixed.
<li>JIRA JASSIST-163, 166, 168, 170, 171 have been fixed.
</ul>

<p>-version 3.16.1 on March 6, 2012

+ 4
- 1
src/main/javassist/util/proxy/RuntimeSupport.java View File

@@ -50,7 +50,10 @@ public class RuntimeSupport {
String thisMethod, int index,
String desc, java.lang.reflect.Method[] methods)
{
if (methods[index] == null) {
/* Once methods[index] and methods[index + 1] are set to non-null,
* then their values never change.
*/
if (methods[index] == null || methods[index + 1] == null) {
Method m1 = thisMethod == null ? null
: findMethod(self, thisMethod, desc);
Method m0 = findSuperMethod(self, superMethod, desc);

Loading…
Cancel
Save