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

8252195: AWT Accessibility API nested classes rely on default constructors #288

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
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
@@ -578,6 +578,11 @@ protected class AccessibleApplet extends AccessibleAWTPanel {
*/
private static final long serialVersionUID = 8127374778187708896L;

/**
* Constructs an {@code AccessibleApplet}
*/
protected AccessibleApplet() {}

/**
* Get the role of this object.
*
@@ -537,6 +537,11 @@ protected class AccessibleAWTButton extends AccessibleAWTComponent
*/
private static final long serialVersionUID = -5932203980244017102L;

/**
* Constructs an {@code AccessibleAWTButton}
*/
protected AccessibleAWTButton() {}

/**
* Get the accessible name of this object.
*
@@ -240,6 +240,11 @@ protected class AccessibleAWTCanvas extends AccessibleAWTComponent
{
private static final long serialVersionUID = -6325592262103146699L;

/**
* Constructs an {@code AccessibleAWTCanvas}
*/
protected AccessibleAWTCanvas() {}

/**
* Get the role of this object.
*
@@ -536,6 +536,11 @@ protected class AccessibleAWTCheckboxMenuItem extends AccessibleAWTMenuItem
*/
private static final long serialVersionUID = -1122642964303476L;

/**
* Constructs an {@code AccessibleAWTCheckboxMenuItem}
*/
protected AccessibleAWTCheckboxMenuItem() {}

/**
* Get the AccessibleAction associated with this object. In the
* implementation of the Java Accessibility API for this class,
@@ -9341,6 +9341,11 @@ protected AccessibleAWTComponent() {
protected class AccessibleAWTComponentHandler implements ComponentListener, Serializable {
private static final long serialVersionUID = -1009684107426231869L;

/**
* Constructs an {@code AccessibleAWTComponentHandler}
*/
protected AccessibleAWTComponentHandler() {}

public void componentHidden(ComponentEvent e) {
if (accessibleContext != null) {
accessibleContext.firePropertyChange(
@@ -9373,6 +9378,11 @@ public void componentResized(ComponentEvent e) {
protected class AccessibleAWTFocusHandler implements FocusListener, Serializable {
private static final long serialVersionUID = 3150908257351582233L;

/**
* Constructs an {@code AccessibleAWTFocusHandler}
*/
protected AccessibleAWTFocusHandler() {}

public void focusGained(FocusEvent event) {
if (accessibleContext != null) {
accessibleContext.firePropertyChange(
@@ -3806,6 +3806,11 @@ protected class AccessibleAWTContainer extends AccessibleAWTComponent {
*/
private static final long serialVersionUID = 5081320404842566097L;

/**
* Constructs an {@code AccessibleAWTContainer}
*/
protected AccessibleAWTContainer() {}

/**
* Returns the number of accessible children in the object. If all
* of the children of this object implement {@code Accessible},
@@ -3863,6 +3868,11 @@ public Accessible getAccessibleAt(Point p) {
implements ContainerListener, Serializable {
private static final long serialVersionUID = -480855353991814677L;

/**
* Constructs an {@code AccessibleContainerHandler}
*/
protected AccessibleContainerHandler() {}

public void componentAdded(ContainerEvent e) {
Component c = e.getChild();
if (c != null && c instanceof Accessible) {
@@ -1658,6 +1658,11 @@ protected class AccessibleAWTDialog extends AccessibleAWTWindow
*/
private static final long serialVersionUID = 4837230331833941201L;

/**
* Constructs an {@code AccessibleAWTDialog}
*/
protected AccessibleAWTDialog() {}

/**
* Get the role of this object.
*
@@ -1297,6 +1297,11 @@ protected class AccessibleAWTFrame extends AccessibleAWTWindow
*/
private static final long serialVersionUID = -6172960752956030250L;

/**
* Constructs an {@code AccessibleAWTFrame}
*/
protected AccessibleAWTFrame() {}

/**
* Get the role of this object.
*
@@ -624,6 +624,11 @@ protected class AccessibleAWTMenu extends AccessibleAWTMenuItem
*/
private static final long serialVersionUID = 5228160894980069094L;

/**
* Constructs an {@code AccessibleAWTMenu}
*/
protected AccessibleAWTMenu() {}

/**
* Get the role of this object.
*
@@ -511,6 +511,11 @@ protected class AccessibleAWTMenuBar extends AccessibleAWTMenuComponent
*/
private static final long serialVersionUID = -8577604491830083815L;

/**
* Constructs an {@code AccessibleAWTMenuBar}
*/
protected AccessibleAWTMenuBar() {}

/**
* Get the role of this object.
*
@@ -823,6 +823,11 @@ protected class AccessibleAWTMenuItem extends AccessibleAWTMenuComponent
*/
private static final long serialVersionUID = -217847831945965825L;

/**
* Constructs an {@code AccessibleAWTMenuItem}
*/
protected AccessibleAWTMenuItem() {}

/**
* Get the accessible name of this object.
*
@@ -119,6 +119,11 @@ protected class AccessibleAWTPanel extends AccessibleAWTContainer {

private static final long serialVersionUID = -6409552226660031050L;

/**
* Constructs an {@code AccessibleAWTPanel}
*/
protected AccessibleAWTPanel() {}

/**
* Get the role of this object.
*
@@ -228,6 +228,11 @@ protected class AccessibleAWTPopupMenu extends AccessibleAWTMenu
*/
private static final long serialVersionUID = -4282044795947239955L;

/**
* Constructs an {@code AccessibleAWTPopupMenu}
*/
protected AccessibleAWTPopupMenu() {}

/**
* Get the role of this object.
*
@@ -791,6 +791,11 @@ protected class AccessibleAWTScrollPane extends AccessibleAWTContainer
*/
private static final long serialVersionUID = 6100703663886637L;

/**
* Constructs an {@code AccessibleAWTScrollPane}
*/
protected AccessibleAWTScrollPane() {}

/**
* Get the role of this object.
*
@@ -1262,6 +1262,11 @@ protected class AccessibleAWTScrollBar extends AccessibleAWTComponent
*/
private static final long serialVersionUID = -344337268523697807L;

/**
* Constructs an {@code AccessibleAWTScrollBar}
*/
protected AccessibleAWTScrollBar() {}

/**
* Get the state set of this object.
*
@@ -719,6 +719,11 @@ protected class AccessibleAWTTextArea extends AccessibleAWTTextComponent
*/
private static final long serialVersionUID = 3472827823632144419L;

/**
* Constructs an {@code AccessibleAWTTextArea}
*/
protected AccessibleAWTTextArea() {}

/**
* Gets the state set of this object.
*
@@ -788,6 +788,11 @@ protected class AccessibleAWTTextField extends AccessibleAWTTextComponent
*/
private static final long serialVersionUID = 6219164359235943158L;

/**
* Constructs an {@code AccessibleAWTTextField}
*/
protected AccessibleAWTTextField() {}

/**
* Gets the state set of this object.
*
@@ -3163,6 +3163,11 @@ protected class AccessibleAWTWindow extends AccessibleAWTContainer
*/
private static final long serialVersionUID = 4215068635060671780L;

/**
* Constructs an {@code AccessibleAWTWindow}
*/
protected AccessibleAWTWindow() {}

/**
* Get the role of this object.
*