[jira] Created: (RVM-814) Wrong exception from Java reflection

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

[jira] Created: (RVM-814) Wrong exception from Java reflection

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

Reply to Author | View Threaded | Show Only this Message

Wrong exception from Java reflection
------------------------------------

                 Key: RVM-814
                 URL: http://jira.codehaus.org/browse/RVM-814
             Project: RVM
          Issue Type: Bug
          Components: Runtime: Class Library
    Affects Versions: 3.0.1, svn head
         Environment: Intel IA32, Linux 2.6.27, Ubuntu 8.10
            Reporter: Byeong Lee
             Fix For: 3.1.0
         Attachments: reflection.patch, ReflectionTest.java

It appears that Jikes RVM has a bug in the implementation of its reflection.
For the detail, look at the patch and the test case: reflection.patch and
Reflection.java. Try the following.

1. To see the bug, try the following three command lines.

$javac ReflectionTest.java

$java -showversion ReflectionTest
java version "1.6.0_10"
Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
Java HotSpot(TM) Server VM (build 11.0-b15, mixed mode)

newInstance: pass
invokeVirtual: pass
invokeStatic: pass

$rvm ReflectionTest
...
newInstance: pass
invokeVirtual: fail
unexpected cause of the Invocation target exception:
java.lang.reflect.InvocationTargetException
...
invokeStatic: fail
unexpected cause of the Invocation target exception:

2. To correct the bug, try the following.

 * Apply the patch: reflection.patch
 * Build Jikes RVM
 * Run it

$rvm ReflectionTest
newInstance: pass
invokeVirtual: pass
invokeStatic: pass



--
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

       

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Jikesrvm-issues mailing list
Jikesrvm-issues@...
https://lists.sourceforge.net/lists/listinfo/jikesrvm-issues

[jira] Updated: (RVM-814) Wrong exception from Java reflection

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

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/RVM-814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Byeong Lee updated RVM-814:
---------------------------

    Attachment:     (was: reflection.patch)

> Wrong exception from Java reflection
> ------------------------------------
>
>                 Key: RVM-814
>                 URL: http://jira.codehaus.org/browse/RVM-814
>             Project: RVM
>          Issue Type: Bug
>          Components: Runtime: Class Library
>    Affects Versions: 3.0.1, svn head
>         Environment: Intel IA32, Linux 2.6.27, Ubuntu 8.10
>            Reporter: Byeong Lee
>             Fix For: 3.1.0
>
>         Attachments: reflection.patch, ReflectionTest.java
>
>
> It appears that Jikes RVM has a bug in the implementation of its reflection.
> For the detail, look at the patch and the test case: reflection.patch and
> Reflection.java. Try the following.
> 1. To see the bug, try the following three command lines.
> $javac ReflectionTest.java
> $java -showversion ReflectionTest
> java version "1.6.0_10"
> Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
> Java HotSpot(TM) Server VM (build 11.0-b15, mixed mode)
> newInstance: pass
> invokeVirtual: pass
> invokeStatic: pass
> $rvm ReflectionTest
> ...
> newInstance: pass
> invokeVirtual: fail
> unexpected cause of the Invocation target exception:
> java.lang.reflect.InvocationTargetException
> ...
> invokeStatic: fail
> unexpected cause of the Invocation target exception:
> 2. To correct the bug, try the following.
>  * Apply the patch: reflection.patch
>  * Build Jikes RVM
>  * Run it
> $rvm ReflectionTest
> newInstance: pass
> invokeVirtual: pass
> invokeStatic: pass

--
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

       

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Jikesrvm-issues mailing list
Jikesrvm-issues@...
https://lists.sourceforge.net/lists/listinfo/jikesrvm-issues

[jira] Updated: (RVM-814) Wrong exception from Java reflection

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

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/RVM-814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Byeong Lee updated RVM-814:
---------------------------

    Attachment: ReflectionTest.java
                reflection.patch

