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/11/01 12:10:16 UTC
[jira] Created: (HARMONY-2035) [drlvm][verifier] too eager check of
constraints for exceptions
[drlvm][verifier] too eager check of constraints for exceptions
---------------------------------------------------------------
Key: HARMONY-2035
URL: http://issues.apache.org/jira/browse/HARMONY-2035
Project: Harmony
Issue Type: Bug
Components: DRLVM
Reporter: Alexey Varlamov
Priority: Minor
Attachments: ExcVerifyTest.java
If a method of a class has unresolvable reference to exception in "throws" clause, DRLVM fails to initialize such class even if such exception is never referenced in real code (neither thrown nor catched).
This is inconsistent with all other JVMs (Sun's, BEA's, J9).
--
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-2035) [drlvm][verifier] too eager check of
constraints for exceptions
Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-2035?page=all ]
Alexey Varlamov updated HARMONY-2035:
-------------------------------------
Patch Info: [Patch Available]
The patch works as expected.
> [drlvm][verifier] too eager check of constraints for exceptions
> ---------------------------------------------------------------
>
> Key: HARMONY-2035
> URL: http://issues.apache.org/jira/browse/HARMONY-2035
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Alexey Varlamov
> Priority: Minor
> Attachments: ExcVerifyTest.java, verifier.patch
>
>
> If a method of a class has unresolvable reference to exception in "throws" clause, DRLVM fails to initialize such class even if such exception is never referenced in real code (neither thrown nor catched).
> This is inconsistent with all other JVMs (Sun's, BEA's, J9).
--
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-2035) [drlvm][verifier] too eager check of
constraints for exceptions
Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-2035?page=all ]
Alexey Varlamov updated HARMONY-2035:
-------------------------------------
Attachment: ExcVerifyTest.java
The test to reproduce: compile and erase "Missing.class", then run. RI passes even with -Xverify option.
> [drlvm][verifier] too eager check of constraints for exceptions
> ---------------------------------------------------------------
>
> Key: HARMONY-2035
> URL: http://issues.apache.org/jira/browse/HARMONY-2035
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Alexey Varlamov
> Priority: Minor
> Attachments: ExcVerifyTest.java
>
>
> If a method of a class has unresolvable reference to exception in "throws" clause, DRLVM fails to initialize such class even if such exception is never referenced in real code (neither thrown nor catched).
> This is inconsistent with all other JVMs (Sun's, BEA's, J9).
--
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-2035) [drlvm][verifier] too eager check
of constraints for exceptions
Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-2035?page=all ]
Gregory Shimansky resolved HARMONY-2035.
----------------------------------------
Resolution: Fixed
Applied at revision 470386. Please check that it has been applied as expected.
> [drlvm][verifier] too eager check of constraints for exceptions
> ---------------------------------------------------------------
>
> Key: HARMONY-2035
> URL: http://issues.apache.org/jira/browse/HARMONY-2035
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Alexey Varlamov
> Assigned To: Gregory Shimansky
> Priority: Minor
> Attachments: ExcVerifyTest.java, verifier.patch
>
>
> If a method of a class has unresolvable reference to exception in "throws" clause, DRLVM fails to initialize such class even if such exception is never referenced in real code (neither thrown nor catched).
> This is inconsistent with all other JVMs (Sun's, BEA's, J9).
--
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-2035) [drlvm][verifier] too eager check of
constraints for exceptions
Posted by "Pavel Rebriy (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-2035?page=all ]
Pavel Rebriy updated HARMONY-2035:
----------------------------------
Attachment: verifier.patch
The patch to fix the problem.
Removed strict verification of method throwing object.
> [drlvm][verifier] too eager check of constraints for exceptions
> ---------------------------------------------------------------
>
> Key: HARMONY-2035
> URL: http://issues.apache.org/jira/browse/HARMONY-2035
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Alexey Varlamov
> Priority: Minor
> Attachments: ExcVerifyTest.java, verifier.patch
>
>
> If a method of a class has unresolvable reference to exception in "throws" clause, DRLVM fails to initialize such class even if such exception is never referenced in real code (neither thrown nor catched).
> This is inconsistent with all other JVMs (Sun's, BEA's, J9).
--
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-2035) [drlvm][verifier] too eager check
of constraints for exceptions
Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-2035?page=all ]
Gregory Shimansky reassigned HARMONY-2035:
------------------------------------------
Assignee: Gregory Shimansky
> [drlvm][verifier] too eager check of constraints for exceptions
> ---------------------------------------------------------------
>
> Key: HARMONY-2035
> URL: http://issues.apache.org/jira/browse/HARMONY-2035
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Alexey Varlamov
> Assigned To: Gregory Shimansky
> Priority: Minor
> Attachments: ExcVerifyTest.java, verifier.patch
>
>
> If a method of a class has unresolvable reference to exception in "throws" clause, DRLVM fails to initialize such class even if such exception is never referenced in real code (neither thrown nor catched).
> This is inconsistent with all other JVMs (Sun's, BEA's, J9).
--
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-2035) [drlvm][verifier] too eager check of
constraints for exceptions
Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-2035?page=all ]
Alexey Varlamov closed HARMONY-2035.
------------------------------------
It's ok, closing.
> [drlvm][verifier] too eager check of constraints for exceptions
> ---------------------------------------------------------------
>
> Key: HARMONY-2035
> URL: http://issues.apache.org/jira/browse/HARMONY-2035
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Alexey Varlamov
> Assigned To: Gregory Shimansky
> Priority: Minor
> Attachments: ExcVerifyTest.java, verifier.patch
>
>
> If a method of a class has unresolvable reference to exception in "throws" clause, DRLVM fails to initialize such class even if such exception is never referenced in real code (neither thrown nor catched).
> This is inconsistent with all other JVMs (Sun's, BEA's, J9).
--
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