harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vasily Zakharov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-3390) [JDK][EUT] 1 test fails from org.eclipse.jdt.apt.tests suit
Date Thu, 24 May 2007 13:16:16 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-3390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12498635

Vasily Zakharov commented on HARMONY-3390:

Nina, thank you very much for your response and investigation!

Looks sure like a bug in the test. The number of classes in java.util package received by
the test (79 for RI, 74 for Harmony) is the actual number of classes (not enums, not interfaces,
not internal classes) in java.util package. This includes both public and non-public classes.
Both RI and Harmony have the same public classes available, but there're 9 non-public classes,
that are present in RI only:


and 4 non-public classes, that are present in Harmony only:


It seems clear that the difference in these numbers (9 - 4 = 5 = 79 - 74) is the difference
observed by the test and causing the fail.

As non-public classes in java.* packages are not specified, basing a test on the number of
them is clearly a bug in the test.

> [JDK][EUT] 1 test fails from org.eclipse.jdt.apt.tests suit
> -----------------------------------------------------------
>                 Key: HARMONY-3390
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3390
>             Project: Harmony
>          Issue Type: Bug
>          Components: JDK
>            Reporter: Aleksey Ignatenko
> 1 test fails from org.eclipse.jdt.apt.tests suit.
> Stack trace:
> classname="org.eclipse.jdt.apt.tests.MirrorTests" name="testMirror"
>       <failure message=" ----------- Expected ------------ NO ERRORS ------------
but was ------------ java.lang.IllegalStateException: Failed during test:  Ex
> pected 79, but saw 74. Reason: Number of classes in java.util --------- Difference is
----------  expected:&lt;NO ERRORS&gt; but  was:&lt;java.lang.IllegalStat
> eException: Failed during test: Expected 79, but saw 74. Reason: Number of classes in
java.util&gt;"  type="junit.framework.ComparisonFailure">junit.framework.
> ComparisonFailure:
> The test is to be checked that it is definitly HY bug, possible that it is Eclipse bug.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message