> Wrong exception from Java reflection
> ------------------------------------
>
>                 Key: RVM-814
>                 URL: http://jira.codehaus.org/browse/RVM-814
>             Project: RVM
>          Issue Type: Bug
>          Components: Runtime: Class Library
>    Affects Versions: 3.0.1, svn head
>         Environment: Intel IA32, Linux 2.6.27, Ubuntu 8.10
>            Reporter: Byeong Lee
>             Fix For: 3.1.0
>
>         Attachments: reflection.patch, ReflectionTest.java
>
>
> It appears that Jikes RVM has a bug in the implementation of its reflection.
> For the detail, look at the patch and the test case: reflection.patch and
> Reflection.java. Try the following.
> 1. To see the bug, try the following three command lines.
> $javac ReflectionTest.java
> $java -showversion ReflectionTest
> java version "1.6.0_10"
> Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
> Java HotSpot(TM) Server VM (build 11.0-b15, mixed mode)
> newInstance: pass
> invokeVirtual: pass
> invokeStatic: pass
> $rvm ReflectionTest
> ...
> newInstance: pass
> invokeVirtual: fail
> unexpected cause of the Invocation target exception:
> java.lang.reflect.InvocationTargetException
> ...
> invokeStatic: fail
> unexpected cause of the Invocation target exception:
> 2. To correct the bug, try the following.
>  * Apply the patch: reflection.patch
>  * Build Jikes RVM
>  * Run it
> $rvm ReflectionTest
> newInstance: pass
> invokeVirtual: pass
> invokeStatic: pass

--
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

       

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Jikesrvm-issues mailing list
Jikesrvm-issues@...
https://lists.sourceforge.net/lists/listinfo/jikesrvm-issues

[jira] Updated: (RVM-814) Wrong exception from Java reflection

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

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/RVM-814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Byeong Lee updated RVM-814:
---------------------------

    Attachment:     (was: ReflectionTest.java)

> Wrong exception from Java reflection
> ------------------------------------
>
>                 Key: RVM-814
>                 URL: http://jira.codehaus.org/browse/RVM-814
>             Project: RVM
>          Issue Type: Bug
>          Components: Runtime: Class Library
>    Affects Versions: 3.0.1, svn head
>         Environment: Intel IA32, Linux 2.6.27, Ubuntu 8.10
>            Reporter: Byeong Lee
>             Fix For: 3.1.0
>
>         Attachments: reflection.patch, ReflectionTest.java
>
>
> It appears that Jikes RVM has a bug in the implementation of its reflection.
> For the detail, look at the patch and the test case: reflection.patch and
> Reflection.java. Try the following.
> 1. To see the bug, try the following three command lines.
> $javac ReflectionTest.java
> $java -showversion ReflectionTest
> java version "1.6.0_10"
> Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
> Java HotSpot(TM) Server VM (build 11.0-b15, mixed mode)
> newInstance: pass
> invokeVirtual: pass
> invokeStatic: pass
> $rvm ReflectionTest
> ...
> newInstance: pass
> invokeVirtual: fail
> unexpected cause of the Invocation target exception:
> java.lang.reflect.InvocationTargetException
> ...
> invokeStatic: fail
> unexpected cause of the Invocation target exception:
> 2. To correct the bug, try the following.
>  * Apply the patch: reflection.patch
>  * Build Jikes RVM
>  * Run it
> $rvm ReflectionTest
> newInstance: pass
> invokeVirtual: pass
> invokeStatic: pass

--
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

       

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Jikesrvm-issues mailing list
Jikesrvm-issues@...
https://lists.sourceforge.net/lists/listinfo/jikesrvm-issues

[jira] Updated: (RVM-814) Wrong exception from Java reflection

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

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/RVM-814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Grove updated RVM-814:
----------------------------

    Priority: Critical  (was: Major)

