You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Stepan Mishura (JIRA)" <ji...@apache.org> on 2006/04/24 09:09:09 UTC
[jira] Resolved: (HARMONY-393) [classlib][luni] Add
java.lang.EnumConstantNotPresentException and test case
[ http://issues.apache.org/jira/browse/HARMONY-393?page=all ]
Stepan Mishura resolved HARMONY-393:
------------------------------------
Resolution: Fixed
Hi Nathan,
Java doesn't let constructor to return null value and the next check doesn't make sense for me:
EnumConstantNotPresentException e = new EnumConstantNotPresentException(Fixture.class, "FOUR");
assertNotNull(e);
So I removed this code from unit test.
Updated patch was applied to LUNI module at repo revision 396464.
Please check that the patch was applied as you expected.
> [classlib][luni] Add java.lang.EnumConstantNotPresentException and test case
> ----------------------------------------------------------------------------
>
> Key: HARMONY-393
> URL: http://issues.apache.org/jira/browse/HARMONY-393
> Project: Harmony
> Type: New Feature
> Components: Classlib
> Reporter: Nathan Beyer
> Assignee: Stepan Mishura
> Priority: Minor
> Attachments: EnumConstantNotPresentException.java, EnumConstantNotPresentExceptionTest.java
>
> Implementation of java.lang.EnumConstantNotPresentException and test case.
--
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