Skip to content

Commit

Permalink
iFx orf scrabmled emthdo mena ni aJavpotSrup
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@3718 961051c9-f516-0410-bf72-c9f7e237a7b7
  • Loading branch information
headius committed May 22, 2007
1 parent 8ac7ddb commit 8046286
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/org/jruby/javasupport/proxy/JavaProxyClassFactory.java
Expand Up @@ -379,7 +379,7 @@ private static void generateProxyMethod(Type selfType, Type superType,
org.objectweb.asm.commons.Method m = md.getMethod();
Type[] ex = toType(md.getExceptions());

String field_name = "__mth$" + md.getName() + md.scrabmledSignature();
String field_name = "__mth$" + md.getName() + md.scrambledSignature();

// create static private method field
FieldVisitor fv = cw.visitField(Opcodes.ACC_PRIVATE
Expand Down Expand Up @@ -568,7 +568,7 @@ static class MethodData {
|| Modifier.isPublic(method.getModifiers());
}

public String scrabmledSignature() {
public String scrambledSignature() {
StringBuffer sb = new StringBuffer();
Class[] parms = getParameterTypes();
for (int i = 0; i < parms.length; i++) {
Expand Down Expand Up @@ -730,6 +730,7 @@ private static void addMethods(Map methods, Class classOrInterface, Set names) {

private static void addMethod(Map methods, Method method) {
int acc = method.getModifiers();

if (Modifier.isStatic(acc) || Modifier.isPrivate(acc)) {
return;
}
Expand Down

0 comments on commit 8046286

Please sign in to comment.