> Wrong exception from Java reflection
> ------------------------------------
>
>                 Key: RVM-814
>                 URL: http://jira.codehaus.org/browse/RVM-814
>             Project: RVM
>          Issue Type: Bug
>          Components: Runtime: Class Library
>    Affects Versions: 3.0.1, svn head
>         Environment: Intel IA32, Linux 2.6.27, Ubuntu 8.10
>            Reporter: Byeong Lee
>            Priority: Critical
>             Fix For: 3.1.0
>
>         Attachments: reflection.patch, ReflectionTest.java
>
>
> It appears that Jikes RVM has a bug in the implementation of its reflection.
> For the detail, look at the patch and the test case: reflection.patch and
> Reflection.java. Try the following.
> 1. To see the bug, try the following three command lines.
> $javac ReflectionTest.java
> $java -showversion ReflectionTest
> java version "1.6.0_10"
> Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
> Java HotSpot(TM) Server VM (build 11.0-b15, mixed mode)
> newInstance: pass
> invokeVirtual: pass
> invokeStatic: pass
> $rvm ReflectionTest
> ...
> newInstance: pass
> invokeVirtual: fail
> unexpected cause of the Invocation target exception:
> java.lang.reflect.InvocationTargetException
> ...
> invokeStatic: fail
> unexpected cause of the Invocation target exception:
> 2. To correct the bug, try the following.
>  * Apply the patch: reflection.patch
>  * Build Jikes RVM
>  * Run it
> $rvm ReflectionTest
> newInstance: pass
> invokeVirtual: pass
> invokeStatic: pass

--
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

       

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Jikesrvm-issues mailing list
Jikesrvm-issues@...
https://lists.sourceforge.net/lists/listinfo/jikesrvm-issues

[jira] Commented: (RVM-814) Wrong exception from Java reflection

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

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/RVM-814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=175414#action_175414 ]

Ian Rogers commented on RVM-814:
--------------------------------

Also tracked with a better break down of the actual problem in MRP: http://jira.codehaus.org/browse/MRP-3

> Wrong exception from Java reflection
> ------------------------------------
>
>                 Key: RVM-814
>                 URL: http://jira.codehaus.org/browse/RVM-814
>             Project: RVM
>          Issue Type: Bug
>          Components: Runtime: Class Library
>    Affects Versions: 3.0.1, svn head
>         Environment: Intel IA32, Linux 2.6.27, Ubuntu 8.10
>            Reporter: Byeong Lee
>            Priority: Critical
>             Fix For: 3.1.0
>
>         Attachments: reflection.patch, ReflectionTest.java
>
>
> It appears that Jikes RVM has a bug in the implementation of its reflection.
> For the detail, look at the patch and the test case: reflection.patch and
> Reflection.java. Try the following.
> 1. To see the bug, try the following three command lines.
> $javac ReflectionTest.java
> $java -showversion ReflectionTest
> java version "1.6.0_10"
> Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
> Java HotSpot(TM) Server VM (build 11.0-b15, mixed mode)
> newInstance: pass
> invokeVirtual: pass
> invokeStatic: pass
> $rvm ReflectionTest
> ...
> newInstance: pass
> invokeVirtual: fail
> unexpected cause of the Invocation target exception:
> java.lang.reflect.InvocationTargetException
> ...
> invokeStatic: fail
> unexpected cause of the Invocation target exception:
> 2. To correct the bug, try the following.
>  * Apply the patch: reflection.patch
>  * Build Jikes RVM
>  * Run it
> $rvm ReflectionTest
> newInstance: pass
> invokeVirtual: pass
> invokeStatic: pass

--
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

       

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Jikesrvm-issues mailing list
Jikesrvm-issues@...
https://lists.sourceforge.net/lists/listinfo/jikesrvm-issues

[jira] Resolved: (RVM-814) Wrong exception from Java reflection

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

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/RVM-814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Filip Pizlo resolved RVM-814.
-----------------------------

    Resolution: Fixed

