Skip to content

Commit 8301227

Browse files
author
Andy Goryachev
committedMar 5, 2024
8270996: javadoc: missing comments in serialized classes
Reviewed-by: kcr, psadhukhan
1 parent 66d9681 commit 8301227

File tree

25 files changed

+118
-22
lines changed

25 files changed

+118
-22
lines changed
 

‎modules/javafx.base/src/main/java/javafx/event/Event.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2010, 2014, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2010, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -170,6 +170,7 @@ public Object clone() {
170170
}
171171
}
172172

173+
@SuppressWarnings("doclint:missing")
173174
private void readObject(java.io.ObjectInputStream in) throws IOException, ClassNotFoundException {
174175
in.defaultReadObject();
175176
source = NULL_SOURCE_TARGET;

‎modules/javafx.base/src/main/java/javafx/event/EventType.java

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2010, 2022, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2010, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -67,10 +67,13 @@ public final class EventType<T extends Event> implements Serializable{
6767
public static final EventType<Event> ROOT =
6868
new EventType<>("EVENT", null);
6969

70+
@SuppressWarnings("doclint:missing")
7071
private WeakHashMap<EventType<? extends T>, Void> subTypes;
7172

73+
@SuppressWarnings("doclint:missing")
7274
private final EventType<? super T> superType;
7375

76+
@SuppressWarnings("doclint:missing")
7477
private final String name;
7578

7679
/**
@@ -189,6 +192,7 @@ private void register(javafx.event.EventType<? extends T> subType) {
189192
subTypes.put(subType, null);
190193
}
191194

195+
@SuppressWarnings("doclint:missing")
192196
private Object writeReplace() {
193197
Deque<String> path = new LinkedList<>();
194198
EventType<?> t = this;

‎modules/javafx.controls/src/main/java/javafx/scene/control/CheckBoxTreeItem.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2012, 2022, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2012, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -357,6 +357,7 @@ public static class TreeModificationEvent<T> extends Event {
357357
private static final long serialVersionUID = -8445355590698862999L;
358358

359359
private transient final CheckBoxTreeItem<T> treeItem;
360+
@SuppressWarnings("doclint:missing")
360361
private final boolean selectionChanged;
361362

362363
/**

‎modules/javafx.controls/src/main/java/javafx/scene/control/ListView.java

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2010, 2023, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2010, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -1184,8 +1184,11 @@ public Object queryAccessibleAttribute(AccessibleAttribute attribute, Object...
11841184
* @since JavaFX 2.0
11851185
*/
11861186
public static class EditEvent<T> extends Event {
1187+
@SuppressWarnings("doclint:missing")
11871188
private final T newValue;
1189+
@SuppressWarnings("doclint:missing")
11881190
private final int editIndex;
1191+
@SuppressWarnings("doclint:missing")
11891192
private final ListView<T> source;
11901193

11911194
private static final long serialVersionUID = 20130724L;

‎modules/javafx.controls/src/main/java/javafx/scene/control/ScrollToEvent.java

+1
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ public static EventType<ScrollToEvent<Integer>> scrollToTopIndex() {
8080

8181
private static final long serialVersionUID = -8557345736849482516L;
8282

83+
@SuppressWarnings("doclint:missing")
8384
private final T scrollTarget;
8485

8586
/**

‎modules/javafx.controls/src/main/java/javafx/scene/control/TableColumn.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2010, 2022, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2010, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -766,6 +766,7 @@ public static class CellEditEvent<S,T> extends Event {
766766
// to go back into the TableView.items list - this new value represents
767767
// just the input for a single cell, so it is likely that it needs to go
768768
// back into a property within an item in the TableView.items list.
769+
@SuppressWarnings("doclint:missing")
769770
private final T newValue;
770771

771772
// The location of the edit event

‎modules/javafx.controls/src/main/java/javafx/scene/control/TreeItem.java

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2010, 2023, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2010, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -998,14 +998,21 @@ public static class TreeModificationEvent<T> extends Event {
998998
public static final EventType<?> ANY = TREE_NOTIFICATION_EVENT;
999999

10001000
private transient final TreeItem<T> treeItem;
1001+
@SuppressWarnings("doclint:missing")
10011002
private final T newValue;
10021003

1004+
@SuppressWarnings("doclint:missing")
10031005
private final List<? extends TreeItem<T>> added;
1006+
@SuppressWarnings("doclint:missing")
10041007
private final List<? extends TreeItem<T>> removed;
1008+
@SuppressWarnings("doclint:missing")
10051009
private final ListChangeListener.Change<? extends TreeItem<T>> change;
10061010

1011+
@SuppressWarnings("doclint:missing")
10071012
private final boolean wasExpanded;
1013+
@SuppressWarnings("doclint:missing")
10081014
private final boolean wasCollapsed;
1015+
@SuppressWarnings("doclint:missing")
10091016
private boolean wasPermutated;
10101017

10111018
/**

‎modules/javafx.controls/src/main/java/javafx/scene/control/TreeTableColumn.java

+1
Original file line numberDiff line numberDiff line change
@@ -753,6 +753,7 @@ public static class CellEditEvent<S,T> extends Event {
753753
// to go back into the TableView.items list - this new value represents
754754
// just the input for a single cell, so it is likely that it needs to go
755755
// back into a property within an item in the TableView.items list.
756+
@SuppressWarnings("doclint:missing")
756757
private final T newValue;
757758

758759
// The location of the edit event

‎modules/javafx.controls/src/main/java/javafx/scene/control/TreeTableView.java

+3
Original file line numberDiff line numberDiff line change
@@ -2390,8 +2390,11 @@ public static class EditEvent<S> extends Event {
23902390
*/
23912391
public static final EventType<?> ANY = EDIT_ANY_EVENT;
23922392

2393+
@SuppressWarnings("doclint:missing")
23932394
private final TreeTableView<S> source;
2395+
@SuppressWarnings("doclint:missing")
23942396
private final S oldValue;
2397+
@SuppressWarnings("doclint:missing")
23952398
private final S newValue;
23962399
private transient final TreeItem<S> treeItem;
23972400

‎modules/javafx.controls/src/main/java/javafx/scene/control/TreeView.java

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2008, 2023, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2008, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -1263,8 +1263,11 @@ public static class EditEvent<T> extends Event {
12631263
*/
12641264
public static final EventType<?> ANY = EDIT_ANY_EVENT;
12651265

1266+
@SuppressWarnings("doclint:missing")
12661267
private final TreeView<T> source;
1268+
@SuppressWarnings("doclint:missing")
12671269
private final T oldValue;
1270+
@SuppressWarnings("doclint:missing")
12681271
private final T newValue;
12691272
private transient final TreeItem<T> treeItem;
12701273

‎modules/javafx.graphics/src/main/java/javafx/scene/input/ContextMenuEvent.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -328,6 +328,7 @@ public final PickResult getPickResult() {
328328
return sb.append("]").toString();
329329
}
330330

331+
@SuppressWarnings("doclint:missing")
331332
private void readObject(java.io.ObjectInputStream in)
332333
throws IOException, ClassNotFoundException {
333334
in.defaultReadObject();

‎modules/javafx.graphics/src/main/java/javafx/scene/input/DragEvent.java

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -590,6 +590,7 @@ public final PickResult getPickResult() {
590590
* @return the source object of the drag and drop gesture
591591
*/
592592
public final Object getGestureSource() { return gestureSource; }
593+
@SuppressWarnings("doclint:missing")
593594
private Object gestureSource;
594595

595596
/**
@@ -601,6 +602,7 @@ public final PickResult getPickResult() {
601602
* @return the target object of the drag and drop gesture
602603
*/
603604
public final Object getGestureTarget() { return gestureTarget; }
605+
@SuppressWarnings("doclint:missing")
604606
private Object gestureTarget;
605607

606608
/**
@@ -614,8 +616,10 @@ public final PickResult getPickResult() {
614616
* @return the data transfer mode
615617
*/
616618
public final TransferMode getTransferMode() { return transferMode; }
619+
@SuppressWarnings("doclint:missing")
617620
private TransferMode transferMode;
618621

622+
@SuppressWarnings("doclint:missing")
619623
private final State state = new State();
620624

621625
/**
@@ -748,6 +752,7 @@ public boolean isDropCompleted() {
748752
return state.dropCompleted;
749753
}
750754

755+
@SuppressWarnings("doclint:missing")
751756
private void readObject(java.io.ObjectInputStream in)
752757
throws IOException, ClassNotFoundException {
753758
in.defaultReadObject();

‎modules/javafx.graphics/src/main/java/javafx/scene/input/GestureEvent.java

+12-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2010, 2022, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2010, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -223,6 +223,7 @@ public final double getZ() {
223223
return z;
224224
}
225225

226+
@SuppressWarnings("doclint:missing")
226227
private final double screenX;
227228

228229
/**
@@ -235,6 +236,7 @@ public final double getScreenX() {
235236
return screenX;
236237
}
237238

239+
@SuppressWarnings("doclint:missing")
238240
private final double screenY;
239241

240242
/**
@@ -247,6 +249,7 @@ public final double getScreenY() {
247249
return screenY;
248250
}
249251

252+
@SuppressWarnings("doclint:missing")
250253
private final double sceneX;
251254

252255
/**
@@ -266,6 +269,7 @@ public final double getSceneX() {
266269
return sceneX;
267270
}
268271

272+
@SuppressWarnings("doclint:missing")
269273
private final double sceneY;
270274

271275
/**
@@ -285,6 +289,7 @@ public final double getSceneY() {
285289
return sceneY;
286290
}
287291

292+
@SuppressWarnings("doclint:missing")
288293
private final boolean shiftDown;
289294

290295
/**
@@ -295,6 +300,7 @@ public final boolean isShiftDown() {
295300
return shiftDown;
296301
}
297302

303+
@SuppressWarnings("doclint:missing")
298304
private final boolean controlDown;
299305

300306
/**
@@ -305,6 +311,7 @@ public final boolean isControlDown() {
305311
return controlDown;
306312
}
307313

314+
@SuppressWarnings("doclint:missing")
308315
private final boolean altDown;
309316

310317
/**
@@ -315,6 +322,7 @@ public final boolean isAltDown() {
315322
return altDown;
316323
}
317324

325+
@SuppressWarnings("doclint:missing")
318326
private final boolean metaDown;
319327

320328
/**
@@ -325,6 +333,7 @@ public final boolean isMetaDown() {
325333
return metaDown;
326334
}
327335

336+
@SuppressWarnings("doclint:missing")
328337
private final boolean direct;
329338

330339
/**
@@ -340,6 +349,7 @@ public final boolean isDirect() {
340349
return direct;
341350
}
342351

352+
@SuppressWarnings("doclint:missing")
343353
private final boolean inertia;
344354

345355
/**
@@ -435,6 +445,7 @@ public final boolean isShortcutDown() {
435445
return sb.append("]").toString();
436446
}
437447

448+
@SuppressWarnings("doclint:missing")
438449
private void readObject(java.io.ObjectInputStream in)
439450
throws IOException, ClassNotFoundException {
440451
in.defaultReadObject();

‎modules/javafx.graphics/src/main/java/javafx/scene/input/InputMethodEvent.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2009, 2022, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2009, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -189,11 +189,13 @@ public EventType<InputMethodEvent> getEventType() {
189189
return (EventType<InputMethodEvent>) super.getEventType();
190190
}
191191

192+
@SuppressWarnings("doclint:missing")
192193
private void writeObject(ObjectOutputStream oos) throws IOException {
193194
oos.defaultWriteObject();
194195
oos.writeObject(new ArrayList(composed));
195196
}
196197

198+
@SuppressWarnings("doclint:missing")
197199
private void readObject(ObjectInputStream ois) throws IOException,
198200
ClassNotFoundException {
199201
ois.defaultReadObject();

‎modules/javafx.graphics/src/main/java/javafx/scene/input/MouseEvent.java

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2010, 2022, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2010, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -551,6 +551,8 @@ public static MouseDragEvent copyForMouseDragEvent(
551551
ev.recomputeCoordinatesToSource(e, source);
552552
return ev;
553553
}
554+
555+
@SuppressWarnings("doclint:missing")
554556
private final Flags flags = new Flags();
555557

556558
/**
@@ -820,6 +822,7 @@ public final boolean isMetaDown() {
820822
return metaDown;
821823
}
822824

825+
@SuppressWarnings("doclint:missing")
823826
private final boolean synthesized;
824827

825828
/**
@@ -1102,6 +1105,7 @@ public Flags clone() {
11021105
}
11031106
}
11041107

1108+
@SuppressWarnings("doclint:missing")
11051109
private void readObject(java.io.ObjectInputStream in)
11061110
throws IOException, ClassNotFoundException {
11071111
in.defaultReadObject();

‎modules/javafx.graphics/src/main/java/javafx/scene/input/RotateEvent.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2010, 2022, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2010, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -161,6 +161,7 @@ public RotateEvent(final @NamedArg("eventType") EventType<RotateEvent> eventType
161161
altDown, metaDown, direct, inertia, angle, totalAngle, pickResult);
162162
}
163163

164+
@SuppressWarnings("doclint:missing")
164165
private final double angle;
165166

166167
/**
@@ -173,6 +174,7 @@ public double getAngle() {
173174
return angle;
174175
}
175176

177+
@SuppressWarnings("doclint:missing")
176178
private final double totalAngle;
177179

178180
/**

‎modules/javafx.graphics/src/main/java/javafx/scene/input/ScrollEvent.java

+12-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2000, 2022, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2000, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -314,6 +314,7 @@ public ScrollEvent(final @NamedArg("eventType") EventType<ScrollEvent> eventType
314314
textDeltaYUnits, textDeltaY, touchCount, pickResult);
315315
}
316316

317+
@SuppressWarnings("doclint:missing")
317318
private final double deltaX;
318319

319320
/**
@@ -333,6 +334,7 @@ public double getDeltaX() {
333334
return deltaX;
334335
}
335336

337+
@SuppressWarnings("doclint:missing")
336338
private final double deltaY;
337339

338340
/**
@@ -352,6 +354,7 @@ public double getDeltaY() {
352354
return deltaY;
353355
}
354356

357+
@SuppressWarnings("doclint:missing")
355358
private double totalDeltaX;
356359

357360
/**
@@ -372,6 +375,7 @@ public double getTotalDeltaX() {
372375
return totalDeltaX;
373376
}
374377

378+
@SuppressWarnings("doclint:missing")
375379
private final double totalDeltaY;
376380

377381
/**
@@ -392,6 +396,7 @@ public double getTotalDeltaY() {
392396
return totalDeltaY;
393397
}
394398

399+
@SuppressWarnings("doclint:missing")
395400
private final HorizontalTextScrollUnits textDeltaXUnits;
396401

397402
/**
@@ -407,6 +412,7 @@ public HorizontalTextScrollUnits getTextDeltaXUnits() {
407412
return textDeltaXUnits;
408413
}
409414

415+
@SuppressWarnings("doclint:missing")
410416
private final VerticalTextScrollUnits textDeltaYUnits;
411417

412418
/**
@@ -422,6 +428,7 @@ public VerticalTextScrollUnits getTextDeltaYUnits() {
422428
return textDeltaYUnits;
423429
}
424430

431+
@SuppressWarnings("doclint:missing")
425432
private final double textDeltaX;
426433

427434
/**
@@ -436,6 +443,7 @@ public double getTextDeltaX() {
436443
return textDeltaX;
437444
}
438445

446+
@SuppressWarnings("doclint:missing")
439447
private final double textDeltaY;
440448

441449
/**
@@ -450,6 +458,7 @@ public double getTextDeltaY() {
450458
return textDeltaY;
451459
}
452460

461+
@SuppressWarnings("doclint:missing")
453462
private final int touchCount;
454463

455464
/**
@@ -463,6 +472,7 @@ public int getTouchCount() {
463472
return touchCount;
464473
}
465474

475+
@SuppressWarnings("doclint:missing")
466476
private final double multiplierX;
467477

468478
/**
@@ -474,6 +484,7 @@ public double getMultiplierX() {
474484
return multiplierX;
475485
}
476486

487+
@SuppressWarnings("doclint:missing")
477488
private final double multiplierY;
478489

479490
/**

‎modules/javafx.graphics/src/main/java/javafx/scene/input/SwipeEvent.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2010, 2022, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2010, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -161,6 +161,7 @@ public SwipeEvent(final @NamedArg("eventType") EventType<SwipeEvent> eventType,
161161
altDown, metaDown, direct, touchCount, pickResult);
162162
}
163163

164+
@SuppressWarnings("doclint:missing")
164165
private final int touchCount;
165166

166167
/**

‎modules/javafx.graphics/src/main/java/javafx/scene/input/TouchEvent.java

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2010, 2022, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2010, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -193,6 +193,7 @@ public EventType<TouchEvent> getEventType() {
193193
return (EventType<TouchEvent>) super.getEventType();
194194
}
195195

196+
@SuppressWarnings("doclint:missing")
196197
private final int eventSetId;
197198

198199
/**
@@ -264,6 +265,7 @@ public final boolean isMetaDown() {
264265
return metaDown;
265266
}
266267

268+
@SuppressWarnings("doclint:missing")
267269
private final TouchPoint touchPoint;
268270

269271
/**
@@ -274,6 +276,7 @@ public TouchPoint getTouchPoint() {
274276
return touchPoint;
275277
}
276278

279+
@SuppressWarnings("doclint:missing")
277280
private final List<TouchPoint> touchPoints;
278281

279282
/**

‎modules/javafx.graphics/src/main/java/javafx/scene/input/TouchPoint.java

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2010, 2017, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2010, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -156,6 +156,7 @@ void reset() {
156156
z = p.getZ();
157157
}
158158

159+
@SuppressWarnings("doclint:missing")
159160
private EventTarget grabbed = null;
160161

161162
/**
@@ -198,6 +199,7 @@ public void ungrab() {
198199
grabbed = null;
199200
}
200201

202+
@SuppressWarnings("doclint:missing")
201203
private int id;
202204

203205
/**
@@ -212,6 +214,7 @@ public final int getId() {
212214
return id;
213215
}
214216

217+
@SuppressWarnings("doclint:missing")
215218
private State state;
216219

217220
/**
@@ -267,6 +270,7 @@ public final double getZ() {
267270
return z;
268271
}
269272

273+
@SuppressWarnings("doclint:missing")
270274
private double screenX;
271275

272276
/**
@@ -277,6 +281,7 @@ public final double getScreenX() {
277281
return screenX;
278282
}
279283

284+
@SuppressWarnings("doclint:missing")
280285
private double screenY;
281286

282287
/**
@@ -287,6 +292,7 @@ public final double getScreenY() {
287292
return screenY;
288293
}
289294

295+
@SuppressWarnings("doclint:missing")
290296
private double sceneX;
291297

292298
/**
@@ -304,6 +310,7 @@ public final double getSceneX() {
304310
return sceneX;
305311
}
306312

313+
@SuppressWarnings("doclint:missing")
307314
private double sceneY;
308315

309316
/**
@@ -363,6 +370,7 @@ public EventTarget getTarget() {
363370
return sb.append("]").toString();
364371
}
365372

373+
@SuppressWarnings("doclint:missing")
366374
private void readObject(java.io.ObjectInputStream in)
367375
throws IOException, ClassNotFoundException {
368376
in.defaultReadObject();

‎modules/javafx.graphics/src/main/java/javafx/scene/input/ZoomEvent.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2010, 2022, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2010, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -164,6 +164,7 @@ public ZoomEvent(final @NamedArg("eventType") EventType<ZoomEvent> eventType,
164164
pickResult);
165165
}
166166

167+
@SuppressWarnings("doclint:missing")
167168
private final double zoomFactor;
168169

169170
/**
@@ -177,6 +178,7 @@ public double getZoomFactor() {
177178
return zoomFactor;
178179
}
179180

181+
@SuppressWarnings("doclint:missing")
180182
private final double totalZoomFactor;
181183

182184
/**

‎modules/javafx.media/src/main/java/javafx/scene/media/MediaMarkerEvent.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2010, 2017, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2010, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -41,6 +41,7 @@ public class MediaMarkerEvent extends ActionEvent {
4141

4242
private static final long serialVersionUID = 20121107L;
4343

44+
@SuppressWarnings("doclint:missing")
4445
private Pair<String,Duration> marker;
4546

4647
MediaMarkerEvent(Pair<String,Duration> marker) {

‎modules/javafx.swing/src/main/java/javafx/embed/swing/JFXPanel.java

+19-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2010, 2023, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2010, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -135,6 +135,11 @@
135135
* }
136136
* }
137137
* </pre>
138+
* <strong>Warning:</strong>
139+
* Serialized objects of this class will not be compatible with
140+
* future Swing or JavaFX releases. The current serialization support is
141+
* appropriate for short term storage or RMI between applications running
142+
* the same version of Swing and the same version of JavaFX.
138143
*
139144
* @since JavaFX 2.0
140145
*/
@@ -157,36 +162,49 @@ public class JFXPanel extends JComponent {
157162
private transient EmbeddedSceneInterface scenePeer;
158163

159164
// The logical size of the FX content
165+
@SuppressWarnings("doclint:missing")
160166
private int pWidth;
167+
@SuppressWarnings("doclint:missing")
161168
private int pHeight;
162169

163170
// The scale factor, used to translate b/w the logical (the FX content dimension)
164171
// and physical (the back buffer's dimension) coordinate spaces
172+
@SuppressWarnings("doclint:missing")
165173
private double scaleFactorX = 1.0;
174+
@SuppressWarnings("doclint:missing")
166175
private double scaleFactorY = 1.0;
167176

168177
// Preferred size set from FX
178+
@SuppressWarnings("doclint:missing")
169179
private volatile int pPreferredWidth = -1;
180+
@SuppressWarnings("doclint:missing")
170181
private volatile int pPreferredHeight = -1;
171182

172183
// Cached copy of this component's location on screen to avoid
173184
// calling getLocationOnScreen() under the tree lock on FX thread
185+
@SuppressWarnings("doclint:missing")
174186
private volatile int screenX = 0;
187+
@SuppressWarnings("doclint:missing")
175188
private volatile int screenY = 0;
176189

177190
// Accessed on EDT only
191+
@SuppressWarnings("doclint:missing")
178192
private BufferedImage pixelsIm;
179193

194+
@SuppressWarnings("doclint:missing")
180195
private volatile float opacity = 1.0f;
181196

182197
// Indicates how many times setFxEnabled(false) has been called.
183198
// A value of 0 means the component is enabled.
199+
@SuppressWarnings("doclint:missing")
184200
private AtomicInteger disableCount = new AtomicInteger(0);
185201

202+
@SuppressWarnings("doclint:missing")
186203
private boolean isCapturingMouse = false;
187204

188205
private static boolean fxInitialized;
189206

207+
@SuppressWarnings("doclint:missing")
190208
private JFXPanelInteropN jfxPanelIOP;
191209

192210
private synchronized void registerFinishListener() {

‎modules/javafx.web/src/main/java/javafx/scene/web/WebErrorEvent.java

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2013, 2022, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2013, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -121,8 +121,9 @@ public final class WebErrorEvent extends Event {
121121
USER_DATA_DIRECTORY_SECURITY_ERROR = new EventType<>(
122122
WebErrorEvent.ANY, "USER_DATA_DIRECTORY_SECURITY_ERROR");
123123

124-
124+
@SuppressWarnings("doclint:missing")
125125
private final String message;
126+
@SuppressWarnings("doclint:missing")
126127
private final Throwable exception;
127128

128129

‎modules/javafx.web/src/main/java/javafx/scene/web/WebEvent.java

+1
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ final public class WebEvent<T> extends Event {
7777
public static final EventType<WebEvent> ALERT =
7878
new EventType<>(WebEvent.ANY, "WEB_ALERT");
7979

80+
@SuppressWarnings("doclint:missing")
8081
private final T data;
8182

8283
/**

0 commit comments

Comments
 (0)
Please sign in to comment.