-
Bug
-
Resolution: Cannot Reproduce
-
P2
-
None
-
1.2.0
-
sparc
-
solaris_2.5
Name: mgC56079 Date: 09/29/97
The field java.awt.event.ActionEvent.CTRL_MASK is missed from 1.2
(not from the sourcee but from actual class file).
I tried builds L and M: both have this problem.
---- Here is the test (AE.java) ----
import java.lang.reflect.*;
public class AE {
public static void main(String args[]) {
Field[] f=java.awt.event.ActionEvent.class.getFields();
for (int i=0; i<f.length; i++) {
System.out.println(f[i]);
}
}
}
---- output under 1.2M ----
public static final long java.awt.AWTEvent.COMPONENT_EVENT_MASK
public static final long java.awt.AWTEvent.CONTAINER_EVENT_MASK
public static final long java.awt.AWTEvent.FOCUS_EVENT_MASK
public static final long java.awt.AWTEvent.KEY_EVENT_MASK
public static final long java.awt.AWTEvent.MOUSE_EVENT_MASK
public static final long java.awt.AWTEvent.MOUSE_MOTION_EVENT_MASK
public static final long java.awt.AWTEvent.WINDOW_EVENT_MASK
public static final long java.awt.AWTEvent.ACTION_EVENT_MASK
public static final long java.awt.AWTEvent.ADJUSTMENT_EVENT_MASK
public static final long java.awt.AWTEvent.ITEM_EVENT_MASK
public static final long java.awt.AWTEvent.TEXT_EVENT_MASK
public static final long java.awt.AWTEvent.INPUT_METHOD_EVENT_MASK
public static final int java.awt.AWTEvent.RESERVED_ID_MAX
public static final int java.awt.event.ActionEvent.SHIFT_MASK
public static final int java.awt.event.ActionEvent.META_MASK
public static final int java.awt.event.ActionEvent.ALT_MASK
public static final int java.awt.event.ActionEvent.ACTION_FIRST
public static final int java.awt.event.ActionEvent.ACTION_LAST
public static final int java.awt.event.ActionEvent.ACTION_PERFORMED
---- output under 1.1.4 ----
public static final long java.awt.AWTEvent.COMPONENT_EVENT_MASK
public static final long java.awt.AWTEvent.CONTAINER_EVENT_MASK
public static final long java.awt.AWTEvent.FOCUS_EVENT_MASK
public static final long java.awt.AWTEvent.KEY_EVENT_MASK
public static final long java.awt.AWTEvent.MOUSE_EVENT_MASK
public static final long java.awt.AWTEvent.MOUSE_MOTION_EVENT_MASK
public static final long java.awt.AWTEvent.WINDOW_EVENT_MASK
public static final long java.awt.AWTEvent.ACTION_EVENT_MASK
public static final long java.awt.AWTEvent.ADJUSTMENT_EVENT_MASK
public static final long java.awt.AWTEvent.ITEM_EVENT_MASK
public static final long java.awt.AWTEvent.TEXT_EVENT_MASK
public static final int java.awt.AWTEvent.RESERVED_ID_MAX
public static final int java.awt.event.ActionEvent.SHIFT_MASK
public static final int java.awt.event.ActionEvent.CTRL_MASK
public static final int java.awt.event.ActionEvent.META_MASK
public static final int java.awt.event.ActionEvent.ALT_MASK
public static final int java.awt.event.ActionEvent.ACTION_FIRST
public static final int java.awt.event.ActionEvent.ACTION_LAST
public static final int java.awt.event.ActionEvent.ACTION_PERFORMED
--- source (ActionEvent.java) ---
...
* @(#)ActionEvent.java 1.14 97/08/08
...
* CopyrightVersion 1.2
...
/**
* The control modifier. An indicator that the control key was held
* down during the event.
public static final int CTRL_MASK = Event.CTRL_MASK;
...
======================================================================