java-interp.h (_Jv_InterpClass): Declare friend function _Jv_GetInterpClassSourceFile.
* include/java-interp.h (_Jv_InterpClass): Declare
friend function _Jv_GetInterpClassSourceFile.
* java/lang/Class.h (Class): Likewise.
* java/lang/natClass.cc (_Jv_GetInterpClassSourceFile):
New function.
* gnu/classpath/jdwp/natVMVirtualMachine.cc
(getSourceFile): Implement.
From-SVN: r122882
This commit is contained in:
@@ -644,9 +644,9 @@ executeMethod (MAYBE_UNUSED jobject obj, MAYBE_UNUSED Thread *thread,
|
||||
|
||||
jstring
|
||||
gnu::classpath::jdwp::VMVirtualMachine::
|
||||
getSourceFile (MAYBE_UNUSED jclass clazz)
|
||||
getSourceFile (jclass clazz)
|
||||
{
|
||||
return NULL;
|
||||
return _Jv_GetInterpClassSourceFile (clazz);
|
||||
}
|
||||
|
||||
// A simple caching function used while single-stepping
|
||||
|
||||
Reference in New Issue
Block a user