harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chunrong Lai (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-6072) [buildtest][eut][drlvm] Remove duplicate entry for classlib of Harmony
Date Fri, 16 Jan 2009 04:03:02 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-6072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664399#action_12664399

Chunrong Lai commented on HARMONY-6072:

 In my understanding both of the errors I met are due to the limitations, added by the source
of EUT, to the JVM.
 (1) EUT35 requires that any entry of its classpath list must physical exist. Since it always
adds dependent jar, specified in the Class-Path info, of a bootclasspath jar into its classpath
list, those dependent jars must lie in the same directory of the original jar, although the
jar file (like the serializer.jar) may be not really needed.  
 (2) EUT35 requires no duplicate entry in its classpath list. Since EUT35 extracts the dependent
jar files into its classpath list, if the jar file is not in there already, the "duplicate
entry" check may fail in Harmony when the dependent jar file, if it is also in the bootclasspath
but in a later position, is added into EUT35's classpath  list.

 For (1), if the new requirement of EUT is justfied, Harmony has not problem to re-arrange
the jar files.
 For (2), I think EUT should add all items of VM bootclasspath into its classpath list before
extracting dependent jar files to classpath list. If EUT does not change, a workaround of
Harmony is reordering the bootclasspath,  changing bootclasspath.properties/SetClassPathFromJarFile(),
to let the dependent jars always appear before the original jar. This assumes a reading order
of our bootclasspath in user applications.

> [buildtest][eut][drlvm] Remove duplicate entry for classlib of Harmony
> ----------------------------------------------------------------------
>                 Key: HARMONY-6072
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6072
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>    Affects Versions: 5.0M8
>         Environment: Any
>            Reporter: Chunrong Lai
>             Fix For: 5.0M9
>         Attachments: ClasslibDirTest.java, H6072.patch, H6072.patch, H6072.patch_1
>  When running attached test case extracted from EUT3.5. Harmony will get duplicate (Jar)
entry of classlib which leads to later error of EUT.

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

View raw message