Patch committed in r15700.

> Wrong exception from Java reflection
> ------------------------------------
>
>                 Key: RVM-814
>                 URL: http://jira.codehaus.org/browse/RVM-814
>             Project: RVM
>          Issue Type: Bug
>          Components: Runtime: Class Library
>    Affects Versions: 3.0.1, svn head
>         Environment: Intel IA32, Linux 2.6.27, Ubuntu 8.10
>            Reporter: Byeong Lee
>            Priority: Critical
>             Fix For: 3.1.0
>
>         Attachments: reflection.patch, ReflectionTest.java
>
>
> It appears that Jikes RVM has a bug in the implementation of its reflection.
> For the detail, look at the patch and the test case: reflection.patch and
> Reflection.java. Try the following.
> 1. To see the bug, try the following three command lines.
> $javac ReflectionTest.java
> $java -showversion ReflectionTest
> java version "1.6.0_10"
> Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
> Java HotSpot(TM) Server VM (build 11.0-b15, mixed mode)
> newInstance: pass
> invokeVirtual: pass
> invokeStatic: pass
> $rvm ReflectionTest
> ...
> newInstance: pass
> invokeVirtual: fail
> unexpected cause of the Invocation target exception:
> java.lang.reflect.InvocationTargetException
> ...
> invokeStatic: fail
> unexpected cause of the Invocation target exception:
> 2. To correct the bug, try the following.
>  * Apply the patch: reflection.patch
>  * Build Jikes RVM
>  * Run it
> $rvm ReflectionTest
> newInstance: pass
> invokeVirtual: pass
> invokeStatic: pass

--
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

       

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Jikesrvm-issues mailing list
Jikesrvm-issues@...
https://lists.sourceforge.net/lists/listinfo/jikesrvm-issues

[jira] Commented: (RVM-814) Wrong exception from Java reflection

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

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/RVM-814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=178840#action_178840 ]

Ian Rogers commented on RVM-814:
--------------------------------

Just FYI, MRP won't apply this patch as it is incorrect.

> Wrong exception from Java reflection
> ------------------------------------
>
>                 Key: RVM-814
>                 URL: http://jira.codehaus.org/browse/RVM-814
>             Project: RVM
>          Issue Type: Bug
>          Components: Runtime: Class Library
>    Affects Versions: 3.0.1, svn head
>         Environment: Intel IA32, Linux 2.6.27, Ubuntu 8.10
>            Reporter: Byeong Lee
>            Priority: Critical
>             Fix For: 3.1.0
>
>         Attachments: reflection.patch, ReflectionTest.java
>
>
> It appears that Jikes RVM has a bug in the implementation of its reflection.
> For the detail, look at the patch and the test case: reflection.patch and
> Reflection.java. Try the following.
> 1. To see the bug, try the following three command lines.
> $javac ReflectionTest.java
> $java -showversion ReflectionTest
> java version "1.6.0_10"
> Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
> Java HotSpot(TM) Server VM (build 11.0-b15, mixed mode)
> newInstance: pass
> invokeVirtual: pass
> invokeStatic: pass
> $rvm ReflectionTest
> ...
> newInstance: pass
> invokeVirtual: fail
> unexpected cause of the Invocation target exception:
> java.lang.reflect.InvocationTargetException
> ...
> invokeStatic: fail
> unexpected cause of the Invocation target exception:
> 2. To correct the bug, try the following.
>  * Apply the patch: reflection.patch
>  * Build Jikes RVM
>  * Run it
> $rvm ReflectionTest
> newInstance: pass
> invokeVirtual: pass
> invokeStatic: pass

--
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

       

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Jikesrvm-issues mailing list
Jikesrvm-issues@...
https://lists.sourceforge.net/lists/listinfo/jikesrvm-issues

