src/jdk.jfr/share/classes/jdk/jfr/consumer/RecordedStackTrace.java
branchJEP-349-branch
changeset 57460 bcbc53560c77
parent 50113 caf115bb98ad
child 58112 e7754025004b
--- a/src/jdk.jfr/share/classes/jdk/jfr/consumer/RecordedStackTrace.java	Mon Jul 08 18:11:26 2019 +0200
+++ b/src/jdk.jfr/share/classes/jdk/jfr/consumer/RecordedStackTrace.java	Mon Jul 08 23:08:05 2019 +0200
@@ -29,7 +29,6 @@
 import java.util.Collections;
 import java.util.List;
 
-import jdk.jfr.ValueDescriptor;
 import jdk.jfr.internal.Type;
 
 /**
@@ -40,16 +39,16 @@
 public final class RecordedStackTrace extends RecordedObject {
 
     static ObjectFactory<RecordedStackTrace> createFactory(Type type, TimeConverter timeConverter) {
-        return new ObjectFactory<RecordedStackTrace>(type) {
+        return new ObjectFactory<RecordedStackTrace>(type, timeConverter) {
             @Override
-            RecordedStackTrace createTyped(List<ValueDescriptor> desc, long id, Object[] object) {
-                return new RecordedStackTrace(desc, object, timeConverter);
+            RecordedStackTrace createTyped(ObjectContext objectContext, long id, Object[] values) {
+                return new RecordedStackTrace(objectContext, values);
             }
         };
     }
 
-    private RecordedStackTrace(List<ValueDescriptor> desc, Object[] values, TimeConverter timeConverter) {
-        super(desc, values, timeConverter);
+    private RecordedStackTrace(ObjectContext objectContext, Object[] values) {
+        super(objectContext, values);
     }
 
     /**