Skip to content

Commit eaf9b95

Browse files
committedJan 22, 2018
ProfilingService test has new method which needs to be implemented
1 parent ffb23fc commit eaf9b95

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed
 

Diff for: ‎core/src/test/java/org/jruby/runtime/profile/TestProfilingService.java

+7-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import org.jruby.Ruby;
44
import org.jruby.internal.runtime.methods.DynamicMethod;
55
import org.jruby.runtime.ThreadContext;
6+
import org.jruby.util.ByteList;
67

78
/**
89
* @author Andre Kullmann
@@ -20,7 +21,7 @@ public ProfileCollection newProfileCollection(ThreadContext context) {
2021
public MethodEnhancer newMethodEnhancer(Ruby runtime) {
2122
return new MethodEnhancer() {
2223
@Override
23-
public DynamicMethod enhance(String name, DynamicMethod delegate) {
24+
public DynamicMethod enhance(ByteList name, DynamicMethod delegate) {
2425
return delegate;
2526
}
2627
};
@@ -34,4 +35,9 @@ public ProfileReporter newProfileReporter(ThreadContext context) {
3435
@Override
3536
public void addProfiledMethod(String name, DynamicMethod method) {
3637
}
38+
39+
@Override
40+
public void addProfiledMethod(ByteList name, DynamicMethod method) {
41+
42+
}
3743
}

0 commit comments

Comments
 (0)
Please sign in to comment.