[jira] Created: (RVM-871) java.lang.reflect.VMMethod.getSignature() cause NullPointerException

View: New views
1 Messages — Rating Filter:   Alert me  

[jira] Created: (RVM-871) java.lang.reflect.VMMethod.getSignature() cause NullPointerException

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

java.lang.reflect.VMMethod.getSignature() cause NullPointerException
--------------------------------------------------------------------

                 Key: RVM-871
                 URL: http://jira.codehaus.org/browse/RVM-871
             Project: RVM
          Issue Type: Bug
          Components: Runtime: Class Library: GNU Classpath
    Affects Versions: 3.1.0
         Environment: ubuntu 9.04
            Reporter: Eric Ku
            Priority: Trivial


I'm a new comer to JikesRVM.
A few days ago, when I was trying to run JBoss on the rvm, I met a problem.
I thinks this may be a bug, a trivial bug.

I compiled the rvm with the GNU Classpath.

{code:title=java.lang.reflect.VMMethod.java|borderStyle=solid}
final RVMMethod method;
...
String getSignature() {
    return method.getSignature().toString();
}
{code}

for _method.getSignature()_ may return null,  calling method _toString()_  in this way may cause a NullPointerException.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Jikesrvm-issues mailing list
Jikesrvm-issues@...
https://lists.sourceforge.net/lists/listinfo/jikesrvm-issues