I prepared the patch for the test and a sample patch for implementation which enables the test passing on IBM VME. As I'm not an expert in util.prefs, I'd like someone to review the patch and add a warning message.
Unfortunately I did not manage to upload attachments to H-1751; got the mesage: Exception trying to establish attachment directory. Check that the application server and JIRA have permissions to write to it: com.atlassian.jira.web.util.AttachmentException: Cannot write to attachment directory. Check that the application server and JIRA have permissions to write to: /usr/local/tomcat/tomcat-jira/attachments/HARMONY/HARMONY-1751 Are there any problems with attachment directory? I'll make another try later. On 10/12/06, Nathan Beyer <[EMAIL PROTECTED]> wrote:
Can you provide a patch for the test case that correctly asserts the specification's contract and passes on the RI? This may help for someone to provide a fix for the issue. -Nathan On 10/11/06, Elena Semukhina <[EMAIL PROTECTED]> wrote: > Hi all, > > org.apache.harmony.prefs.tests.java.util.prefs.PreferencesTest fails on some > machines when there are restrictions in access to system registry. > https://issues.apache.org/jira/browse/HARMONY-1751 describes the issue. It > looks like Harmony implementation does not follow spec for > Preferences.systemNodeForPackage(). Besides, the test is incorrect as well > because it does not expect java.util.prefs.BackingStoreException on > Preferences.childrenNames() and fails on RI. > > Could anyone look into the issue? > > -- > Thanks, > Elena > > --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Thanks, Elena