Index: /applications/editors/josm/plugins/editgpx/build.xml
===================================================================
--- /applications/editors/josm/plugins/editgpx/build.xml	(revision 35930)
+++ /applications/editors/josm/plugins/editgpx/build.xml	(revision 35931)
@@ -4,5 +4,5 @@
     <property name="commit.message" value="Changed constructor signature of plugin main class"/>
     <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
-    <property name="plugin.main.version" value="15502"/>
+    <property name="plugin.main.version" value="17715"/>
     
     <!-- Configure these properties (replace "..." accordingly).
Index: /applications/editors/josm/plugins/editgpx/src/org/openstreetmap/josm/plugins/editgpx/data/EditGpxWayPoint.java
===================================================================
--- /applications/editors/josm/plugins/editgpx/src/org/openstreetmap/josm/plugins/editgpx/data/EditGpxWayPoint.java	(revision 35930)
+++ /applications/editors/josm/plugins/editgpx/src/org/openstreetmap/josm/plugins/editgpx/data/EditGpxWayPoint.java	(revision 35931)
@@ -1,4 +1,5 @@
 package org.openstreetmap.josm.plugins.editgpx.data;
 
+import java.time.Instant;
 import java.util.HashMap;
 import java.util.Map;
@@ -21,5 +22,5 @@
     public WayPoint createWayPoint() {
         WayPoint result = new WayPoint(getCoor());
-        result.setTime((long) time);
+        result.setInstant(Instant.ofEpochSecond((long) time));
         result.attr = attributes;
         return result;
