Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8274396: Suppress more warnings on non-serializable non-transient instance fields in client libs #5723

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -220,6 +220,7 @@ public void removePropertyChangeListener(PropertyChangeListener l) {
}

private Font font;
@SuppressWarnings("serial")
private Toolkit toolkit;
private String sampleText = "Abcde...";

@@ -61,9 +61,12 @@
// This class is final due to the 6607310 fix. Refer to the CR for details.
public final class CompositionArea extends JPanel implements InputMethodListener {

@SuppressWarnings("serial")
private CompositionAreaHandler handler;

@SuppressWarnings("serial")
private TextLayout composedTextLayout;
@SuppressWarnings("serial")
private TextHitInfo caret = null;
private JFrame compositionWindow;
private static final int TEXT_ORIGIN_X = 5;
@@ -40,6 +40,7 @@
extends JFrame
implements InputMethodWindow {

@SuppressWarnings("serial")
InputContext inputContext = null;

/**
@@ -38,6 +38,7 @@
extends Frame
implements InputMethodWindow {

@SuppressWarnings("serial")
InputContext inputContext = null;

/**
@@ -39,6 +39,7 @@ public class PrinterJobWrapper implements PrintRequestAttribute {
@Serial
private static final long serialVersionUID = -8792124426995707237L;

@SuppressWarnings("serial")
private PrinterJob job;

public PrinterJobWrapper(PrinterJob job) {