LocationOnlyFilter.class: Regenerated;
* classpath/lib/gnu/classpath/jdwp/event/filters/
LocationOnlyFilter.class: Regenerated;
* classpath/lib/gnu/classpath/jdwp/util/Location.class:
Regenerated.
* gnu/classpath/jdwp/VMMethod.java
* classpath/lib/gnu/classpath/jdwp/VMMethod.class:
Regenerated.
* gnu/classpath/jdwp/VMMethod.h: Regenerated.
* gnu/classpath/jdwp/util/Location.h: Regenerated.
* gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java
(matches): Use Location.equals to determine equality.
* gnu/classpath/jdwp/VMMethod.java (equals):
New method.
* gnu/classpath/jdwp/util/Location.java (equals):
New method.
From-SVN: r124249
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/* VMMethod.java -- a method in a virtual machine
|
||||
Copyright (C) 2006 Free Software Foundation, Inc.
|
||||
Copyright (C) 2006, 2007 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU Classpath.
|
||||
|
||||
@@ -175,4 +175,15 @@ public class VMMethod
|
||||
{
|
||||
return VMVirtualMachine.getClassMethod(klass, bb.getLong());
|
||||
}
|
||||
|
||||
public boolean equals(Object obj)
|
||||
{
|
||||
if (obj instanceof VMMethod)
|
||||
{
|
||||
VMMethod m = (VMMethod) obj;
|
||||
return (getId() == m.getId());
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user