src/jdk.jfr/share/classes/jdk/jfr/internal/Type.java
changeset 52334 a181612f0715
parent 50113 caf115bb98ad
child 52413 6372f5af9612
--- a/src/jdk.jfr/share/classes/jdk/jfr/internal/Type.java	Tue Oct 30 15:17:58 2018 -0700
+++ b/src/jdk.jfr/share/classes/jdk/jfr/internal/Type.java	Wed Oct 31 02:10:21 2018 +0100
@@ -71,10 +71,11 @@
     private final String name;
     private final String superType;
     private final boolean constantPool;
-    private final long id;
     private final ArrayList<ValueDescriptor> fields = new ArrayList<>();
     private Boolean simpleType; // calculated lazy
     private boolean remove = true;
+    private long id;
+
     /**
      * Creates a type
      *
@@ -318,4 +319,8 @@
     public boolean getRemove() {
         return remove;
     }
+
+    public void setId(long id) {
+        this.id = id;
+    }
 }