Skip to content

Commit

Permalink
Merge "Remove unneeded 'transient' modifiers"
Browse files Browse the repository at this point in the history
  • Loading branch information
Treehugger Robot authored and Gerrit Code Review committed Dec 3, 2016
2 parents 0e6a2b6 + 8125e3f commit fede554
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions libart/src/main/java/dalvik/system/ClassExt.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ public final class ClassExt {
* These entries are associated with the obsolete ArtMethod pointers at the same indexes in the
* obsoleteMethods array.
*
* Transient as this field has native components and is a logical part of the 'Class' type.
* This field has native components and is a logical part of the 'Class' type.
*/
private transient Object[] obsoleteDexCaches;
private Object[] obsoleteDexCaches;

/**
* An array of all native obsolete ArtMethod pointers.
Expand All @@ -43,9 +43,9 @@ public final class ClassExt {
*
* This field is actually either an int[] or a long[] depending on size of a pointer.
*
* Transient as this field contains native pointers and is a logical part of the 'Class' type.
* This field contains native pointers and is a logical part of the 'Class' type.
*/
private transient Object obsoleteMethods;
private Object obsoleteMethods;

/**
* If set, the original DexCache associated with the related class.
Expand All @@ -56,17 +56,17 @@ public final class ClassExt {
*
* Needed in order to implement retransformation of classes.
*
* Transient as this field has native components and is a logical part of the 'Class' type.
* This field has native components and is a logical part of the 'Class' type.
*/
private transient Object originalDexCache;
private Object originalDexCache;

/**
* If class verify fails, we must return same error on subsequent tries. We may store either
* the class of the error, or an actual instance of Throwable here.
*
* Transient as this field is a logical part of the 'Class' type.
* This field is a logical part of the 'Class' type.
*/
private transient Object verifyError;
private Object verifyError;

/**
* Private constructor.
Expand Down

0 comments on commit fede554

Please sign in to comment.