You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey Varlamov (JIRA)" <ji...@apache.org> on 2006/08/22 12:56:13 UTC
[jira] Created: (HARMONY-1258) [drlvm][kernel] Incorrect detection
of privileged and reflection frames in
Java_org_apache_harmony_vm_VMStack_getClasses
[drlvm][kernel] Incorrect detection of privileged and reflection frames in Java_org_apache_harmony_vm_VMStack_getClasses
------------------------------------------------------------------------------------------------------------------------
Key: HARMONY-1258
URL: http://issues.apache.org/jira/browse/HARMONY-1258
Project: Harmony
Issue Type: Bug
Components: DRLVM
Reporter: Alexey Varlamov
The API contract of o.a.h.vm.VMStack.getClasses(int maxSize, boolean considerPrivileged) requires special handling of reflection and privileged frames of Java stack, but detection mechanism is buggy:
1) Only 1 of 4 j.s.AccessController.doPrivileged() methods is recognized (which one depends on bootstrap sequence (!) );
2) j.l.reflect.Constructor.newInstance() is not considered as reflection frame.
Also, currently this method is used only by j.s.AccessController, with the same arguments getClasses(-1, true). This method may worth to be re-designed.
The fix will follow later.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Resolved: (HARMONY-1258) [drlvm][kernel] Incorrect detection
of privileged and reflection frames in
Java_org_apache_harmony_vm_VMStack_getClasses
Posted by "Geir Magnusson Jr (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1258?page=all ]
Geir Magnusson Jr resolved HARMONY-1258.
----------------------------------------
Resolution: Fixed
r448414.
applied, tested Ubuntu 6
> [drlvm][kernel] Incorrect detection of privileged and reflection frames in Java_org_apache_harmony_vm_VMStack_getClasses
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-1258
> URL: http://issues.apache.org/jira/browse/HARMONY-1258
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Alexey Varlamov
> Assigned To: Geir Magnusson Jr
> Attachments: H-1258.patch
>
>
> The API contract of o.a.h.vm.VMStack.getClasses(int maxSize, boolean considerPrivileged) requires special handling of reflection and privileged frames of Java stack, but detection mechanism is buggy:
> 1) Only 1 of 4 j.s.AccessController.doPrivileged() methods is recognized (which one depends on bootstrap sequence (!) );
> 2) j.l.reflect.Constructor.newInstance() is not considered as reflection frame.
> Also, currently this method is used only by j.s.AccessController, with the same arguments getClasses(-1, true). This method may worth to be re-designed.
> The fix will follow later.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Assigned: (HARMONY-1258) [drlvm][kernel] Incorrect detection
of privileged and reflection frames in
Java_org_apache_harmony_vm_VMStack_getClasses
Posted by "Geir Magnusson Jr (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1258?page=all ]
Geir Magnusson Jr reassigned HARMONY-1258:
------------------------------------------
Assignee: Geir Magnusson Jr
> [drlvm][kernel] Incorrect detection of privileged and reflection frames in Java_org_apache_harmony_vm_VMStack_getClasses
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-1258
> URL: http://issues.apache.org/jira/browse/HARMONY-1258
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Alexey Varlamov
> Assigned To: Geir Magnusson Jr
> Attachments: H-1258.patch
>
>
> The API contract of o.a.h.vm.VMStack.getClasses(int maxSize, boolean considerPrivileged) requires special handling of reflection and privileged frames of Java stack, but detection mechanism is buggy:
> 1) Only 1 of 4 j.s.AccessController.doPrivileged() methods is recognized (which one depends on bootstrap sequence (!) );
> 2) j.l.reflect.Constructor.newInstance() is not considered as reflection frame.
> Also, currently this method is used only by j.s.AccessController, with the same arguments getClasses(-1, true). This method may worth to be re-designed.
> The fix will follow later.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (HARMONY-1258) [drlvm][kernel] Incorrect detection
of privileged and reflection frames in
Java_org_apache_harmony_vm_VMStack_getClasses
Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1258?page=all ]
Alexey Varlamov updated HARMONY-1258:
-------------------------------------
Attachment: H-1258.patch
The fix is provided now.
> [drlvm][kernel] Incorrect detection of privileged and reflection frames in Java_org_apache_harmony_vm_VMStack_getClasses
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-1258
> URL: http://issues.apache.org/jira/browse/HARMONY-1258
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Alexey Varlamov
> Attachments: H-1258.patch
>
>
> The API contract of o.a.h.vm.VMStack.getClasses(int maxSize, boolean considerPrivileged) requires special handling of reflection and privileged frames of Java stack, but detection mechanism is buggy:
> 1) Only 1 of 4 j.s.AccessController.doPrivileged() methods is recognized (which one depends on bootstrap sequence (!) );
> 2) j.l.reflect.Constructor.newInstance() is not considered as reflection frame.
> Also, currently this method is used only by j.s.AccessController, with the same arguments getClasses(-1, true). This method may worth to be re-designed.
> The fix will follow later.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (HARMONY-1258) [drlvm][kernel] Incorrect detection
of privileged and reflection frames in
Java_org_apache_harmony_vm_VMStack_getClasses
Posted by "Geir Magnusson Jr (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1258?page=all ]
Geir Magnusson Jr closed HARMONY-1258.
--------------------------------------
> [drlvm][kernel] Incorrect detection of privileged and reflection frames in Java_org_apache_harmony_vm_VMStack_getClasses
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-1258
> URL: http://issues.apache.org/jira/browse/HARMONY-1258
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Alexey Varlamov
> Assigned To: Geir Magnusson Jr
> Attachments: H-1258.patch
>
>
> The API contract of o.a.h.vm.VMStack.getClasses(int maxSize, boolean considerPrivileged) requires special handling of reflection and privileged frames of Java stack, but detection mechanism is buggy:
> 1) Only 1 of 4 j.s.AccessController.doPrivileged() methods is recognized (which one depends on bootstrap sequence (!) );
> 2) j.l.reflect.Constructor.newInstance() is not considered as reflection frame.
> Also, currently this method is used only by j.s.AccessController, with the same arguments getClasses(-1, true). This method may worth to be re-designed.
> The fix will follow later.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira