harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ndbe...@apache.org
Subject svn commit: r443543 [1/2] - in /incubator/harmony/enhanced/classlib/trunk/modules/prefs: ./ .settings/ META-INF/ make/ src/main/native/prefs/windows/ src/test/java/org/apache/harmony/prefs/tests/ src/test/resources/prefs/java/util/prefs/
Date Fri, 15 Sep 2006 01:39:02 GMT
Author: ndbeyer
Date: Thu Sep 14 18:39:01 2006
New Revision: 443543

URL: http://svn.apache.org/viewvc?view=rev&rev=443543
Log:
Set eol-style = native for prefs module.

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/.settings/org.eclipse.jdt.core.prefs   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/.settings/org.eclipse.jdt.ui.prefs   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/.settings/org.eclipse.pde.core.prefs   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/META-INF/MANIFEST.MF   (props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/build.xml   (props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/make/patternset.txt   (props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/main/native/prefs/windows/PreferencesImpl.c   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/main/native/prefs/windows/java_util_prefs_RegistryPreferencesImpl.h   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/main/native/prefs/windows/prefs_copyright.c   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/AllTests.java   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/preferences.dtd   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/userprefs-ascii.xml   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/userprefs-badencoding.xml   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/userprefs-badform.xml   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/userprefs-badtype.xml   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/userprefs-higherversion.xml   (contents, props changed)
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/userprefs.xml   (contents, props changed)

Modified: incubator/harmony/enhanced/classlib/trunk/modules/prefs/.settings/org.eclipse.jdt.core.prefs
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/prefs/.settings/org.eclipse.jdt.core.prefs?view=diff&rev=443543&r1=443542&r2=443543
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/prefs/.settings/org.eclipse.jdt.core.prefs (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/prefs/.settings/org.eclipse.jdt.core.prefs Thu Sep 14 18:39:01 2006
@@ -1,12 +1,12 @@
-#Wed May 03 13:10:22 BST 2006
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.4
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.5
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.5
+#Wed May 03 13:10:22 BST 2006
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.4
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/prefs/.settings/org.eclipse.jdt.core.prefs
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/harmony/enhanced/classlib/trunk/modules/prefs/.settings/org.eclipse.jdt.ui.prefs
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/prefs/.settings/org.eclipse.jdt.ui.prefs?view=diff&rev=443543&r1=443542&r2=443543
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/prefs/.settings/org.eclipse.jdt.ui.prefs (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/prefs/.settings/org.eclipse.jdt.ui.prefs Thu Sep 14 18:39:01 2006
@@ -1,3 +1,3 @@
-#Wed May 03 13:10:00 BST 2006
-eclipse.preferences.version=1
-internal.default.compliance=user
+#Wed May 03 13:10:00 BST 2006
+eclipse.preferences.version=1
+internal.default.compliance=user

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/prefs/.settings/org.eclipse.jdt.ui.prefs
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/harmony/enhanced/classlib/trunk/modules/prefs/.settings/org.eclipse.pde.core.prefs
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/prefs/.settings/org.eclipse.pde.core.prefs?view=diff&rev=443543&r1=443542&r2=443543
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/prefs/.settings/org.eclipse.pde.core.prefs (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/prefs/.settings/org.eclipse.pde.core.prefs Thu Sep 14 18:39:01 2006
@@ -1,4 +1,4 @@
-#Wed Apr 05 20:38:47 BST 2006
-eclipse.preferences.version=1
-pluginProject.equinox=false
-pluginProject.extensions=false
+#Wed Apr 05 20:38:47 BST 2006
+eclipse.preferences.version=1
+pluginProject.equinox=false
+pluginProject.extensions=false

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/prefs/.settings/org.eclipse.pde.core.prefs
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/prefs/META-INF/MANIFEST.MF
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/prefs/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/prefs/make/patternset.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/main/native/prefs/windows/PreferencesImpl.c
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/main/native/prefs/windows/PreferencesImpl.c?view=diff&rev=443543&r1=443542&r2=443543
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/main/native/prefs/windows/PreferencesImpl.c (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/main/native/prefs/windows/PreferencesImpl.c Thu Sep 14 18:39:01 2006
@@ -1,542 +1,542 @@
-/* Copyright 1991, 2005 The Apache Software Foundation or its licensors, as applicable
- * 
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *     http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include <windows.h>
-#include "vmi.h"
-
-#include "java_util_prefs_RegistryPreferencesImpl.h"
-
-// max buffer size in bytes
-#define MAX_KEY_LENGTH 255
-#define MAX_VALUE_NAME 255
-#define MAX_VALUE_DATA 16383
-
-//map windows error code to customized error code
-int
-checkErrorCode (DWORD err)
-{
-  switch (err)
-    {
-    case ERROR_ACCESS_DENIED:
-      return java_util_prefs_RegistryPreferencesImpl_RETURN_ACCESS_DENIED;
-    case ERROR_SUCCESS:
-      return java_util_prefs_RegistryPreferencesImpl_RETURN_SUCCESS;
-    case ERROR_FILE_NOT_FOUND:
-      return java_util_prefs_RegistryPreferencesImpl_RETURN_FILE_NOT_FOUND;
-    default:
-      return java_util_prefs_RegistryPreferencesImpl_RETURN_UNKNOWN_ERROR;
-    }
-}
-
-// convert java byte array to c string
-jbyte *
-byte2str (JNIEnv * env, const jbyteArray jkey)
-{
-  PORT_ACCESS_FROM_ENV (env);
-  jboolean isCopy = JNI_TRUE;
-  jbyte *keyByte = (*env)->GetPrimitiveArrayCritical (env, jkey, &isCopy);
-  const jsize keyLen = (*env)->GetArrayLength (env, jkey);
-  jbyte *keyStr = hymem_allocate_memory ((keyLen + 1) * sizeof (jbyte));
-  jsize i = 0;
-
-  if (keyByte == NULL)
-    {
-      return NULL;
-    }
-  while (i < keyLen)
-    keyStr[i] = keyByte[i++];
-  keyStr[i] = '\0';
-
-  if (isCopy == JNI_TRUE)
-    {
-      (*env)->ReleasePrimitiveArrayCritical (env, jkey, keyByte, JNI_ABORT);
-    }
-  return keyStr;
-}
-
-DWORD
-openRegKey (JNIEnv * env, jbyteArray jpath, jboolean jUserNode, PHKEY phKey,
-	    REGSAM samDesired)
-{
-  PORT_ACCESS_FROM_ENV (env);
-  jbyte *path = byte2str (env, jpath);
-  const HKEY root = jUserNode ? HKEY_CURRENT_USER : HKEY_LOCAL_MACHINE;
-  DWORD err;
-
-  err = RegOpenKeyEx (root, path, 0, samDesired, phKey);
-  if (err == ERROR_FILE_NOT_FOUND)
-    {
-      err =
-	RegCreateKeyEx (root, path, 0, NULL, REG_OPTION_NON_VOLATILE,
-			samDesired, NULL, phKey, NULL);
-    }
-  hymem_free_memory (path);
-  return err;
-}
-
-/*
- * Class:     java_util_prefs_RegistryPreferencesImpl
- * Method:    getValue
- * Signature: ([B[BZ[I)[B
- */
-JNIEXPORT jbyteArray JNICALL
-  Java_java_util_prefs_RegistryPreferencesImpl_getValue
-  (JNIEnv * env, jobject obj, jbyteArray jpath, jbyteArray jkey,
-   jboolean jUserNode, jintArray jErrorCode)
-{
-  PORT_ACCESS_FROM_ENV (env);
-  HKEY hKey;
-  DWORD type = REG_SZ, errorCode;
-  jbyteArray result;
-  jboolean isCopy = JNI_TRUE;
-  jint *err = NULL;
-  jbyte *keyStr = NULL;
-  TCHAR *value;
-  DWORD dwBufLen = MAX_VALUE_DATA + 1;
-  int localErrorCode = 0;
-
-  err = (*env)->GetPrimitiveArrayCritical (env, jErrorCode, &isCopy);
-  keyStr = byte2str (env, jkey);
-  errorCode = openRegKey (env, jpath, jUserNode, &hKey, KEY_QUERY_VALUE);
-  localErrorCode = checkErrorCode (errorCode);
-  err[java_util_prefs_RegistryPreferencesImpl_ERROR_CODE] = localErrorCode;
-  if (localErrorCode !=
-      java_util_prefs_RegistryPreferencesImpl_RETURN_SUCCESS)
-    {
-      if (isCopy == JNI_TRUE)
-	{
-	  (*env)->ReleasePrimitiveArrayCritical (env, jErrorCode, err, 0);
-	}
-      RegCloseKey (hKey);
-      hymem_free_memory (keyStr);
-      return NULL;
-    }
-  value = hymem_allocate_memory ((MAX_VALUE_DATA + 1) * sizeof (TCHAR));
-  errorCode = RegQueryValueEx (hKey, keyStr, 0, &type, value, &dwBufLen);
-  localErrorCode = checkErrorCode (errorCode);
-  RegCloseKey (hKey);
-  hymem_free_memory (keyStr);
-  if (isCopy == JNI_TRUE)
-    {
-      (*env)->ReleasePrimitiveArrayCritical (env, jErrorCode, err, 0);
-    }
-  err[java_util_prefs_RegistryPreferencesImpl_ERROR_CODE] = localErrorCode;
-  if (localErrorCode !=
-      java_util_prefs_RegistryPreferencesImpl_RETURN_SUCCESS)
-    {
-      hymem_free_memory (value);
-      return NULL;
-    }
-  if(dwBufLen > 0)
-    {
-      result = (*env)->NewByteArray (env, dwBufLen-1);
-      (*env)->SetByteArrayRegion (env, result, 0, dwBufLen-1, value);
-    }
-      else
-    {
-      result = (*env)->NewByteArray (env, 0);
-    }
-  hymem_free_memory (value);
-  return result;
-}
-
-/*
- * Class:     java_util_prefs_RegistryPreferencesImpl
- * Method:    putValue
- * Signature: ([B[B[BZ[I)V
- */
-JNIEXPORT void JNICALL Java_java_util_prefs_RegistryPreferencesImpl_putValue
-  (JNIEnv * env, jobject obj, jbyteArray jpath, jbyteArray jkey,
-   jbyteArray jvalue, jboolean jUserNode, jintArray jErrorCode)
-{
-  PORT_ACCESS_FROM_ENV (env);
-  DWORD err;
-  HKEY hKey;
-  jbyte *keyStr;
-  jbyte *valueByte;
-  int localErrorCode = 0;
-  const jint valueLen = (*env)->GetArrayLength (env, jvalue);
-  jboolean isCopy = JNI_TRUE;
-  jint *errArray =
-    (*env)->GetPrimitiveArrayCritical (env, jErrorCode, &isCopy);
-
-  err = openRegKey (env, jpath, jUserNode, &hKey, KEY_SET_VALUE);
-  localErrorCode = checkErrorCode (err);
-  errArray[java_util_prefs_RegistryPreferencesImpl_ERROR_CODE] =
-    localErrorCode;
-  if (localErrorCode !=
-      java_util_prefs_RegistryPreferencesImpl_RETURN_SUCCESS)
-    {
-      if (isCopy == JNI_TRUE)
-	{
-	  (*env)->ReleasePrimitiveArrayCritical (env, jErrorCode, errArray,
-						 0);
-	}
-      return;
-    }
-
-  keyStr = byte2str (env, jkey);
-  valueByte = byte2str (env, jvalue);
-  err = RegSetValueEx (hKey, keyStr, 0, REG_SZ, valueByte, valueLen);
-  errArray[java_util_prefs_RegistryPreferencesImpl_ERROR_CODE] =
-    checkErrorCode (err);
-  if (isCopy == JNI_TRUE)
-    {
-      (*env)->ReleasePrimitiveArrayCritical (env, jErrorCode, errArray, 0);
-    }
-  hymem_free_memory (keyStr);
-  hymem_free_memory (valueByte);
-  RegCloseKey (hKey);
-  return;
-}
-
-/*
- * Class:     java_util_prefs_RegistryPreferencesImpl
- * Method:    removeKey
- * Signature: ([B[BZ[I)V
- */
-JNIEXPORT void JNICALL Java_java_util_prefs_RegistryPreferencesImpl_removeKey
-  (JNIEnv * env, jobject obj, jbyteArray jpath, jbyteArray jkey,
-   jboolean jUserNode, jintArray jErrorCode)
-{
-  PORT_ACCESS_FROM_ENV (env);
-  DWORD err;
-  HKEY hKey;
-  jbyte *keyStr;
-  jboolean isCopy = JNI_TRUE;
-  jint *errArray =
-    (*env)->GetPrimitiveArrayCritical (env, jErrorCode, &isCopy);
-
-  err = openRegKey (env, jpath, jUserNode, &hKey, KEY_SET_VALUE);
-  if ((errArray[java_util_prefs_RegistryPreferencesImpl_ERROR_CODE] =
-       checkErrorCode (err)) !=
-      java_util_prefs_RegistryPreferencesImpl_RETURN_SUCCESS)
-    {
-      if (isCopy == JNI_TRUE)
-	{
-	  (*env)->ReleasePrimitiveArrayCritical (env, jErrorCode, errArray,
-						 0);
-	}
-      return;
-    }
-
-  keyStr = byte2str (env, jkey);
-  err = RegDeleteValue (hKey, keyStr);
-  errArray[java_util_prefs_RegistryPreferencesImpl_ERROR_CODE] =
-    checkErrorCode (err);
-  if (isCopy == JNI_TRUE)
-    {
-      (*env)->ReleasePrimitiveArrayCritical (env, jErrorCode, errArray, 0);
-    }
-  hymem_free_memory (keyStr);
-  RegCloseKey (hKey);
-  return;
-}
-
-/*
- * Class:     java_util_prefs_RegistryPreferencesImpl
- * Method:    keys
- * Signature: ([BZ[I)[[B
- */
-JNIEXPORT jobjectArray JNICALL
-  Java_java_util_prefs_RegistryPreferencesImpl_keys
-  (JNIEnv * env, jobject obj, jbyteArray jpath, jboolean jUserNode,
-   jintArray jErrorCode)
-{
-  PORT_ACCESS_FROM_ENV (env);
-  DWORD number, size;
-  jclass objectClazz;
-  jobjectArray result;
-  TCHAR *value;
-  DWORD i = 0, j, err;
-  HKEY hKey;
-  jboolean isCopy = JNI_TRUE;
-  jint *errArray =
-    (*env)->GetPrimitiveArrayCritical (env, jErrorCode, &isCopy);
-
-  err = openRegKey (env, jpath, jUserNode, &hKey, KEY_QUERY_VALUE);
-  if ((errArray[java_util_prefs_RegistryPreferencesImpl_ERROR_CODE] =
-       checkErrorCode (err)) !=
-      java_util_prefs_RegistryPreferencesImpl_RETURN_SUCCESS)
-    {
-      if (isCopy == JNI_TRUE)
-	{
-	  (*env)->ReleasePrimitiveArrayCritical (env, jErrorCode, errArray,
-						 0);
-	}
-      return NULL;
-    }
-
-  err =
-    RegQueryInfoKey (hKey, NULL, NULL, NULL, NULL, NULL, NULL, &number, NULL,
-		     NULL, NULL, NULL);
-  if ((errArray[java_util_prefs_RegistryPreferencesImpl_ERROR_CODE] =
-       checkErrorCode (err)) !=
-      java_util_prefs_RegistryPreferencesImpl_RETURN_SUCCESS)
-    {
-      if (isCopy == JNI_TRUE)
-	{
-	  (*env)->ReleasePrimitiveArrayCritical (env, jErrorCode, errArray,
-						 0);
-	}
-      RegCloseKey (hKey);
-      return NULL;
-    }
-  objectClazz = (*env)->FindClass (env, "java/lang/Object");
-  result = (*env)->NewObjectArray (env, number, objectClazz, NULL);
-
-  value = hymem_allocate_memory ((MAX_VALUE_NAME + 1) * sizeof (TCHAR));
-  for (j = 0; j < number; j++)
-    {
-      value[0] = '\0';
-      size = MAX_VALUE_NAME + 1;
-      err = RegEnumValue (hKey, j, value, &size, NULL, NULL, NULL, NULL);
-      if (err == ERROR_SUCCESS)
-	{
-	  jbyteArray key = (*env)->NewByteArray (env, strlen (value));
-	  (*env)->SetByteArrayRegion (env, key, 0, strlen (value), value);
-	  (*env)->SetObjectArrayElement (env, result, i++, key);
-	}
-      else
-	{
-	  errArray[java_util_prefs_RegistryPreferencesImpl_ERROR_CODE] =
-	    checkErrorCode (err);
-	}
-    }
-  if (isCopy == JNI_TRUE)
-    {
-      (*env)->ReleasePrimitiveArrayCritical (env, jErrorCode, errArray, 0);
-    }
-  hymem_free_memory (value);
-  RegCloseKey (hKey);
-  return result;
-}
-
-/*
- * Class:     java_util_prefs_RegistryPreferencesImpl
- * Method:    removeNode
- * Signature: ([B[BZ[I)V
- */
-JNIEXPORT void JNICALL Java_java_util_prefs_RegistryPreferencesImpl_removeNode
-  (JNIEnv * env, jobject obj, jbyteArray jpath, jbyteArray jname,
-   jboolean jUserNode, jintArray jErrorCode)
-{
-  PORT_ACCESS_FROM_ENV (env);
-  jbyte *nameStr;
-  HKEY hKey;
-  DWORD err;
-  jboolean isCopy = JNI_TRUE;
-  jint *errArray =
-    (*env)->GetPrimitiveArrayCritical (env, jErrorCode, &isCopy);
-
-  err = openRegKey (env, jpath, jUserNode, &hKey, KEY_SET_VALUE);
-  if ((errArray[java_util_prefs_RegistryPreferencesImpl_ERROR_CODE] =
-       checkErrorCode (err)) !=
-      java_util_prefs_RegistryPreferencesImpl_RETURN_SUCCESS)
-    {
-      if (isCopy == JNI_TRUE)
-	{
-	  (*env)->ReleasePrimitiveArrayCritical (env, jErrorCode, errArray,
-						 0);
-	}
-      return;
-    }
-
-  nameStr = byte2str (env, jname);
-  err = RegDeleteKey (hKey, nameStr);
-  errArray[java_util_prefs_RegistryPreferencesImpl_ERROR_CODE] =
-    checkErrorCode (err);
-  if (isCopy == JNI_TRUE)
-    {
-      (*env)->ReleasePrimitiveArrayCritical (env, jErrorCode, errArray, 0);
-    }
-  hymem_free_memory (nameStr);
-  RegCloseKey (hKey);
-  return;
-}
-
-/*
- * Class:     java_util_prefs_RegistryPreferencesImpl
- * Method:    getNode
- * Signature: ([B[BZ[I)Z
- */
-JNIEXPORT jboolean JNICALL
-  Java_java_util_prefs_RegistryPreferencesImpl_getNode
-  (JNIEnv * env, jobject obj, jbyteArray jpath, jbyteArray jname,
-   jboolean jUserNode, jintArray jErrorCode)
-{
-  PORT_ACCESS_FROM_ENV (env);
-  jbyte *name;
-  HKEY hKey, childKey;
-  DWORD dwDisposition, err;
-  jboolean isCopy = JNI_TRUE;
-  jint *errArray =
-    (*env)->GetPrimitiveArrayCritical (env, jErrorCode, &isCopy);
-
-  err = openRegKey (env, jpath, jUserNode, &hKey, KEY_QUERY_VALUE);
-  if ((errArray[java_util_prefs_RegistryPreferencesImpl_ERROR_CODE] =
-       checkErrorCode (err)) !=
-      java_util_prefs_RegistryPreferencesImpl_RETURN_SUCCESS)
-    {
-      if (isCopy == JNI_TRUE)
-	{
-	  (*env)->ReleasePrimitiveArrayCritical (env, jErrorCode, errArray,
-						 0);
-	}
-      return JNI_FALSE;
-    }
-
-  name = byte2str (env, jname);
-  err =
-    RegCreateKeyEx (hKey, name, 0, NULL, REG_OPTION_NON_VOLATILE,
-		    KEY_ALL_ACCESS, NULL, &childKey, &dwDisposition);
-  errArray[java_util_prefs_RegistryPreferencesImpl_ERROR_CODE] =
-    checkErrorCode (err);
-
-  if (isCopy == JNI_TRUE)
-    {
-      (*env)->ReleasePrimitiveArrayCritical (env, jErrorCode, errArray, 0);
-    }
-
-  hymem_free_memory (name);
-  RegCloseKey (hKey);
-  RegCloseKey (childKey);
-
-  return dwDisposition == REG_CREATED_NEW_KEY;
-}
-
-/*
- * Class:     java_util_prefs_RegistryPreferencesImpl
- * Method:    getChildNames
- * Signature: ([BZ[I)[[B
- */
-JNIEXPORT jobjectArray JNICALL
-Java_java_util_prefs_RegistryPreferencesImpl_getChildNames (JNIEnv * env,
-							    jobject obj,
-							    jbyteArray jpath,
-							    jboolean
-							    jUserNode,
-							    jintArray
-							    jErrorCode)
-{
-  PORT_ACCESS_FROM_ENV (env);
-  DWORD number, size;
-  jclass objectClazz = NULL;
-  jobjectArray result = NULL;
-  TCHAR *value;
-  DWORD i = 0, j;
-  HKEY hKey;
-  DWORD err;
-  jboolean isCopy = JNI_TRUE;
-  jint *errArray =
-    (*env)->GetPrimitiveArrayCritical (env, jErrorCode, &isCopy);
-
-  err = openRegKey (env, jpath, jUserNode, &hKey, KEY_READ);
-  if ((errArray[java_util_prefs_RegistryPreferencesImpl_ERROR_CODE] =
-       checkErrorCode (err)) !=
-      java_util_prefs_RegistryPreferencesImpl_RETURN_SUCCESS)
-    {
-      if (isCopy == JNI_TRUE)
-	{
-	  (*env)->ReleasePrimitiveArrayCritical (env, jErrorCode, errArray,
-						 0);
-	}
-      return NULL;
-    }
-
-  err =
-    RegQueryInfoKey (hKey, NULL, NULL, NULL, &number, NULL, NULL, NULL, NULL,
-		     NULL, NULL, NULL);
-  if ((errArray[java_util_prefs_RegistryPreferencesImpl_ERROR_CODE] =
-       checkErrorCode (err)) !=
-      java_util_prefs_RegistryPreferencesImpl_RETURN_SUCCESS)
-    {
-      if (isCopy == JNI_TRUE)
-	{
-	  (*env)->ReleasePrimitiveArrayCritical (env, jErrorCode, errArray,
-						 0);
-	}
-      RegCloseKey (hKey);
-      return NULL;
-    }
-
-  objectClazz = (*env)->FindClass (env, "java/lang/Object");
-  result = (*env)->NewObjectArray (env, number, objectClazz, NULL);
-  value = hymem_allocate_memory ((MAX_VALUE_DATA + 1) * sizeof (TCHAR));
-  for (j = 0; j < number; j++)
-    {
-      value[0] = '\0';
-      size = MAX_VALUE_DATA + 1;
-      err = RegEnumKeyEx (hKey, j, value, &size, NULL, NULL, NULL, NULL);
-      if (err == ERROR_SUCCESS)
-	{
-	  jbyteArray name = (*env)->NewByteArray (env, strlen (value));
-	  (*env)->SetByteArrayRegion (env, name, 0, strlen (value), value);
-	  (*env)->SetObjectArrayElement (env, result, i++, name);
-	}
-      else
-	{
-	  errArray[java_util_prefs_RegistryPreferencesImpl_ERROR_CODE] =
-	    checkErrorCode (err);
-	}
-    }
-
-  if (isCopy == JNI_TRUE)
-    {
-      (*env)->ReleasePrimitiveArrayCritical (env, jErrorCode, errArray, 0);
-    }
-  hymem_free_memory (value);
-  RegCloseKey (hKey);
-  return result;
-}
-
-/*
- * Class:     java_util_prefs_RegistryPreferencesImpl
- * Method:    flushPrefs
- * Signature: ([BZ[I)V
- */
-JNIEXPORT void JNICALL Java_java_util_prefs_RegistryPreferencesImpl_flushPrefs
-  (JNIEnv * env, jobject obj, jbyteArray jpath, jboolean jUserNode,
-   jintArray jErrorCode)
-{
-  HKEY hKey;
-  DWORD err;
-  jboolean isCopy = JNI_TRUE;
-  jint *errArray =
-    (*env)->GetPrimitiveArrayCritical (env, jErrorCode, &isCopy);
-
-  err = openRegKey (env, jpath, jUserNode, &hKey, KEY_ALL_ACCESS);
-  if ((errArray[java_util_prefs_RegistryPreferencesImpl_ERROR_CODE] =
-       checkErrorCode (err)) !=
-      java_util_prefs_RegistryPreferencesImpl_RETURN_SUCCESS)
-    {
-      if (isCopy == JNI_TRUE)
-	{
-	  (*env)->ReleasePrimitiveArrayCritical (env, jErrorCode, errArray,
-						 0);
-	}
-      return;
-    }
-
-  errArray[java_util_prefs_RegistryPreferencesImpl_ERROR_CODE] =
-    checkErrorCode (RegFlushKey (hKey));
-
-  if (isCopy == JNI_TRUE)
-    {
-      (*env)->ReleasePrimitiveArrayCritical (env, jErrorCode, errArray, 0);
-    }
-  RegCloseKey (hKey);
-  return;
-}
+/* Copyright 1991, 2005 The Apache Software Foundation or its licensors, as applicable
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <windows.h>
+#include "vmi.h"
+
+#include "java_util_prefs_RegistryPreferencesImpl.h"
+
+// max buffer size in bytes
+#define MAX_KEY_LENGTH 255
+#define MAX_VALUE_NAME 255
+#define MAX_VALUE_DATA 16383
+
+//map windows error code to customized error code
+int
+checkErrorCode (DWORD err)
+{
+  switch (err)
+    {
+    case ERROR_ACCESS_DENIED:
+      return java_util_prefs_RegistryPreferencesImpl_RETURN_ACCESS_DENIED;
+    case ERROR_SUCCESS:
+      return java_util_prefs_RegistryPreferencesImpl_RETURN_SUCCESS;
+    case ERROR_FILE_NOT_FOUND:
+      return java_util_prefs_RegistryPreferencesImpl_RETURN_FILE_NOT_FOUND;
+    default:
+      return java_util_prefs_RegistryPreferencesImpl_RETURN_UNKNOWN_ERROR;
+    }
+}
+
+// convert java byte array to c string
+jbyte *
+byte2str (JNIEnv * env, const jbyteArray jkey)
+{
+  PORT_ACCESS_FROM_ENV (env);
+  jboolean isCopy = JNI_TRUE;
+  jbyte *keyByte = (*env)->GetPrimitiveArrayCritical (env, jkey, &isCopy);
+  const jsize keyLen = (*env)->GetArrayLength (env, jkey);
+  jbyte *keyStr = hymem_allocate_memory ((keyLen + 1) * sizeof (jbyte));
+  jsize i = 0;
+
+  if (keyByte == NULL)
+    {
+      return NULL;
+    }
+  while (i < keyLen)
+    keyStr[i] = keyByte[i++];
+  keyStr[i] = '\0';
+
+  if (isCopy == JNI_TRUE)
+    {
+      (*env)->ReleasePrimitiveArrayCritical (env, jkey, keyByte, JNI_ABORT);
+    }
+  return keyStr;
+}
+
+DWORD
+openRegKey (JNIEnv * env, jbyteArray jpath, jboolean jUserNode, PHKEY phKey,
+	    REGSAM samDesired)
+{
+  PORT_ACCESS_FROM_ENV (env);
+  jbyte *path = byte2str (env, jpath);
+  const HKEY root = jUserNode ? HKEY_CURRENT_USER : HKEY_LOCAL_MACHINE;
+  DWORD err;
+
+  err = RegOpenKeyEx (root, path, 0, samDesired, phKey);
+  if (err == ERROR_FILE_NOT_FOUND)
+    {
+      err =
+	RegCreateKeyEx (root, path, 0, NULL, REG_OPTION_NON_VOLATILE,
+			samDesired, NULL, phKey, NULL);
+    }
+  hymem_free_memory (path);
+  return err;
+}
+
+/*
+ * Class:     java_util_prefs_RegistryPreferencesImpl
+ * Method:    getValue
+ * Signature: ([B[BZ[I)[B
+ */
+JNIEXPORT jbyteArray JNICALL
+  Java_java_util_prefs_RegistryPreferencesImpl_getValue
+  (JNIEnv * env, jobject obj, jbyteArray jpath, jbyteArray jkey,
+   jboolean jUserNode, jintArray jErrorCode)
+{
+  PORT_ACCESS_FROM_ENV (env);
+  HKEY hKey;
+  DWORD type = REG_SZ, errorCode;
+  jbyteArray result;
+  jboolean isCopy = JNI_TRUE;
+  jint *err = NULL;
+  jbyte *keyStr = NULL;
+  TCHAR *value;
+  DWORD dwBufLen = MAX_VALUE_DATA + 1;
+  int localErrorCode = 0;
+
+  err = (*env)->GetPrimitiveArrayCritical (env, jErrorCode, &isCopy);
+  keyStr = byte2str (env, jkey);
+  errorCode = openRegKey (env, jpath, jUserNode, &hKey, KEY_QUERY_VALUE);
+  localErrorCode = checkErrorCode (errorCode);
+  err[java_util_prefs_RegistryPreferencesImpl_ERROR_CODE] = localErrorCode;
+  if (localErrorCode !=
+      java_util_prefs_RegistryPreferencesImpl_RETURN_SUCCESS)
+    {
+      if (isCopy == JNI_TRUE)
+	{
+	  (*env)->ReleasePrimitiveArrayCritical (env, jErrorCode, err, 0);
+	}
+      RegCloseKey (hKey);
+      hymem_free_memory (keyStr);
+      return NULL;
+    }
+  value = hymem_allocate_memory ((MAX_VALUE_DATA + 1) * sizeof (TCHAR));
+  errorCode = RegQueryValueEx (hKey, keyStr, 0, &type, value, &dwBufLen);
+  localErrorCode = checkErrorCode (errorCode);
+  RegCloseKey (hKey);
+  hymem_free_memory (keyStr);
+  if (isCopy == JNI_TRUE)
+    {
+      (*env)->ReleasePrimitiveArrayCritical (env, jErrorCode, err, 0);
+    }
+  err[java_util_prefs_RegistryPreferencesImpl_ERROR_CODE] = localErrorCode;
+  if (localErrorCode !=
+      java_util_prefs_RegistryPreferencesImpl_RETURN_SUCCESS)
+    {
+      hymem_free_memory (value);
+      return NULL;
+    }
+  if(dwBufLen > 0)
+    {
+      result = (*env)->NewByteArray (env, dwBufLen-1);
+      (*env)->SetByteArrayRegion (env, result, 0, dwBufLen-1, value);
+    }
+      else
+    {
+      result = (*env)->NewByteArray (env, 0);
+    }
+  hymem_free_memory (value);
+  return result;
+}
+
+/*
+ * Class:     java_util_prefs_RegistryPreferencesImpl
+ * Method:    putValue
+ * Signature: ([B[B[BZ[I)V
+ */
+JNIEXPORT void JNICALL Java_java_util_prefs_RegistryPreferencesImpl_putValue
+  (JNIEnv * env, jobject obj, jbyteArray jpath, jbyteArray jkey,
+   jbyteArray jvalue, jboolean jUserNode, jintArray jErrorCode)
+{
+  PORT_ACCESS_FROM_ENV (env);
+  DWORD err;
+  HKEY hKey;
+  jbyte *keyStr;
+  jbyte *valueByte;
+  int localErrorCode = 0;
+  const jint valueLen = (*env)->GetArrayLength (env, jvalue);
+  jboolean isCopy = JNI_TRUE;
+  jint *errArray =
+    (*env)->GetPrimitiveArrayCritical (env, jErrorCode, &isCopy);
+
+  err = openRegKey (env, jpath, jUserNode, &hKey, KEY_SET_VALUE);
+  localErrorCode = checkErrorCode (err);
+  errArray[java_util_prefs_RegistryPreferencesImpl_ERROR_CODE] =
+    localErrorCode;
+  if (localErrorCode !=
+      java_util_prefs_RegistryPreferencesImpl_RETURN_SUCCESS)
+    {
+      if (isCopy == JNI_TRUE)
+	{
+	  (*env)->ReleasePrimitiveArrayCritical (env, jErrorCode, errArray,
+						 0);
+	}
+      return;
+    }
+
+  keyStr = byte2str (env, jkey);
+  valueByte = byte2str (env, jvalue);
+  err = RegSetValueEx (hKey, keyStr, 0, REG_SZ, valueByte, valueLen);
+  errArray[java_util_prefs_RegistryPreferencesImpl_ERROR_CODE] =
+    checkErrorCode (err);
+  if (isCopy == JNI_TRUE)
+    {
+      (*env)->ReleasePrimitiveArrayCritical (env, jErrorCode, errArray, 0);
+    }
+  hymem_free_memory (keyStr);
+  hymem_free_memory (valueByte);
+  RegCloseKey (hKey);
+  return;
+}
+
+/*
+ * Class:     java_util_prefs_RegistryPreferencesImpl
+ * Method:    removeKey
+ * Signature: ([B[BZ[I)V
+ */
+JNIEXPORT void JNICALL Java_java_util_prefs_RegistryPreferencesImpl_removeKey
+  (JNIEnv * env, jobject obj, jbyteArray jpath, jbyteArray jkey,
+   jboolean jUserNode, jintArray jErrorCode)
+{
+  PORT_ACCESS_FROM_ENV (env);
+  DWORD err;
+  HKEY hKey;
+  jbyte *keyStr;
+  jboolean isCopy = JNI_TRUE;
+  jint *errArray =
+    (*env)->GetPrimitiveArrayCritical (env, jErrorCode, &isCopy);
+
+  err = openRegKey (env, jpath, jUserNode, &hKey, KEY_SET_VALUE);
+  if ((errArray[java_util_prefs_RegistryPreferencesImpl_ERROR_CODE] =
+       checkErrorCode (err)) !=
+      java_util_prefs_RegistryPreferencesImpl_RETURN_SUCCESS)
+    {
+      if (isCopy == JNI_TRUE)
+	{
+	  (*env)->ReleasePrimitiveArrayCritical (env, jErrorCode, errArray,
+						 0);
+	}
+      return;
+    }
+
+  keyStr = byte2str (env, jkey);
+  err = RegDeleteValue (hKey, keyStr);
+  errArray[java_util_prefs_RegistryPreferencesImpl_ERROR_CODE] =
+    checkErrorCode (err);
+  if (isCopy == JNI_TRUE)
+    {
+      (*env)->ReleasePrimitiveArrayCritical (env, jErrorCode, errArray, 0);
+    }
+  hymem_free_memory (keyStr);
+  RegCloseKey (hKey);
+  return;
+}
+
+/*
+ * Class:     java_util_prefs_RegistryPreferencesImpl
+ * Method:    keys
+ * Signature: ([BZ[I)[[B
+ */
+JNIEXPORT jobjectArray JNICALL
+  Java_java_util_prefs_RegistryPreferencesImpl_keys
+  (JNIEnv * env, jobject obj, jbyteArray jpath, jboolean jUserNode,
+   jintArray jErrorCode)
+{
+  PORT_ACCESS_FROM_ENV (env);
+  DWORD number, size;
+  jclass objectClazz;
+  jobjectArray result;
+  TCHAR *value;
+  DWORD i = 0, j, err;
+  HKEY hKey;
+  jboolean isCopy = JNI_TRUE;
+  jint *errArray =
+    (*env)->GetPrimitiveArrayCritical (env, jErrorCode, &isCopy);
+
+  err = openRegKey (env, jpath, jUserNode, &hKey, KEY_QUERY_VALUE);
+  if ((errArray[java_util_prefs_RegistryPreferencesImpl_ERROR_CODE] =
+       checkErrorCode (err)) !=
+      java_util_prefs_RegistryPreferencesImpl_RETURN_SUCCESS)
+    {
+      if (isCopy == JNI_TRUE)
+	{
+	  (*env)->ReleasePrimitiveArrayCritical (env, jErrorCode, errArray,
+						 0);
+	}
+      return NULL;
+    }
+
+  err =
+    RegQueryInfoKey (hKey, NULL, NULL, NULL, NULL, NULL, NULL, &number, NULL,
+		     NULL, NULL, NULL);
+  if ((errArray[java_util_prefs_RegistryPreferencesImpl_ERROR_CODE] =
+       checkErrorCode (err)) !=
+      java_util_prefs_RegistryPreferencesImpl_RETURN_SUCCESS)
+    {
+      if (isCopy == JNI_TRUE)
+	{
+	  (*env)->ReleasePrimitiveArrayCritical (env, jErrorCode, errArray,
+						 0);
+	}
+      RegCloseKey (hKey);
+      return NULL;
+    }
+  objectClazz = (*env)->FindClass (env, "java/lang/Object");
+  result = (*env)->NewObjectArray (env, number, objectClazz, NULL);
+
+  value = hymem_allocate_memory ((MAX_VALUE_NAME + 1) * sizeof (TCHAR));
+  for (j = 0; j < number; j++)
+    {
+      value[0] = '\0';
+      size = MAX_VALUE_NAME + 1;
+      err = RegEnumValue (hKey, j, value, &size, NULL, NULL, NULL, NULL);
+      if (err == ERROR_SUCCESS)
+	{
+	  jbyteArray key = (*env)->NewByteArray (env, strlen (value));
+	  (*env)->SetByteArrayRegion (env, key, 0, strlen (value), value);
+	  (*env)->SetObjectArrayElement (env, result, i++, key);
+	}
+      else
+	{
+	  errArray[java_util_prefs_RegistryPreferencesImpl_ERROR_CODE] =
+	    checkErrorCode (err);
+	}
+    }
+  if (isCopy == JNI_TRUE)
+    {
+      (*env)->ReleasePrimitiveArrayCritical (env, jErrorCode, errArray, 0);
+    }
+  hymem_free_memory (value);
+  RegCloseKey (hKey);
+  return result;
+}
+
+/*
+ * Class:     java_util_prefs_RegistryPreferencesImpl
+ * Method:    removeNode
+ * Signature: ([B[BZ[I)V
+ */
+JNIEXPORT void JNICALL Java_java_util_prefs_RegistryPreferencesImpl_removeNode
+  (JNIEnv * env, jobject obj, jbyteArray jpath, jbyteArray jname,
+   jboolean jUserNode, jintArray jErrorCode)
+{
+  PORT_ACCESS_FROM_ENV (env);
+  jbyte *nameStr;
+  HKEY hKey;
+  DWORD err;
+  jboolean isCopy = JNI_TRUE;
+  jint *errArray =
+    (*env)->GetPrimitiveArrayCritical (env, jErrorCode, &isCopy);
+
+  err = openRegKey (env, jpath, jUserNode, &hKey, KEY_SET_VALUE);
+  if ((errArray[java_util_prefs_RegistryPreferencesImpl_ERROR_CODE] =
+       checkErrorCode (err)) !=
+      java_util_prefs_RegistryPreferencesImpl_RETURN_SUCCESS)
+    {
+      if (isCopy == JNI_TRUE)
+	{
+	  (*env)->ReleasePrimitiveArrayCritical (env, jErrorCode, errArray,
+						 0);
+	}
+      return;
+    }
+
+  nameStr = byte2str (env, jname);
+  err = RegDeleteKey (hKey, nameStr);
+  errArray[java_util_prefs_RegistryPreferencesImpl_ERROR_CODE] =
+    checkErrorCode (err);
+  if (isCopy == JNI_TRUE)
+    {
+      (*env)->ReleasePrimitiveArrayCritical (env, jErrorCode, errArray, 0);
+    }
+  hymem_free_memory (nameStr);
+  RegCloseKey (hKey);
+  return;
+}
+
+/*
+ * Class:     java_util_prefs_RegistryPreferencesImpl
+ * Method:    getNode
+ * Signature: ([B[BZ[I)Z
+ */
+JNIEXPORT jboolean JNICALL
+  Java_java_util_prefs_RegistryPreferencesImpl_getNode
+  (JNIEnv * env, jobject obj, jbyteArray jpath, jbyteArray jname,
+   jboolean jUserNode, jintArray jErrorCode)
+{
+  PORT_ACCESS_FROM_ENV (env);
+  jbyte *name;
+  HKEY hKey, childKey;
+  DWORD dwDisposition, err;
+  jboolean isCopy = JNI_TRUE;
+  jint *errArray =
+    (*env)->GetPrimitiveArrayCritical (env, jErrorCode, &isCopy);
+
+  err = openRegKey (env, jpath, jUserNode, &hKey, KEY_QUERY_VALUE);
+  if ((errArray[java_util_prefs_RegistryPreferencesImpl_ERROR_CODE] =
+       checkErrorCode (err)) !=
+      java_util_prefs_RegistryPreferencesImpl_RETURN_SUCCESS)
+    {
+      if (isCopy == JNI_TRUE)
+	{
+	  (*env)->ReleasePrimitiveArrayCritical (env, jErrorCode, errArray,
+						 0);
+	}
+      return JNI_FALSE;
+    }
+
+  name = byte2str (env, jname);
+  err =
+    RegCreateKeyEx (hKey, name, 0, NULL, REG_OPTION_NON_VOLATILE,
+		    KEY_ALL_ACCESS, NULL, &childKey, &dwDisposition);
+  errArray[java_util_prefs_RegistryPreferencesImpl_ERROR_CODE] =
+    checkErrorCode (err);
+
+  if (isCopy == JNI_TRUE)
+    {
+      (*env)->ReleasePrimitiveArrayCritical (env, jErrorCode, errArray, 0);
+    }
+
+  hymem_free_memory (name);
+  RegCloseKey (hKey);
+  RegCloseKey (childKey);
+
+  return dwDisposition == REG_CREATED_NEW_KEY;
+}
+
+/*
+ * Class:     java_util_prefs_RegistryPreferencesImpl
+ * Method:    getChildNames
+ * Signature: ([BZ[I)[[B
+ */
+JNIEXPORT jobjectArray JNICALL
+Java_java_util_prefs_RegistryPreferencesImpl_getChildNames (JNIEnv * env,
+							    jobject obj,
+							    jbyteArray jpath,
+							    jboolean
+							    jUserNode,
+							    jintArray
+							    jErrorCode)
+{
+  PORT_ACCESS_FROM_ENV (env);
+  DWORD number, size;
+  jclass objectClazz = NULL;
+  jobjectArray result = NULL;
+  TCHAR *value;
+  DWORD i = 0, j;
+  HKEY hKey;
+  DWORD err;
+  jboolean isCopy = JNI_TRUE;
+  jint *errArray =
+    (*env)->GetPrimitiveArrayCritical (env, jErrorCode, &isCopy);
+
+  err = openRegKey (env, jpath, jUserNode, &hKey, KEY_READ);
+  if ((errArray[java_util_prefs_RegistryPreferencesImpl_ERROR_CODE] =
+       checkErrorCode (err)) !=
+      java_util_prefs_RegistryPreferencesImpl_RETURN_SUCCESS)
+    {
+      if (isCopy == JNI_TRUE)
+	{
+	  (*env)->ReleasePrimitiveArrayCritical (env, jErrorCode, errArray,
+						 0);
+	}
+      return NULL;
+    }
+
+  err =
+    RegQueryInfoKey (hKey, NULL, NULL, NULL, &number, NULL, NULL, NULL, NULL,
+		     NULL, NULL, NULL);
+  if ((errArray[java_util_prefs_RegistryPreferencesImpl_ERROR_CODE] =
+       checkErrorCode (err)) !=
+      java_util_prefs_RegistryPreferencesImpl_RETURN_SUCCESS)
+    {
+      if (isCopy == JNI_TRUE)
+	{
+	  (*env)->ReleasePrimitiveArrayCritical (env, jErrorCode, errArray,
+						 0);
+	}
+      RegCloseKey (hKey);
+      return NULL;
+    }
+
+  objectClazz = (*env)->FindClass (env, "java/lang/Object");
+  result = (*env)->NewObjectArray (env, number, objectClazz, NULL);
+  value = hymem_allocate_memory ((MAX_VALUE_DATA + 1) * sizeof (TCHAR));
+  for (j = 0; j < number; j++)
+    {
+      value[0] = '\0';
+      size = MAX_VALUE_DATA + 1;
+      err = RegEnumKeyEx (hKey, j, value, &size, NULL, NULL, NULL, NULL);
+      if (err == ERROR_SUCCESS)
+	{
+	  jbyteArray name = (*env)->NewByteArray (env, strlen (value));
+	  (*env)->SetByteArrayRegion (env, name, 0, strlen (value), value);
+	  (*env)->SetObjectArrayElement (env, result, i++, name);
+	}
+      else
+	{
+	  errArray[java_util_prefs_RegistryPreferencesImpl_ERROR_CODE] =
+	    checkErrorCode (err);
+	}
+    }
+
+  if (isCopy == JNI_TRUE)
+    {
+      (*env)->ReleasePrimitiveArrayCritical (env, jErrorCode, errArray, 0);
+    }
+  hymem_free_memory (value);
+  RegCloseKey (hKey);
+  return result;
+}
+
+/*
+ * Class:     java_util_prefs_RegistryPreferencesImpl
+ * Method:    flushPrefs
+ * Signature: ([BZ[I)V
+ */
+JNIEXPORT void JNICALL Java_java_util_prefs_RegistryPreferencesImpl_flushPrefs
+  (JNIEnv * env, jobject obj, jbyteArray jpath, jboolean jUserNode,
+   jintArray jErrorCode)
+{
+  HKEY hKey;
+  DWORD err;
+  jboolean isCopy = JNI_TRUE;
+  jint *errArray =
+    (*env)->GetPrimitiveArrayCritical (env, jErrorCode, &isCopy);
+
+  err = openRegKey (env, jpath, jUserNode, &hKey, KEY_ALL_ACCESS);
+  if ((errArray[java_util_prefs_RegistryPreferencesImpl_ERROR_CODE] =
+       checkErrorCode (err)) !=
+      java_util_prefs_RegistryPreferencesImpl_RETURN_SUCCESS)
+    {
+      if (isCopy == JNI_TRUE)
+	{
+	  (*env)->ReleasePrimitiveArrayCritical (env, jErrorCode, errArray,
+						 0);
+	}
+      return;
+    }
+
+  errArray[java_util_prefs_RegistryPreferencesImpl_ERROR_CODE] =
+    checkErrorCode (RegFlushKey (hKey));
+
+  if (isCopy == JNI_TRUE)
+    {
+      (*env)->ReleasePrimitiveArrayCritical (env, jErrorCode, errArray, 0);
+    }
+  RegCloseKey (hKey);
+  return;
+}

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/main/native/prefs/windows/PreferencesImpl.c
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/main/native/prefs/windows/java_util_prefs_RegistryPreferencesImpl.h
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/main/native/prefs/windows/java_util_prefs_RegistryPreferencesImpl.h?view=diff&rev=443543&r1=443542&r2=443543
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/main/native/prefs/windows/java_util_prefs_RegistryPreferencesImpl.h (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/main/native/prefs/windows/java_util_prefs_RegistryPreferencesImpl.h Thu Sep 14 18:39:01 2006
@@ -1,137 +1,137 @@
-/* Copyright 1991, 2005 The Apache Software Foundation or its licensors, as applicable
- * 
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *     http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/* DO NOT EDIT THIS FILE - it is machine generated */
-#include <jni.h>
-/* Header for class java_util_prefs_RegistryPreferencesImpl */
-
-#if !defined(_Included_java_util_prefs_RegistryPreferencesImpl)
-#define _Included_java_util_prefs_RegistryPreferencesImpl
-#if defined(__cplusplus)
-extern "C"
-{
-#endif
-/* Inaccessible static: factory */
-#undef java_util_prefs_RegistryPreferencesImpl_MAX_KEY_LENGTH
-#define java_util_prefs_RegistryPreferencesImpl_MAX_KEY_LENGTH 80L
-#undef java_util_prefs_RegistryPreferencesImpl_MAX_VALUE_LENGTH
-#define java_util_prefs_RegistryPreferencesImpl_MAX_VALUE_LENGTH 8192L
-#undef java_util_prefs_RegistryPreferencesImpl_MAX_NAME_LENGTH
-#define java_util_prefs_RegistryPreferencesImpl_MAX_NAME_LENGTH 80L
-/* Inaccessible static: prefsPerm */
-/* Inaccessible static: EMPTY_STRING_ARRAY */
-/* Inaccessible static: EMPTY_ABSTRACT_PREFS_ARRAY */
-/* Inaccessible static: eventQueue */
-/* Inaccessible static: eventDispatchThread */
-#undef java_util_prefs_RegistryPreferencesImpl_ERROR_CODE
-#define java_util_prefs_RegistryPreferencesImpl_ERROR_CODE 0L
-#undef java_util_prefs_RegistryPreferencesImpl_RETURN_SUCCESS
-#define java_util_prefs_RegistryPreferencesImpl_RETURN_SUCCESS 0L
-#undef java_util_prefs_RegistryPreferencesImpl_RETURN_FILE_NOT_FOUND
-#define java_util_prefs_RegistryPreferencesImpl_RETURN_FILE_NOT_FOUND 1L
-#undef java_util_prefs_RegistryPreferencesImpl_RETURN_ACCESS_DENIED
-#define java_util_prefs_RegistryPreferencesImpl_RETURN_ACCESS_DENIED 2L
-#undef java_util_prefs_RegistryPreferencesImpl_RETURN_UNKNOWN_ERROR
-#define java_util_prefs_RegistryPreferencesImpl_RETURN_UNKNOWN_ERROR 3L
-/* Inaccessible static: USER_ROOT */
-/* Inaccessible static: SYSTEM_ROOT */
-/*
- * Class:     java_util_prefs_RegistryPreferencesImpl
- * Method:    getValue
- * Signature: ([B[BZ[I)[B
- */
-  JNIEXPORT jbyteArray JNICALL
-    Java_java_util_prefs_RegistryPreferencesImpl_getValue (JNIEnv *, jobject,
-                                                           jbyteArray,
-                                                           jbyteArray,
-                                                           jboolean,
-                                                           jintArray);
-/*
- * Class:     java_util_prefs_RegistryPreferencesImpl
- * Method:    putValue
- * Signature: ([B[B[BZ[I)V
- */
-  JNIEXPORT void JNICALL Java_java_util_prefs_RegistryPreferencesImpl_putValue
-    (JNIEnv *, jobject, jbyteArray, jbyteArray, jbyteArray, jboolean,
-     jintArray);
-/*
- * Class:     java_util_prefs_RegistryPreferencesImpl
- * Method:    removeKey
- * Signature: ([B[BZ[I)V
- */
-  JNIEXPORT void JNICALL
-    Java_java_util_prefs_RegistryPreferencesImpl_removeKey (JNIEnv *, jobject,
-                                                            jbyteArray,
-                                                            jbyteArray,
-                                                            jboolean,
-                                                            jintArray);
-/*
- * Class:     java_util_prefs_RegistryPreferencesImpl
- * Method:    keys
- * Signature: ([BZ[I)[[B
- */
-  JNIEXPORT jobjectArray JNICALL
-    Java_java_util_prefs_RegistryPreferencesImpl_keys (JNIEnv *, jobject,
-                                                       jbyteArray, jboolean,
-                                                       jintArray);
-/*
- * Class:     java_util_prefs_RegistryPreferencesImpl
- * Method:    removeNode
- * Signature: ([B[BZ[I)V
- */
-  JNIEXPORT void JNICALL
-    Java_java_util_prefs_RegistryPreferencesImpl_removeNode (JNIEnv *,
-                                                             jobject,
-                                                             jbyteArray,
-                                                             jbyteArray,
-                                                             jboolean,
-                                                             jintArray);
-/*
- * Class:     java_util_prefs_RegistryPreferencesImpl
- * Method:    getNode
- * Signature: ([B[BZ[I)Z
- */
-  JNIEXPORT jboolean JNICALL
-    Java_java_util_prefs_RegistryPreferencesImpl_getNode (JNIEnv *, jobject,
-                                                          jbyteArray,
-                                                          jbyteArray,
-                                                          jboolean,
-                                                          jintArray);
-/*
- * Class:     java_util_prefs_RegistryPreferencesImpl
- * Method:    getChildNames
- * Signature: ([BZ[I)[[B
- */
-  JNIEXPORT jobjectArray JNICALL
-    Java_java_util_prefs_RegistryPreferencesImpl_getChildNames (JNIEnv *,
-                                                                jobject,
-                                                                jbyteArray,
-                                                                jboolean,
-                                                                jintArray);
-/*
- * Class:     java_util_prefs_RegistryPreferencesImpl
- * Method:    flushPrefs
- * Signature: ([BZ[I)V
- */
-  JNIEXPORT void JNICALL
-    Java_java_util_prefs_RegistryPreferencesImpl_flushPrefs (JNIEnv *,
-                                                             jobject,
-                                                             jbyteArray,
-                                                             jboolean,
-                                                             jintArray);
-#if defined(__cplusplus)
-}
-#endif
-#endif
+/* Copyright 1991, 2005 The Apache Software Foundation or its licensors, as applicable
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/* DO NOT EDIT THIS FILE - it is machine generated */
+#include <jni.h>
+/* Header for class java_util_prefs_RegistryPreferencesImpl */
+
+#if !defined(_Included_java_util_prefs_RegistryPreferencesImpl)
+#define _Included_java_util_prefs_RegistryPreferencesImpl
+#if defined(__cplusplus)
+extern "C"
+{
+#endif
+/* Inaccessible static: factory */
+#undef java_util_prefs_RegistryPreferencesImpl_MAX_KEY_LENGTH
+#define java_util_prefs_RegistryPreferencesImpl_MAX_KEY_LENGTH 80L
+#undef java_util_prefs_RegistryPreferencesImpl_MAX_VALUE_LENGTH
+#define java_util_prefs_RegistryPreferencesImpl_MAX_VALUE_LENGTH 8192L
+#undef java_util_prefs_RegistryPreferencesImpl_MAX_NAME_LENGTH
+#define java_util_prefs_RegistryPreferencesImpl_MAX_NAME_LENGTH 80L
+/* Inaccessible static: prefsPerm */
+/* Inaccessible static: EMPTY_STRING_ARRAY */
+/* Inaccessible static: EMPTY_ABSTRACT_PREFS_ARRAY */
+/* Inaccessible static: eventQueue */
+/* Inaccessible static: eventDispatchThread */
+#undef java_util_prefs_RegistryPreferencesImpl_ERROR_CODE
+#define java_util_prefs_RegistryPreferencesImpl_ERROR_CODE 0L
+#undef java_util_prefs_RegistryPreferencesImpl_RETURN_SUCCESS
+#define java_util_prefs_RegistryPreferencesImpl_RETURN_SUCCESS 0L
+#undef java_util_prefs_RegistryPreferencesImpl_RETURN_FILE_NOT_FOUND
+#define java_util_prefs_RegistryPreferencesImpl_RETURN_FILE_NOT_FOUND 1L
+#undef java_util_prefs_RegistryPreferencesImpl_RETURN_ACCESS_DENIED
+#define java_util_prefs_RegistryPreferencesImpl_RETURN_ACCESS_DENIED 2L
+#undef java_util_prefs_RegistryPreferencesImpl_RETURN_UNKNOWN_ERROR
+#define java_util_prefs_RegistryPreferencesImpl_RETURN_UNKNOWN_ERROR 3L
+/* Inaccessible static: USER_ROOT */
+/* Inaccessible static: SYSTEM_ROOT */
+/*
+ * Class:     java_util_prefs_RegistryPreferencesImpl
+ * Method:    getValue
+ * Signature: ([B[BZ[I)[B
+ */
+  JNIEXPORT jbyteArray JNICALL
+    Java_java_util_prefs_RegistryPreferencesImpl_getValue (JNIEnv *, jobject,
+                                                           jbyteArray,
+                                                           jbyteArray,
+                                                           jboolean,
+                                                           jintArray);
+/*
+ * Class:     java_util_prefs_RegistryPreferencesImpl
+ * Method:    putValue
+ * Signature: ([B[B[BZ[I)V
+ */
+  JNIEXPORT void JNICALL Java_java_util_prefs_RegistryPreferencesImpl_putValue
+    (JNIEnv *, jobject, jbyteArray, jbyteArray, jbyteArray, jboolean,
+     jintArray);
+/*
+ * Class:     java_util_prefs_RegistryPreferencesImpl
+ * Method:    removeKey
+ * Signature: ([B[BZ[I)V
+ */
+  JNIEXPORT void JNICALL
+    Java_java_util_prefs_RegistryPreferencesImpl_removeKey (JNIEnv *, jobject,
+                                                            jbyteArray,
+                                                            jbyteArray,
+                                                            jboolean,
+                                                            jintArray);
+/*
+ * Class:     java_util_prefs_RegistryPreferencesImpl
+ * Method:    keys
+ * Signature: ([BZ[I)[[B
+ */
+  JNIEXPORT jobjectArray JNICALL
+    Java_java_util_prefs_RegistryPreferencesImpl_keys (JNIEnv *, jobject,
+                                                       jbyteArray, jboolean,
+                                                       jintArray);
+/*
+ * Class:     java_util_prefs_RegistryPreferencesImpl
+ * Method:    removeNode
+ * Signature: ([B[BZ[I)V
+ */
+  JNIEXPORT void JNICALL
+    Java_java_util_prefs_RegistryPreferencesImpl_removeNode (JNIEnv *,
+                                                             jobject,
+                                                             jbyteArray,
+                                                             jbyteArray,
+                                                             jboolean,
+                                                             jintArray);
+/*
+ * Class:     java_util_prefs_RegistryPreferencesImpl
+ * Method:    getNode
+ * Signature: ([B[BZ[I)Z
+ */
+  JNIEXPORT jboolean JNICALL
+    Java_java_util_prefs_RegistryPreferencesImpl_getNode (JNIEnv *, jobject,
+                                                          jbyteArray,
+                                                          jbyteArray,
+                                                          jboolean,
+                                                          jintArray);
+/*
+ * Class:     java_util_prefs_RegistryPreferencesImpl
+ * Method:    getChildNames
+ * Signature: ([BZ[I)[[B
+ */
+  JNIEXPORT jobjectArray JNICALL
+    Java_java_util_prefs_RegistryPreferencesImpl_getChildNames (JNIEnv *,
+                                                                jobject,
+                                                                jbyteArray,
+                                                                jboolean,
+                                                                jintArray);
+/*
+ * Class:     java_util_prefs_RegistryPreferencesImpl
+ * Method:    flushPrefs
+ * Signature: ([BZ[I)V
+ */
+  JNIEXPORT void JNICALL
+    Java_java_util_prefs_RegistryPreferencesImpl_flushPrefs (JNIEnv *,
+                                                             jobject,
+                                                             jbyteArray,
+                                                             jboolean,
+                                                             jintArray);
+#if defined(__cplusplus)
+}
+#endif
+#endif

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/main/native/prefs/windows/java_util_prefs_RegistryPreferencesImpl.h
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/main/native/prefs/windows/prefs_copyright.c
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/main/native/prefs/windows/prefs_copyright.c?view=diff&rev=443543&r1=443542&r2=443543
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/main/native/prefs/windows/prefs_copyright.c (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/main/native/prefs/windows/prefs_copyright.c Thu Sep 14 18:39:01 2006
@@ -1,19 +1,19 @@
-/* Copyright 1991, 2005 The Apache Software Foundation or its licensors, as applicable
- * 
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *     http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/* A copyright string included in each DLL and executable */
-
-const char hyCopyright[] =
-  "(c) Copyright 1991, 2005 The Apache Software Foundation or its licensors, as applicable.";
+/* Copyright 1991, 2005 The Apache Software Foundation or its licensors, as applicable
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/* A copyright string included in each DLL and executable */
+
+const char hyCopyright[] =
+  "(c) Copyright 1991, 2005 The Apache Software Foundation or its licensors, as applicable.";

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/main/native/prefs/windows/prefs_copyright.c
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/AllTests.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/AllTests.java?view=diff&rev=443543&r1=443542&r2=443543
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/AllTests.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/AllTests.java Thu Sep 14 18:39:01 2006
@@ -1,38 +1,38 @@
-/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
- * 
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *     http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.harmony.prefs.tests;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-/**
- * Test suite that includes all tests for the Prefs project.
- * 
- */
-public class AllTests {
-
-	public static void main(String[] args) {
-		junit.textui.TestRunner.run(AllTests.suite());
-	}
-
-	public static Test suite() {
-		TestSuite suite = new TestSuite("All Prefs test suites");
-		// $JUnit-BEGIN$
-		suite.addTest(org.apache.harmony.prefs.tests.java.util.prefs.AllTests.suite());
-		// $JUnit-END$
-		return suite;
-	}
-}
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.harmony.prefs.tests;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+/**
+ * Test suite that includes all tests for the Prefs project.
+ * 
+ */
+public class AllTests {
+
+	public static void main(String[] args) {
+		junit.textui.TestRunner.run(AllTests.suite());
+	}
+
+	public static Test suite() {
+		TestSuite suite = new TestSuite("All Prefs test suites");
+		// $JUnit-BEGIN$
+		suite.addTest(org.apache.harmony.prefs.tests.java.util.prefs.AllTests.suite());
+		// $JUnit-END$
+		return suite;
+	}
+}

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/AllTests.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/preferences.dtd
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/preferences.dtd?view=diff&rev=443543&r1=443542&r2=443543
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/preferences.dtd (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/preferences.dtd Thu Sep 14 18:39:01 2006
@@ -1,54 +1,54 @@
-<!--
-  Copyright 2005 The Apache Software Foundation or its licensors, as
-  applicable
-     
-  Licensed under the Apache License, Version 2.0 (the "License"); you
-  may not use this file except in compliance with the License.  You
-  may obtain a copy of the License at
-  
-     http://www.apache.org/licenses/LICENSE-2.0
-     
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-  implied.  See the License for the specific language governing
-  permissions and limitations under the License.
- -->
-
-<!-- DTD for a Preferences tree. -->
-
-<!-- The preferences element is at the root of an XML document
-     representing a Preferences tree. -->
-<!ELEMENT preferences (root)>
-
-<!-- The preferences element contains an optional version attribute,
-      which specifies version of DTD. -->
-<!ATTLIST preferences EXTERNAL_XML_VERSION CDATA "0.0" >  
-
-<!-- The root element has a map representing the root's preferences
-     (if any), and one node for each child of the root (if any). -->
-<!ELEMENT root (map, node*) >
-
-<!-- Additionally, the root contains a type attribute, which
-     specifies whether it's the system or user root. -->
-<!ATTLIST root
-          type (system|user) #REQUIRED >
-
-<!-- Each node has a map representing its preferences (if any),
-     and one node for each child (if any). -->
-
-<!ELEMENT node (map, node*) >
-
-<!-- Additionally, each node has a name attribute -->
-<!ATTLIST node
-          name CDATA #REQUIRED >
-
-<!-- A map represents the preferences stored at a node (if any). -->
-<!ELEMENT map (entry*) >
-
-<!-- An entry represents a single preference, which is simply
-      a key-value pair. -->
-<!ELEMENT entry EMPTY >
-<!ATTLIST entry
-          key   CDATA #REQUIRED
+<!--
+  Copyright 2005 The Apache Software Foundation or its licensors, as
+  applicable
+     
+  Licensed under the Apache License, Version 2.0 (the "License"); you
+  may not use this file except in compliance with the License.  You
+  may obtain a copy of the License at
+  
+     http://www.apache.org/licenses/LICENSE-2.0
+     
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+  implied.  See the License for the specific language governing
+  permissions and limitations under the License.
+ -->
+
+<!-- DTD for a Preferences tree. -->
+
+<!-- The preferences element is at the root of an XML document
+     representing a Preferences tree. -->
+<!ELEMENT preferences (root)>
+
+<!-- The preferences element contains an optional version attribute,
+      which specifies version of DTD. -->
+<!ATTLIST preferences EXTERNAL_XML_VERSION CDATA "0.0" >  
+
+<!-- The root element has a map representing the root's preferences
+     (if any), and one node for each child of the root (if any). -->
+<!ELEMENT root (map, node*) >
+
+<!-- Additionally, the root contains a type attribute, which
+     specifies whether it's the system or user root. -->
+<!ATTLIST root
+          type (system|user) #REQUIRED >
+
+<!-- Each node has a map representing its preferences (if any),
+     and one node for each child (if any). -->
+
+<!ELEMENT node (map, node*) >
+
+<!-- Additionally, each node has a name attribute -->
+<!ATTLIST node
+          name CDATA #REQUIRED >
+
+<!-- A map represents the preferences stored at a node (if any). -->
+<!ELEMENT map (entry*) >
+
+<!-- An entry represents a single preference, which is simply
+      a key-value pair. -->
+<!ELEMENT entry EMPTY >
+<!ATTLIST entry
+          key   CDATA #REQUIRED
           value CDATA #REQUIRED >

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/preferences.dtd
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/userprefs-ascii.xml
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/userprefs-ascii.xml?view=diff&rev=443543&r1=443542&r2=443543
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/userprefs-ascii.xml (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/userprefs-ascii.xml Thu Sep 14 18:39:01 2006
@@ -1,58 +1,58 @@
-<?xml version="1.0" encoding="ascii"?>
-
-<!-- Copyright 2005 The Apache Software Foundation or its licensors, as applicable
-     
-     Licensed under the Apache License, Version 2.0 (the "License");
-     you may not use this file except in compliance with the License.
-     You may obtain a copy of the License at
-     
-         http://www.apache.org/licenses/LICENSE-2.0
-     
-     Unless required by applicable law or agreed to in writing, software
-     distributed under the License is distributed on an "AS IS" BASIS,
-     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-     See the License for the specific language governing permissions and
-     limitations under the License. -->
-
-<!DOCTYPE preferences SYSTEM 'http://java.sun.com/dtd/preferences.dtd'>
-
-<preferences EXTERNAL_XML_VERSION="1.0">
-  <root type="user">
-    <map />
-    <node name="tests">
-      <map />
-      <node name="api">
-        <map />
-        <node name="java">
-          <map />
-          <node name="util">
-            <map />
-            <node name="prefs">
-              <map>
-                <entry key="prefskey3" value="newvalue3" />
-              </map>
-              <node name="mock">
-                <map />
-                <node name="child">
-                  <map>
-                    <entry key="key2" value="value2" />
-                  </map>
-                  <node name="grandson">
-                    <map>
-                      <entry key="key3" value="value3" />
-                    </map>
-                    <node name="grandgrandson">
-                      <map>
-                        <entry key="key4" value="value4" />
-                      </map>
-                    </node>
-                  </node>
-                </node>
-              </node>
-            </node>
-          </node>
-        </node>
-      </node>
-    </node>
-  </root>
-</preferences>
+<?xml version="1.0" encoding="ascii"?>
+
+<!-- Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+     
+     Licensed under the Apache License, Version 2.0 (the "License");
+     you may not use this file except in compliance with the License.
+     You may obtain a copy of the License at
+     
+         http://www.apache.org/licenses/LICENSE-2.0
+     
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License. -->
+
+<!DOCTYPE preferences SYSTEM 'http://java.sun.com/dtd/preferences.dtd'>
+
+<preferences EXTERNAL_XML_VERSION="1.0">
+  <root type="user">
+    <map />
+    <node name="tests">
+      <map />
+      <node name="api">
+        <map />
+        <node name="java">
+          <map />
+          <node name="util">
+            <map />
+            <node name="prefs">
+              <map>
+                <entry key="prefskey3" value="newvalue3" />
+              </map>
+              <node name="mock">
+                <map />
+                <node name="child">
+                  <map>
+                    <entry key="key2" value="value2" />
+                  </map>
+                  <node name="grandson">
+                    <map>
+                      <entry key="key3" value="value3" />
+                    </map>
+                    <node name="grandgrandson">
+                      <map>
+                        <entry key="key4" value="value4" />
+                      </map>
+                    </node>
+                  </node>
+                </node>
+              </node>
+            </node>
+          </node>
+        </node>
+      </node>
+    </node>
+  </root>
+</preferences>

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/userprefs-ascii.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/userprefs-badencoding.xml
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/userprefs-badencoding.xml?view=diff&rev=443543&r1=443542&r2=443543
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/userprefs-badencoding.xml (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/userprefs-badencoding.xml Thu Sep 14 18:39:01 2006
@@ -1,59 +1,59 @@
-<?xml version="1.0" encoding="badencoding"?>
-
-<!-- Copyright 2005 The Apache Software Foundation or its licensors, as applicable
-     
-     Licensed under the Apache License, Version 2.0 (the "License");
-     you may not use this file except in compliance with the License.
-     You may obtain a copy of the License at
-     
-         http://www.apache.org/licenses/LICENSE-2.0
-     
-     Unless required by applicable law or agreed to in writing, software
-     distributed under the License is distributed on an "AS IS" BASIS,
-     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-     See the License for the specific language governing permissions and
-     limitations under the License. -->
-
-<!DOCTYPE preferences SYSTEM 'http://java.sun.com/dtd/preferences.dtd'>
-
-<preferences EXTERNAL_XML_VERSION="1.0">
-  <root type="user">
-    <map />
-    <node name="tests">
-      <map />
-      <node name="api">
-        <map />
-        <node name="java">
-          <map />
-          <node name="util">
-            <map />
-            <node name="prefs">
-              <map>
-                <entry key="prefskey" value="newvalue" />
-                <entry key="prefskey3" value="newvalue3" />
-              </map>
-              <node name="mock">
-                <map />
-                <node name="child">
-                  <map>
-                    <entry key="key2" value="value2" />
-                  </map>
-                  <node name="grandson">
-                    <map>
-                      <entry key="key3" value="value3" />
-                    </map>
-                    <node name="grandgrandson">
-                      <map>
-                        <entry key="key4" value="value4" />
-                      </map>
-                    </node>
-                  </node>
-                </node>
-              </node>
-            </node>
-          </node>
-        </node>
-      </node>
-    </node>
-  </root>
-</preferences>
+<?xml version="1.0" encoding="badencoding"?>
+
+<!-- Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+     
+     Licensed under the Apache License, Version 2.0 (the "License");
+     you may not use this file except in compliance with the License.
+     You may obtain a copy of the License at
+     
+         http://www.apache.org/licenses/LICENSE-2.0
+     
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License. -->
+
+<!DOCTYPE preferences SYSTEM 'http://java.sun.com/dtd/preferences.dtd'>
+
+<preferences EXTERNAL_XML_VERSION="1.0">
+  <root type="user">
+    <map />
+    <node name="tests">
+      <map />
+      <node name="api">
+        <map />
+        <node name="java">
+          <map />
+          <node name="util">
+            <map />
+            <node name="prefs">
+              <map>
+                <entry key="prefskey" value="newvalue" />
+                <entry key="prefskey3" value="newvalue3" />
+              </map>
+              <node name="mock">
+                <map />
+                <node name="child">
+                  <map>
+                    <entry key="key2" value="value2" />
+                  </map>
+                  <node name="grandson">
+                    <map>
+                      <entry key="key3" value="value3" />
+                    </map>
+                    <node name="grandgrandson">
+                      <map>
+                        <entry key="key4" value="value4" />
+                      </map>
+                    </node>
+                  </node>
+                </node>
+              </node>
+            </node>
+          </node>
+        </node>
+      </node>
+    </node>
+  </root>
+</preferences>

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/userprefs-badencoding.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/userprefs-badform.xml
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/userprefs-badform.xml?view=diff&rev=443543&r1=443542&r2=443543
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/userprefs-badform.xml (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/userprefs-badform.xml Thu Sep 14 18:39:01 2006
@@ -1,49 +1,49 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- Copyright 2005 The Apache Software Foundation or its licensors, as applicable
-     
-     Licensed under the Apache License, Version 2.0 (the "License");
-     you may not use this file except in compliance with the License.
-     You may obtain a copy of the License at
-     
-         http://www.apache.org/licenses/LICENSE-2.0
-     
-     Unless required by applicable law or agreed to in writing, software
-     distributed under the License is distributed on an "AS IS" BASIS,
-     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-     See the License for the specific language governing permissions and
-     limitations under the License. -->
-
-<!DOCTYPE preferences SYSTEM 'http://java.sun.com/dtd/preferences.dtd'>
-
-<preferences EXTERNAL_XML_VERSION="1.0">
-  <root type="user">
-    <map />
-    <node name="java">
-      <map />
-      <node name="util">
-        <map />
-        <node name="prefs">
-          <map />
-          <node name="mock">
-            <map />
-            <node name="child">
-              <map>
-                <entry key="key2" value="value2" />
-              </map>
-              <node name="grandson">
-                <map>
-                  <entry key="key3" value="value3" />
-                </map>
-                <node name="grandgrandson">
-                  <map>
-                    <entry key="key4" value="value4" />
-                  </map>
-                </node>
-              </node>
-            </node>
-          </node>
-        </node>
-      </node>
-    </node>
-  </root>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+     
+     Licensed under the Apache License, Version 2.0 (the "License");
+     you may not use this file except in compliance with the License.
+     You may obtain a copy of the License at
+     
+         http://www.apache.org/licenses/LICENSE-2.0
+     
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License. -->
+
+<!DOCTYPE preferences SYSTEM 'http://java.sun.com/dtd/preferences.dtd'>
+
+<preferences EXTERNAL_XML_VERSION="1.0">
+  <root type="user">
+    <map />
+    <node name="java">
+      <map />
+      <node name="util">
+        <map />
+        <node name="prefs">
+          <map />
+          <node name="mock">
+            <map />
+            <node name="child">
+              <map>
+                <entry key="key2" value="value2" />
+              </map>
+              <node name="grandson">
+                <map>
+                  <entry key="key3" value="value3" />
+                </map>
+                <node name="grandgrandson">
+                  <map>
+                    <entry key="key4" value="value4" />
+                  </map>
+                </node>
+              </node>
+            </node>
+          </node>
+        </node>
+      </node>
+    </node>
+  </root>

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/userprefs-badform.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/userprefs-badtype.xml
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/userprefs-badtype.xml?view=diff&rev=443543&r1=443542&r2=443543
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/userprefs-badtype.xml (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/userprefs-badtype.xml Thu Sep 14 18:39:01 2006
@@ -1,59 +1,59 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- Copyright 2005 The Apache Software Foundation or its licensors, as applicable
-     
-     Licensed under the Apache License, Version 2.0 (the "License");
-     you may not use this file except in compliance with the License.
-     You may obtain a copy of the License at
-     
-         http://www.apache.org/licenses/LICENSE-2.0
-     
-     Unless required by applicable law or agreed to in writing, software
-     distributed under the License is distributed on an "AS IS" BASIS,
-     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-     See the License for the specific language governing permissions and
-     limitations under the License. -->
-
-<!DOCTYPE preferences SYSTEM 'preferences.dtd'>
-
-<preferences EXTERNAL_XML_VERSION="1.0">
-  <root type="user">
-    <map />
-    <node name="tests">
-      <map />
-      <node name="api">
-        <map />
-        <node name="java">
-          <map />
-          <node name="util">
-            <map />
-            <node name="prefs">
-              <map>
-                <entry key="prefskey" value="newvalue" />
-                <entry key="prefskey3" value="newvalue3" />
-              </map>
-              <node name="mock">
-                <map />
-                <node name="child">
-                  <map>
-                    <entry key="key2" value="value2" />
-                  </map>
-                  <node name="grandson">
-                    <map>
-                      <entry key="key3" value="value3" />
-                    </map>
-                    <node name="grandgrandson">
-                      <map>
-                        <entry key="key4" value="value4" />
-                      </map>
-                    </node>
-                  </node>
-                </node>
-              </node>
-            </node>
-          </node>
-        </node>
-      </node>
-    </node>
-  </root>
-</preferences>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+     
+     Licensed under the Apache License, Version 2.0 (the "License");
+     you may not use this file except in compliance with the License.
+     You may obtain a copy of the License at
+     
+         http://www.apache.org/licenses/LICENSE-2.0
+     
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License. -->
+
+<!DOCTYPE preferences SYSTEM 'preferences.dtd'>
+
+<preferences EXTERNAL_XML_VERSION="1.0">
+  <root type="user">
+    <map />
+    <node name="tests">
+      <map />
+      <node name="api">
+        <map />
+        <node name="java">
+          <map />
+          <node name="util">
+            <map />
+            <node name="prefs">
+              <map>
+                <entry key="prefskey" value="newvalue" />
+                <entry key="prefskey3" value="newvalue3" />
+              </map>
+              <node name="mock">
+                <map />
+                <node name="child">
+                  <map>
+                    <entry key="key2" value="value2" />
+                  </map>
+                  <node name="grandson">
+                    <map>
+                      <entry key="key3" value="value3" />
+                    </map>
+                    <node name="grandgrandson">
+                      <map>
+                        <entry key="key4" value="value4" />
+                      </map>
+                    </node>
+                  </node>
+                </node>
+              </node>
+            </node>
+          </node>
+        </node>
+      </node>
+    </node>
+  </root>
+</preferences>

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/userprefs-badtype.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/userprefs-higherversion.xml
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/userprefs-higherversion.xml?view=diff&rev=443543&r1=443542&r2=443543
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/userprefs-higherversion.xml (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/userprefs-higherversion.xml Thu Sep 14 18:39:01 2006
@@ -1,59 +1,59 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- Copyright 2005 The Apache Software Foundation or its licensors, as applicable
-     
-     Licensed under the Apache License, Version 2.0 (the "License");
-     you may not use this file except in compliance with the License.
-     You may obtain a copy of the License at
-     
-         http://www.apache.org/licenses/LICENSE-2.0
-     
-     Unless required by applicable law or agreed to in writing, software
-     distributed under the License is distributed on an "AS IS" BASIS,
-     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-     See the License for the specific language governing permissions and
-     limitations under the License. -->
-
-<!DOCTYPE preferences SYSTEM 'http://java.sun.com/dtd/preferences.dtd'>
-
-<preferences EXTERNAL_XML_VERSION="1.1">
-  <root type="user">
-    <map />
-    <node name="tests">
-      <map />
-      <node name="api">
-        <map />
-        <node name="java">
-          <map />
-          <node name="util">
-            <map />
-            <node name="prefs">
-              <map>
-                <entry key="prefskey" value="newvalue" />
-                <entry key="prefskey3" value="newvalue3" />
-              </map>
-              <node name="mock">
-                <map />
-                <node name="child">
-                  <map>
-                    <entry key="key2" value="value2" />
-                  </map>
-                  <node name="grandson">
-                    <map>
-                      <entry key="key3" value="value3" />
-                    </map>
-                    <node name="grandgrandson">
-                      <map>
-                        <entry key="key4" value="value4" />
-                      </map>
-                    </node>
-                  </node>
-                </node>
-              </node>
-            </node>
-          </node>
-        </node>
-      </node>
-    </node>
-  </root>
-</preferences>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+     
+     Licensed under the Apache License, Version 2.0 (the "License");
+     you may not use this file except in compliance with the License.
+     You may obtain a copy of the License at
+     
+         http://www.apache.org/licenses/LICENSE-2.0
+     
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License. -->
+
+<!DOCTYPE preferences SYSTEM 'http://java.sun.com/dtd/preferences.dtd'>
+
+<preferences EXTERNAL_XML_VERSION="1.1">
+  <root type="user">
+    <map />
+    <node name="tests">
+      <map />
+      <node name="api">
+        <map />
+        <node name="java">
+          <map />
+          <node name="util">
+            <map />
+            <node name="prefs">
+              <map>
+                <entry key="prefskey" value="newvalue" />
+                <entry key="prefskey3" value="newvalue3" />
+              </map>
+              <node name="mock">
+                <map />
+                <node name="child">
+                  <map>
+                    <entry key="key2" value="value2" />
+                  </map>
+                  <node name="grandson">
+                    <map>
+                      <entry key="key3" value="value3" />
+                    </map>
+                    <node name="grandgrandson">
+                      <map>
+                        <entry key="key4" value="value4" />
+                      </map>
+                    </node>
+                  </node>
+                </node>
+              </node>
+            </node>
+          </node>
+        </node>
+      </node>
+    </node>
+  </root>
+</preferences>

Propchange: incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/userprefs-higherversion.xml
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message