diff options
author | chibash <chiba@javassist.org> | 2018-09-02 19:25:12 +0900 |
---|---|---|
committer | chibash <chiba@javassist.org> | 2018-09-02 19:25:12 +0900 |
commit | a13f51b8d12510152bffe1fc7bd1f4a1ca16fefb (patch) | |
tree | 8ad2779b81118ccdfcb3fc893266004aee61ff99 /src/main/javassist/util | |
parent | bca5c7aad8551aebda6039fb74b41c20de3d23d9 (diff) | |
download | javassist-a13f51b8d12510152bffe1fc7bd1f4a1ca16fefb.tar.gz javassist-a13f51b8d12510152bffe1fc7bd1f4a1ca16fefb.zip |
adds a comment for the fix to JIRA JASSIST-267
Diffstat (limited to 'src/main/javassist/util')
-rw-r--r-- | src/main/javassist/util/proxy/ProxyFactory.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/javassist/util/proxy/ProxyFactory.java b/src/main/javassist/util/proxy/ProxyFactory.java index 646bbcc4..d3fcddbd 100644 --- a/src/main/javassist/util/proxy/ProxyFactory.java +++ b/src/main/javassist/util/proxy/ProxyFactory.java @@ -1186,8 +1186,8 @@ public class ProxyFactory { // put the method to the cache, retrieve previous definition (if any) Method oldMethod = hash.put(key, m); - // JIRA JASSIST-244 - // ignore a bridge method with the same signature that the overridden one has. + // JIRA JASSIST-244, 267 + // ignore a bridge method to a method declared in a non-public class. if (null != oldMethod && isBridge(m) && !Modifier.isPublic(oldMethod.getDeclaringClass().getModifiers()) && !Modifier.isAbstract(oldMethod.getModifiers()) && !isDuplicated(i, methods)) |