[jira] Reopened: (RVM-814) Wrong exception from Java reflection

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

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/RVM-814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Grove reopened RVM-814:
-----------------------------

      Assignee: David Grove

testing alternate fix.


> Wrong exception from Java reflection
> ------------------------------------
>
>                 Key: RVM-814
>                 URL: http://jira.codehaus.org/browse/RVM-814
>             Project: RVM
>          Issue Type: Bug
>          Components: Runtime: Class Library
>    Affects Versions: 3.0.1, svn head
>         Environment: Intel IA32, Linux 2.6.27, Ubuntu 8.10
>            Reporter: Byeong Lee
>            Assignee: David Grove
>            Priority: Critical
>             Fix For: 3.1.0
>
>         Attachments: reflection.patch, ReflectionTest.java
>
>
> It appears that Jikes RVM has a bug in the implementation of its reflection.
> For the detail, look at the patch and the test case: reflection.patch and
> Reflection.java. Try the following.
> 1. To see the bug, try the following three command lines.
> $javac ReflectionTest.java
> $java -showversion ReflectionTest
> java version "1.6.0_10"
> Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
> Java HotSpot(TM) Server VM (build 11.0-b15, mixed mode)
> newInstance: pass
> invokeVirtual: pass
> invokeStatic: pass
> $rvm ReflectionTest
> ...
> newInstance: pass
> invokeVirtual: fail
> unexpected cause of the Invocation target exception:
> java.lang.reflect.InvocationTargetException
> ...
> invokeStatic: fail
> unexpected cause of the Invocation target exception:
> 2. To correct the bug, try the following.
>  * Apply the patch: reflection.patch
>  * Build Jikes RVM
>  * Run it
> $rvm ReflectionTest
> newInstance: pass
> invokeVirtual: pass
> invokeStatic: pass

--
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

       

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Jikesrvm-issues mailing list
Jikesrvm-issues@...
https://lists.sourceforge.net/lists/listinfo/jikesrvm-issues

[jira] Closed: (RVM-814) Wrong exception from Java reflection

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

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/RVM-814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Grove closed RVM-814.
---------------------------

    Resolution: Fixed

alternate fix committed in r15701.


> Wrong exception from Java reflection
> ------------------------------------
>
>                 Key: RVM-814
>                 URL: http://jira.codehaus.org/browse/RVM-814
>             Project: RVM
>          Issue Type: Bug
>          Components: Runtime: Class Library
>    Affects Versions: 3.0.1, svn head
>         Environment: Intel IA32, Linux 2.6.27, Ubuntu 8.10
>            Reporter: Byeong Lee
>            Assignee: David Grove
>            Priority: Critical
>             Fix For: 3.1.0
>
>         Attachments: reflection.patch, ReflectionTest.java
>
>
> It appears that Jikes RVM has a bug in the implementation of its reflection.
> For the detail, look at the patch and the test case: reflection.patch and
> Reflection.java. Try the following.
> 1. To see the bug, try the following three command lines.
> $javac ReflectionTest.java
> $java -showversion ReflectionTest
> java version "1.6.0_10"
> Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
> Java HotSpot(TM) Server VM (build 11.0-b15, mixed mode)
> newInstance: pass
> invokeVirtual: pass
> invokeStatic: pass
> $rvm ReflectionTest
> ...
> newInstance: pass
> invokeVirtual: fail
> unexpected cause of the Invocation target exception:
> java.lang.reflect.InvocationTargetException
> ...
> invokeStatic: fail
> unexpected cause of the Invocation target exception:
> 2. To correct the bug, try the following.
>  * Apply the patch: reflection.patch
>  * Build Jikes RVM
>  * Run it
> $rvm ReflectionTest
> newInstance: pass
> invokeVirtual: pass
> invokeStatic: pass

--
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

       

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Jikesrvm-issues mailing list
Jikesrvm-issues@...
https://lists.sourceforge.net/lists/listinfo/jikesrvm-issues