harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r375256 - in /incubator/harmony/enhanced/classlib/trunk/modules/kernel/src/main/java/java/lang: Class.java StackTraceElement.java String.java Throwable.java
Date Mon, 06 Feb 2006 11:42:35 GMT
Author: tellison
Date: Mon Feb  6 03:42:34 2006
New Revision: 375256

URL: http://svn.apache.org/viewcvs?rev=375256&view=rev
Log:
Fix for HARMONY-74 (kernel files do not fully comply with serialVersionUID spec)

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/kernel/src/main/java/java/lang/Class.java
    incubator/harmony/enhanced/classlib/trunk/modules/kernel/src/main/java/java/lang/StackTraceElement.java
    incubator/harmony/enhanced/classlib/trunk/modules/kernel/src/main/java/java/lang/String.java
    incubator/harmony/enhanced/classlib/trunk/modules/kernel/src/main/java/java/lang/Throwable.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/kernel/src/main/java/java/lang/Class.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/kernel/src/main/java/java/lang/Class.java?rev=375256&r1=375255&r2=375256&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/kernel/src/main/java/java/lang/Class.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/kernel/src/main/java/java/lang/Class.java
Mon Feb  6 03:42:34 2006
@@ -66,7 +66,7 @@
  * 
  */
 public final class Class implements java.io.Serializable {
-	static final long serialVersionUID = 3206093459760846163L;
+	private static final long serialVersionUID = 3206093459760846163L;
 
 	/**
 	 * Answers a Class object which represents the class named by the argument.

Modified: incubator/harmony/enhanced/classlib/trunk/modules/kernel/src/main/java/java/lang/StackTraceElement.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/kernel/src/main/java/java/lang/StackTraceElement.java?rev=375256&r1=375255&r2=375256&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/kernel/src/main/java/java/lang/StackTraceElement.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/kernel/src/main/java/java/lang/StackTraceElement.java
Mon Feb  6 03:42:34 2006
@@ -25,7 +25,7 @@
  * @see Throwable#getStackTrace()
  */
 public final class StackTraceElement implements java.io.Serializable {
-	static final long serialVersionUID = 6992337162326171013L;
+	private static final long serialVersionUID = 6992337162326171013L;
 
 	String declaringClass, methodName, fileName;
 

Modified: incubator/harmony/enhanced/classlib/trunk/modules/kernel/src/main/java/java/lang/String.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/kernel/src/main/java/java/lang/String.java?rev=375256&r1=375255&r2=375256&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/kernel/src/main/java/java/lang/String.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/kernel/src/main/java/java/lang/String.java
Mon Feb  6 03:42:34 2006
@@ -31,7 +31,7 @@
  * @see StringBuffer
  */
 public final class String implements Serializable, Comparable, CharSequence {
-	static final long serialVersionUID = -6849794470754667710L;
+	private static final long serialVersionUID = -6849794470754667710L;
 
 	/**
 	 * An PrintStream used for System.out which performs the 
@@ -80,7 +80,7 @@
 	 */
 	private static final class CaseInsensitiveComparator implements Comparator,
 			Serializable {
-		static final long serialVersionUID = 8575799808933029326L;
+		private static final long serialVersionUID = 8575799808933029326L;
 
 		/**
 		 * Compare the two objects to determine

Modified: incubator/harmony/enhanced/classlib/trunk/modules/kernel/src/main/java/java/lang/Throwable.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/kernel/src/main/java/java/lang/Throwable.java?rev=375256&r1=375255&r2=375256&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/kernel/src/main/java/java/lang/Throwable.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/kernel/src/main/java/java/lang/Throwable.java
Mon Feb  6 03:42:34 2006
@@ -38,7 +38,7 @@
  * @see RuntimeException
  */
 public class Throwable implements java.io.Serializable {
-	static final long serialVersionUID = -3042686055658047285L;
+	private static final long serialVersionUID = -3042686055658047285L;
 
 	/**
 	 * The message provided when the exception was created.



Mime
View raw message