File tree 1 file changed +7
-1
lines changed
core/src/test/java/org/jruby/runtime/profile
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 3
3
import org .jruby .Ruby ;
4
4
import org .jruby .internal .runtime .methods .DynamicMethod ;
5
5
import org .jruby .runtime .ThreadContext ;
6
+ import org .jruby .util .ByteList ;
6
7
7
8
/**
8
9
* @author Andre Kullmann
@@ -20,7 +21,7 @@ public ProfileCollection newProfileCollection(ThreadContext context) {
20
21
public MethodEnhancer newMethodEnhancer (Ruby runtime ) {
21
22
return new MethodEnhancer () {
22
23
@ Override
23
- public DynamicMethod enhance (String name , DynamicMethod delegate ) {
24
+ public DynamicMethod enhance (ByteList name , DynamicMethod delegate ) {
24
25
return delegate ;
25
26
}
26
27
};
@@ -34,4 +35,9 @@ public ProfileReporter newProfileReporter(ThreadContext context) {
34
35
@ Override
35
36
public void addProfiledMethod (String name , DynamicMethod method ) {
36
37
}
38
+
39
+ @ Override
40
+ public void addProfiledMethod (ByteList name , DynamicMethod method ) {
41
+
42
+ }
37
43
}
You can’t perform that action at this time.
0 commit comments