--- a/src/java.desktop/share/classes/java/applet/Applet.java Wed Nov 14 17:16:44 2018 +0530
+++ b/src/java.desktop/share/classes/java/applet/Applet.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,6 +31,7 @@
import java.awt.HeadlessException;
import java.awt.Image;
import java.awt.Panel;
+import java.awt.event.ComponentEvent;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.net.MalformedURLException;
@@ -45,18 +46,17 @@
import com.sun.media.sound.JavaSoundAudioClip;
/**
- * An applet is a small program that is intended not to be run on
- * its own, but rather to be embedded inside another application.
+ * An applet is a small program that is intended not to be run on its own, but
+ * rather to be embedded inside another application.
* <p>
- * The {@code Applet} class must be the superclass of any
- * applet that is to be embedded in a Web page or viewed by the Java
- * Applet Viewer. The {@code Applet} class provides a standard
- * interface between applets and their environment.
+ * The {@code Applet} class must be the superclass of any applet that is to be
+ * embedded in a Web page or viewed by the Java Applet Viewer. The
+ * {@code Applet} class provides a standard interface between applets and their
+ * environment.
*
- * @author Arthur van Hoff
- * @author Chris Warth
- * @since 1.0
- *
+ * @author Arthur van Hoff
+ * @author Chris Warth
+ * @since 1.0
* @deprecated The Applet API is deprecated, no replacement.
*/
@Deprecated(since = "9")
@@ -65,13 +65,12 @@
/**
* Constructs a new Applet.
* <p>
- * Note: Many methods in {@code java.applet.Applet}
- * may be invoked by the applet only after the applet is
- * fully constructed; applet should avoid calling methods
- * in {@code java.applet.Applet} in the constructor.
+ * Note: Many methods in {@code java.applet.Applet} may be invoked by the
+ * applet only after the applet is fully constructed; applet should avoid
+ * calling methods in {@code java.applet.Applet} in the constructor.
*
- * @exception HeadlessException if GraphicsEnvironment.isHeadless()
- * returns true.
+ * @throws HeadlessException if {@code GraphicsEnvironment.isHeadless()}
+ * returns {@code true}
* @see java.awt.GraphicsEnvironment#isHeadless
* @since 1.4
*/
@@ -83,26 +82,26 @@
/**
* Applets can be serialized but the following conventions MUST be followed:
- *
- * Before Serialization:
- * An applet must be in STOPPED state.
- *
- * After Deserialization:
- * The applet will be restored in STOPPED state (and most clients will
- * likely move it into RUNNING state).
- * The stub field will be restored by the reader.
+ * <p>
+ * Before Serialization: An applet must be in STOPPED state.
+ * <p>
+ * After Deserialization: The applet will be restored in STOPPED state (and
+ * most clients will likely move it into RUNNING state). The stub field will
+ * be restored by the reader.
*/
private transient AppletStub stub;
- /* version ID for serialized form. */
+ /**
+ * Use serialVersionUID from JDK 1.0 for interoperability.
+ */
private static final long serialVersionUID = -5836846270535785031L;
/**
* Read an applet from an object input stream.
- * @param s an object input stream.
- * @exception HeadlessException if
- * {@code GraphicsEnvironment.isHeadless()} returns
- * {@code true}
+ *
+ * @param s an object input stream
+ * @throws HeadlessException if {@code GraphicsEnvironment.isHeadless()}
+ * returns {@code true}
* @serial
* @see java.awt.GraphicsEnvironment#isHeadless
* @since 1.4
@@ -117,12 +116,13 @@
/**
* Sets this applet's stub. This is done automatically by the system.
- * <p>If there is a security manager, its {@code checkPermission}
- * method is called with the
- * {@code AWTPermission("setAppletStub")}
- * permission if a stub has already been set.
- * @param stub the new stub.
- * @exception SecurityException if the caller cannot set the stub
+ * <p>
+ * If there is a security manager, its {@code checkPermission} method is
+ * called with the {@code AWTPermission("setAppletStub")} permission if a
+ * stub has already been set.
+ *
+ * @param stub the new stub
+ * @throws SecurityException if the caller cannot set the stub
*/
public final void setStub(AppletStub stub) {
if (this.stub != null) {
@@ -135,14 +135,13 @@
}
/**
- * Determines if this applet is active. An applet is marked active
- * just before its {@code start} method is called. It becomes
- * inactive just before its {@code stop} method is called.
+ * Determines if this applet is active. An applet is marked active just
+ * before its {@code start} method is called. It becomes inactive just
+ * before its {@code stop} method is called.
*
- * @return {@code true} if the applet is active;
- * {@code false} otherwise.
- * @see java.applet.Applet#start()
- * @see java.applet.Applet#stop()
+ * @return {@code true} if the applet is active; {@code false} otherwise
+ * @see java.applet.Applet#start()
+ * @see java.applet.Applet#stop()
*/
public boolean isActive() {
if (stub != null) {
@@ -153,9 +152,8 @@
}
/**
- * Gets the URL of the document in which this applet is embedded.
- * For example, suppose an applet is contained
- * within the document:
+ * Gets the {@code URL} of the document in which this applet is embedded.
+ * For example, suppose an applet is contained within the document:
* <blockquote><pre>
* http://www.oracle.com/technetwork/java/index.html
* </pre></blockquote>
@@ -164,55 +162,55 @@
* http://www.oracle.com/technetwork/java/index.html
* </pre></blockquote>
*
- * @return the {@link java.net.URL} of the document that contains this
- * applet.
- * @see java.applet.Applet#getCodeBase()
+ * @return the {@link java.net.URL} of the document that contains this
+ * applet
+ * @see java.applet.Applet#getCodeBase()
*/
public URL getDocumentBase() {
return stub.getDocumentBase();
}
/**
- * Gets the base URL. This is the URL of the directory which contains this applet.
+ * Gets the base {@code URL}. This is the {@code URL} of the directory which
+ * contains this applet.
*
- * @return the base {@link java.net.URL} of
- * the directory which contains this applet.
- * @see java.applet.Applet#getDocumentBase()
+ * @return the base {@link java.net.URL} of the directory which contains
+ * this applet
+ * @see java.applet.Applet#getDocumentBase()
*/
public URL getCodeBase() {
return stub.getCodeBase();
}
/**
- * Returns the value of the named parameter in the HTML tag. For
- * example, if this applet is specified as
+ * Returns the value of the named parameter in the HTML tag. For example, if
+ * this applet is specified as
* <blockquote><pre>
* <applet code="Clock" width=50 height=50>
* <param name=Color value="blue">
* </applet>
* </pre></blockquote>
* <p>
- * then a call to {@code getParameter("Color")} returns the
- * value {@code "blue"}.
+ * then a call to {@code getParameter("Color")} returns the value
+ * {@code "blue"}.
* <p>
* The {@code name} argument is case insensitive.
*
- * @param name a parameter name.
- * @return the value of the named parameter,
- * or {@code null} if not set.
+ * @param name a parameter name
+ * @return the value of the named parameter, or {@code null} if not set
*/
- public String getParameter(String name) {
- return stub.getParameter(name);
- }
+ public String getParameter(String name) {
+ return stub.getParameter(name);
+ }
/**
- * Determines this applet's context, which allows the applet to
- * query and affect the environment in which it runs.
+ * Determines this applet's context, which allows the applet to query and
+ * affect the environment in which it runs.
* <p>
- * This environment of an applet represents the document that
- * contains the applet.
+ * This environment of an applet represents the document that contains the
+ * applet.
*
- * @return the applet's context.
+ * @return the applet's context
*/
public AppletContext getAppletContext() {
return stub.getAppletContext();
@@ -221,8 +219,8 @@
/**
* Requests that this applet be resized.
*
- * @param width the new requested width for the applet.
- * @param height the new requested height for the applet.
+ * @param width the new requested width for the applet
+ * @param height the new requested height for the applet
*/
@SuppressWarnings("deprecation")
public void resize(int width, int height) {
@@ -238,7 +236,7 @@
/**
* Requests that this applet be resized.
*
- * @param d an object giving the new width and height.
+ * @param d an object giving the new width and height
*/
@SuppressWarnings("deprecation")
public void resize(Dimension d) {
@@ -252,8 +250,8 @@
* override this method to return {@code true}.
*
* @return {@code true}
+ * @see java.awt.Container#isValidateRoot
* @since 1.7
- * @see java.awt.Container#isValidateRoot
*/
@Override
public boolean isValidateRoot() {
@@ -261,51 +259,50 @@
}
/**
- * Requests that the argument string be displayed in the
- * "status window". Many browsers and applet viewers
- * provide such a window, where the application can inform users of
- * its current state.
+ * Requests that the argument string be displayed in the "status window".
+ * Many browsers and applet viewers provide such a window, where the
+ * application can inform users of its current state.
*
- * @param msg a string to display in the status window.
+ * @param msg a string to display in the status window
*/
public void showStatus(String msg) {
getAppletContext().showStatus(msg);
}
/**
- * Returns an {@code Image} object that can then be painted on
- * the screen. The {@code url} that is passed as an argument
- * must specify an absolute URL.
+ * Returns an {@code Image} object that can then be painted on the screen.
+ * The {@code url} that is passed as an argument must specify an absolute
+ * {@code URL}.
* <p>
- * This method always returns immediately, whether or not the image
- * exists. When this applet attempts to draw the image on the screen,
- * the data will be loaded. The graphics primitives that draw the
- * image will incrementally paint on the screen.
+ * This method always returns immediately, whether or not the image exists.
+ * When this applet attempts to draw the image on the screen, the data will
+ * be loaded. The graphics primitives that draw the image will incrementally
+ * paint on the screen.
*
- * @param url an absolute URL giving the location of the image.
- * @return the image at the specified URL.
- * @see java.awt.Image
+ * @param url an absolute {@code URL} giving the location of the image
+ * @return the image at the specified {@code URL}
+ * @see java.awt.Image
*/
public Image getImage(URL url) {
return getAppletContext().getImage(url);
}
/**
- * Returns an {@code Image} object that can then be painted on
- * the screen. The {@code url} argument must specify an absolute
- * URL. The {@code name} argument is a specifier that is
- * relative to the {@code url} argument.
+ * Returns an {@code Image} object that can then be painted on the screen.
+ * The {@code url} argument must specify an absolute {@code URL}. The
+ * {@code name} argument is a specifier that is relative to the {@code url}
+ * argument.
* <p>
- * This method always returns immediately, whether or not the image
- * exists. When this applet attempts to draw the image on the screen,
- * the data will be loaded. The graphics primitives that draw the
- * image will incrementally paint on the screen.
+ * This method always returns immediately, whether or not the image exists.
+ * When this applet attempts to draw the image on the screen, the data will
+ * be loaded. The graphics primitives that draw the image will incrementally
+ * paint on the screen.
*
- * @param url an absolute URL giving the base location of the image.
- * @param name the location of the image, relative to the
- * {@code url} argument.
- * @return the image at the specified URL.
- * @see java.awt.Image
+ * @param url an absolute URL giving the base location of the image
+ * @param name the location of the image, relative to the {@code url}
+ * argument
+ * @return the image at the specified {@code URL}
+ * @see java.awt.Image
*/
public Image getImage(URL url, String name) {
try {
@@ -316,47 +313,46 @@
}
/**
- * Get an audio clip from the given URL.
+ * Get an audio clip from the given {@code URL}.
*
- * @param url points to the audio clip
- * @return the audio clip at the specified URL.
- *
- * @since 1.2
+ * @param url points to the audio clip
+ * @return the audio clip at the specified {@code URL}
+ * @since 1.2
*/
public static final AudioClip newAudioClip(URL url) {
return JavaSoundAudioClip.create(url);
}
/**
- * Returns the {@code AudioClip} object specified by the
- * {@code URL} argument.
+ * Returns the {@code AudioClip} object specified by the {@code URL}
+ * argument.
* <p>
- * This method always returns immediately, whether or not the audio
- * clip exists. When this applet attempts to play the audio clip, the
- * data will be loaded.
+ * This method always returns immediately, whether or not the audio clip
+ * exists. When this applet attempts to play the audio clip, the data will
+ * be loaded.
*
- * @param url an absolute URL giving the location of the audio clip.
- * @return the audio clip at the specified URL.
- * @see java.applet.AudioClip
+ * @param url an absolute {@code URL} giving the location of the audio clip
+ * @return the audio clip at the specified {@code URL}
+ * @see java.applet.AudioClip
*/
public AudioClip getAudioClip(URL url) {
return getAppletContext().getAudioClip(url);
}
/**
- * Returns the {@code AudioClip} object specified by the
- * {@code URL} and {@code name} arguments.
+ * Returns the {@code AudioClip} object specified by the {@code URL} and
+ * {@code name} arguments.
* <p>
- * This method always returns immediately, whether or not the audio
- * clip exists. When this applet attempts to play the audio clip, the
- * data will be loaded.
+ * This method always returns immediately, whether or not the audio clip
+ * exists. When this applet attempts to play the audio clip, the data will
+ * be loaded.
*
- * @param url an absolute URL giving the base location of the
- * audio clip.
- * @param name the location of the audio clip, relative to the
- * {@code url} argument.
- * @return the audio clip at the specified URL.
- * @see java.applet.AudioClip
+ * @param url an absolute {@code URL} giving the base location of the audio
+ * clip
+ * @param name the location of the audio clip, relative to the {@code url}
+ * argument
+ * @return the audio clip at the specified {@code URL}
+ * @see java.applet.AudioClip
*/
public AudioClip getAudioClip(URL url, String name) {
try {
@@ -367,45 +363,43 @@
}
/**
- * Returns information about this applet. An applet should override
- * this method to return a {@code String} containing information
- * about the author, version, and copyright of the applet.
+ * Returns information about this applet. An applet should override this
+ * method to return a {@code String} containing information about the
+ * author, version, and copyright of the applet.
* <p>
- * The implementation of this method provided by the
- * {@code Applet} class returns {@code null}.
+ * The implementation of this method provided by the {@code Applet} class
+ * returns {@code null}.
*
- * @return a string containing information about the author, version, and
- * copyright of the applet.
+ * @return a string containing information about the author, version, and
+ * copyright of the applet
*/
public String getAppletInfo() {
return null;
}
/**
- * Gets the locale of the applet. It allows the applet
- * to maintain its own locale separated from the locale
- * of the browser or appletviewer.
+ * Gets the locale of the applet. It allows the applet to maintain its own
+ * locale separated from the locale of the browser or appletviewer.
*
- * @return the locale of the applet; if no locale has
- * been set, the default locale is returned.
- * @since 1.1
+ * @return the locale of the applet; if no locale has been set, the default
+ * locale is returned
+ * @since 1.1
*/
public Locale getLocale() {
- Locale locale = super.getLocale();
- if (locale == null) {
- return Locale.getDefault();
- }
- return locale;
+ Locale locale = super.getLocale();
+ if (locale == null) {
+ return Locale.getDefault();
+ }
+ return locale;
}
/**
- * Returns information about the parameters that are understood by
- * this applet. An applet should override this method to return an
- * array of {@code Strings} describing these parameters.
+ * Returns information about the parameters that are understood by this
+ * applet. An applet should override this method to return an array of
+ * strings describing these parameters.
* <p>
- * Each element of the array should be a set of three
- * {@code Strings} containing the name, the type, and a
- * description. For example:
+ * Each element of the array should be a set of three strings containing the
+ * name, the type, and a description. For example:
* <blockquote><pre>
* String pinfo[][] = {
* {"fps", "1-10", "frames per second"},
@@ -414,20 +408,20 @@
* };
* </pre></blockquote>
* <p>
- * The implementation of this method provided by the
- * {@code Applet} class returns {@code null}.
+ * The implementation of this method provided by the {@code Applet} class
+ * returns {@code null}.
*
- * @return an array describing the parameters this applet looks for.
+ * @return an array describing the parameters this applet looks for
*/
public String[][] getParameterInfo() {
return null;
}
/**
- * Plays the audio clip at the specified absolute URL. Nothing
+ * Plays the audio clip at the specified absolute {@code URL}. Nothing
* happens if the audio clip cannot be found.
*
- * @param url an absolute URL giving the location of the audio clip.
+ * @param url an absolute {@code URL} giving the location of the audio clip
*/
public void play(URL url) {
AudioClip clip = getAudioClip(url);
@@ -437,13 +431,13 @@
}
/**
- * Plays the audio clip given the URL and a specifier that is
+ * Plays the audio clip given the {@code URL} and a specifier that is
* relative to it. Nothing happens if the audio clip cannot be found.
*
- * @param url an absolute URL giving the base location of the
- * audio clip.
- * @param name the location of the audio clip, relative to the
- * {@code url} argument.
+ * @param url an absolute {@code URL} giving the base location of the audio
+ * clip
+ * @param name the location of the audio clip, relative to the {@code url}
+ * argument
*/
public void play(URL url, String name) {
AudioClip clip = getAudioClip(url, name);
@@ -453,98 +447,92 @@
}
/**
- * Called by the browser or applet viewer to inform
- * this applet that it has been loaded into the system. It is always
- * called before the first time that the {@code start} method is
- * called.
+ * Called by the browser or applet viewer to inform this applet that it has
+ * been loaded into the system. It is always called before the first time
+ * that the {@code start} method is called.
* <p>
- * A subclass of {@code Applet} should override this method if
- * it has initialization to perform. For example, an applet with
- * threads would use the {@code init} method to create the
- * threads and the {@code destroy} method to kill them.
+ * A subclass of {@code Applet} should override this method if it has
+ * initialization to perform. For example, an applet with threads would use
+ * the {@code init} method to create the threads and the {@code destroy}
+ * method to kill them.
* <p>
- * The implementation of this method provided by the
- * {@code Applet} class does nothing.
+ * The implementation of this method provided by the {@code Applet} class
+ * does nothing.
*
- * @see java.applet.Applet#destroy()
- * @see java.applet.Applet#start()
- * @see java.applet.Applet#stop()
+ * @see java.applet.Applet#destroy()
+ * @see java.applet.Applet#start()
+ * @see java.applet.Applet#stop()
*/
public void init() {
}
/**
- * Called by the browser or applet viewer to inform
- * this applet that it should start its execution. It is called after
- * the {@code init} method and each time the applet is revisited
- * in a Web page.
+ * Called by the browser or applet viewer to inform this applet that it
+ * should start its execution. It is called after the {@code init} method
+ * and each time the applet is revisited in a Web page.
* <p>
- * A subclass of {@code Applet} should override this method if
- * it has any operation that it wants to perform each time the Web
- * page containing it is visited. For example, an applet with
- * animation might want to use the {@code start} method to
- * resume animation, and the {@code stop} method to suspend the
- * animation.
+ * A subclass of {@code Applet} should override this method if it has any
+ * operation that it wants to perform each time the Web page containing it
+ * is visited. For example, an applet with animation might want to use the
+ * {@code start} method to resume animation, and the {@code stop} method to
+ * suspend the animation.
* <p>
- * Note: some methods, such as {@code getLocationOnScreen}, can only
- * provide meaningful results if the applet is showing. Because
- * {@code isShowing} returns {@code false} when the applet's
- * {@code start} is first called, methods requiring
- * {@code isShowing} to return {@code true} should be called from
- * a {@code ComponentListener}.
+ * Note: some methods, such as {@code getLocationOnScreen}, can only provide
+ * meaningful results if the applet is showing. Because {@code isShowing}
+ * returns {@code false} when the applet's {@code start} is first called,
+ * methods requiring {@code isShowing} to return {@code true} should be
+ * called from a {@code ComponentListener}.
* <p>
- * The implementation of this method provided by the
- * {@code Applet} class does nothing.
+ * The implementation of this method provided by the {@code Applet} class
+ * does nothing.
*
- * @see java.applet.Applet#destroy()
- * @see java.applet.Applet#init()
- * @see java.applet.Applet#stop()
- * @see java.awt.Component#isShowing()
- * @see java.awt.event.ComponentListener#componentShown(java.awt.event.ComponentEvent)
+ * @see java.applet.Applet#destroy()
+ * @see java.applet.Applet#init()
+ * @see java.applet.Applet#stop()
+ * @see java.awt.Component#isShowing()
+ * @see java.awt.event.ComponentListener#componentShown(ComponentEvent)
*/
public void start() {
}
/**
- * Called by the browser or applet viewer to inform
- * this applet that it should stop its execution. It is called when
- * the Web page that contains this applet has been replaced by
- * another page, and also just before the applet is to be destroyed.
+ * Called by the browser or applet viewer to inform this applet that it
+ * should stop its execution. It is called when the Web page that contains
+ * this applet has been replaced by another page, and also just before the
+ * applet is to be destroyed.
* <p>
- * A subclass of {@code Applet} should override this method if
- * it has any operation that it wants to perform each time the Web
- * page containing it is no longer visible. For example, an applet
- * with animation might want to use the {@code start} method to
- * resume animation, and the {@code stop} method to suspend the
- * animation.
+ * A subclass of {@code Applet} should override this method if it has any
+ * operation that it wants to perform each time the Web page containing it
+ * is no longer visible. For example, an applet with animation might want to
+ * use the {@code start} method to resume animation, and the {@code stop}
+ * method to suspend the animation.
* <p>
- * The implementation of this method provided by the
- * {@code Applet} class does nothing.
+ * The implementation of this method provided by the {@code Applet} class
+ * does nothing.
*
- * @see java.applet.Applet#destroy()
- * @see java.applet.Applet#init()
+ * @see java.applet.Applet#destroy()
+ * @see java.applet.Applet#init()
*/
public void stop() {
}
/**
- * Called by the browser or applet viewer to inform
- * this applet that it is being reclaimed and that it should destroy
- * any resources that it has allocated. The {@code stop} method
- * will always be called before {@code destroy}.
+ * Called by the browser or applet viewer to inform this applet that it is
+ * being reclaimed and that it should destroy any resources that it has
+ * allocated. The {@code stop} method will always be called before
+ * {@code destroy}.
* <p>
- * A subclass of {@code Applet} should override this method if
- * it has any operation that it wants to perform before it is
- * destroyed. For example, an applet with threads would use the
- * {@code init} method to create the threads and the
- * {@code destroy} method to kill them.
+ * A subclass of {@code Applet} should override this method if it has any
+ * operation that it wants to perform before it is destroyed. For example,
+ * an applet with threads would use the {@code init} method to create the
+ * threads and the {@code destroy} method to kill them.
* <p>
- * The implementation of this method provided by the
- * {@code Applet} class does nothing.
+ * The implementation of this method provided by the {@code Applet} class
+ * does nothing.
*
- * @see java.applet.Applet#init()
- * @see java.applet.Applet#start()
- * @see java.applet.Applet#stop()
+ * @see java.applet.Applet#init()
+ * @see java.applet.Applet#start()
+ * @see java.applet.Applet#stop()
*/
public void destroy() {
}
@@ -553,16 +541,19 @@
// Accessibility support
//
+ /**
+ * The accessible context associated with this {@code Applet}.
+ */
AccessibleContext accessibleContext = null;
/**
- * Gets the AccessibleContext associated with this Applet.
- * For applets, the AccessibleContext takes the form of an
- * AccessibleApplet.
- * A new AccessibleApplet instance is created if necessary.
+ * Gets the {@code AccessibleContext} associated with this {@code Applet}.
+ * For applets, the {@code AccessibleContext} takes the form of an
+ * {@code AccessibleApplet}. A new {@code AccessibleApplet} instance is
+ * created if necessary.
*
- * @return an AccessibleApplet that serves as the
- * AccessibleContext of this Applet
+ * @return an {@code AccessibleApplet} that serves as the
+ * {@code AccessibleContext} of this {@code Applet}
* @since 1.3
*/
public AccessibleContext getAccessibleContext() {
@@ -573,20 +564,24 @@
}
/**
- * This class implements accessibility support for the
- * {@code Applet} class. It provides an implementation of the
- * Java Accessibility API appropriate to applet user-interface elements.
+ * This class implements accessibility support for the {@code Applet} class.
+ * It provides an implementation of the Java Accessibility API appropriate
+ * to applet user-interface elements.
+ *
* @since 1.3
*/
protected class AccessibleApplet extends AccessibleAWTPanel {
+ /**
+ * Use serialVersionUID from JDK 1.3 for interoperability.
+ */
private static final long serialVersionUID = 8127374778187708896L;
/**
* Get the role of this object.
*
- * @return an instance of AccessibleRole describing the role of the
- * object
+ * @return an instance of {@code AccessibleRole} describing the role of
+ * the object
*/
public AccessibleRole getAccessibleRole() {
return AccessibleRole.FRAME;
@@ -595,8 +590,8 @@
/**
* Get the state of this object.
*
- * @return an instance of AccessibleStateSet containing the current
- * state set of the object
+ * @return an instance of {@code AccessibleStateSet} containing the
+ * current state set of the object
* @see AccessibleState
*/
public AccessibleStateSet getAccessibleStateSet() {
@@ -604,6 +599,5 @@
states.add(AccessibleState.ACTIVE);
return states;
}
-
}
}
--- a/src/java.desktop/share/classes/java/applet/AppletContext.java Wed Nov 14 17:16:44 2018 +0530
+++ b/src/java.desktop/share/classes/java/applet/AppletContext.java Wed Nov 14 17:26:24 2018 +0530
@@ -33,81 +33,76 @@
import java.util.Iterator;
/**
- * This interface corresponds to an applet's environment: the
- * document containing the applet and the other applets in the same
- * document.
+ * This interface corresponds to an applet's environment: the document
+ * containing the applet and the other applets in the same document.
* <p>
- * The methods in this interface can be used by an applet to obtain
- * information about its environment.
+ * The methods in this interface can be used by an applet to obtain information
+ * about its environment.
*
- * @author Arthur van Hoff
- * @since 1.0
- *
+ * @author Arthur van Hoff
+ * @since 1.0
* @deprecated The Applet API is deprecated, no replacement.
*/
@Deprecated(since = "9")
public interface AppletContext {
+
/**
* Creates an audio clip.
*
- * @param url an absolute URL giving the location of the audio clip.
- * @return the audio clip at the specified URL.
+ * @param url an absolute {@code URL} giving the location of the audio clip
+ * @return the audio clip at the specified {@code URL}
*/
AudioClip getAudioClip(URL url);
/**
- * Returns an {@code Image} object that can then be painted on
- * the screen. The {@code url} argument that is
- * passed as an argument must specify an absolute URL.
+ * Returns an {@code Image} object that can then be painted on the screen.
+ * The {@code url} argument that is passed as an argument must specify an
+ * absolute {@code URL}.
* <p>
- * This method always returns immediately, whether or not the image
- * exists. When the applet attempts to draw the image on the screen,
- * the data will be loaded. The graphics primitives that draw the
- * image will incrementally paint on the screen.
+ * This method always returns immediately, whether or not the image exists.
+ * When the applet attempts to draw the image on the screen, the data will
+ * be loaded. The graphics primitives that draw the image will incrementally
+ * paint on the screen.
*
- * @param url an absolute URL giving the location of the image.
- * @return the image at the specified URL.
- * @see java.awt.Image
+ * @param url an absolute {@code URL} giving the location of the image
+ * @return the image at the specified {@code URL}
+ * @see java.awt.Image
*/
Image getImage(URL url);
/**
- * Finds and returns the applet in the document represented by this
- * applet context with the given name. The name can be set in the
- * HTML tag by setting the {@code name} attribute.
+ * Finds and returns the applet in the document represented by this applet
+ * context with the given name. The name can be set in the HTML tag by
+ * setting the {@code name} attribute.
*
- * @param name an applet name.
- * @return the applet with the given name, or {@code null} if
- * not found.
+ * @param name an applet name
+ * @return the applet with the given name, or {@code null} if not found
*/
Applet getApplet(String name);
/**
- * Finds all the applets in the document represented by this applet
- * context.
+ * Finds all the applets in the document represented by this applet context.
*
- * @return an enumeration of all applets in the document represented by
- * this applet context.
+ * @return an enumeration of all applets in the document represented by this
+ * applet context
*/
Enumeration<Applet> getApplets();
/**
- * Requests that the browser or applet viewer show the Web page
- * indicated by the {@code url} argument. The browser or
- * applet viewer determines which window or frame to display the
- * Web page. This method may be ignored by applet contexts that
- * are not browsers.
+ * Requests that the browser or applet viewer show the Web page indicated by
+ * the {@code url} argument. The browser or applet viewer determines which
+ * window or frame to display the Web page. This method may be ignored by
+ * applet contexts that are not browsers.
*
- * @param url an absolute URL giving the location of the document.
+ * @param url an absolute {@code URL} giving the location of the document
*/
void showDocument(URL url);
/**
- * Requests that the browser or applet viewer show the Web page
- * indicated by the {@code url} argument. The
- * {@code target} argument indicates in which HTML frame the
- * document is to be displayed.
- * The target argument is interpreted as follows:
+ * Requests that the browser or applet viewer show the Web page indicated by
+ * the {@code url} argument. The {@code target} argument indicates in which
+ * HTML frame the document is to be displayed. The target argument is
+ * interpreted as follows:
*
* <table class="striped">
* <caption>Target arguments and their descriptions</caption>
@@ -141,53 +136,50 @@
* <p>
* An applet viewer or browser is free to ignore {@code showDocument}.
*
- * @param url an absolute URL giving the location of the document.
- * @param target a {@code String} indicating where to display
- * the page.
+ * @param url an absolute {@code URL} giving the location of the document
+ * @param target a {@code String} indicating where to display the page
*/
public void showDocument(URL url, String target);
/**
- * Requests that the argument string be displayed in the
- * "status window". Many browsers and applet viewers
- * provide such a window, where the application can inform users of
- * its current state.
+ * Requests that the argument string be displayed in the "status window".
+ * Many browsers and applet viewers provide such a window, where the
+ * application can inform users of its current state.
*
- * @param status a string to display in the status window.
+ * @param status a string to display in the status window
*/
void showStatus(String status);
/**
- * Associates the specified stream with the specified key in this
- * applet context. If the applet context previously contained a mapping
- * for this key, the old value is replaced.
+ * Associates the specified stream with the specified key in this applet
+ * context. If the applet context previously contained a mapping for this
+ * key, the old value is replaced.
* <p>
* For security reasons, mapping of streams and keys exists for each
- * codebase. In other words, applet from one codebase cannot access
- * the streams created by an applet from a different codebase
+ * codebase. In other words, applet from one codebase cannot access the
+ * streams created by an applet from a different codebase
*
- * @param key key with which the specified value is to be associated.
- * @param stream stream to be associated with the specified key. If this
- * parameter is {@code null}, the specified key is removed
- * in this applet context.
- * @throws IOException if the stream size exceeds a certain
- * size limit. Size limit is decided by the implementor of this
- * interface.
+ * @param key key with which the specified value is to be associated
+ * @param stream stream to be associated with the specified key. If this
+ * parameter is {@code null}, the specified key is removed in this
+ * applet context.
+ * @throws IOException if the stream size exceeds a certain size limit. Size
+ * limit is decided by the implementor of this interface.
* @since 1.4
*/
- public void setStream(String key, InputStream stream)throws IOException;
+ public void setStream(String key, InputStream stream) throws IOException;
/**
* Returns the stream to which specified key is associated within this
- * applet context. Returns {@code null} if the applet context contains
- * no stream for this key.
+ * applet context. Returns {@code null} if the applet context contains no
+ * stream for this key.
* <p>
* For security reasons, mapping of streams and keys exists for each
- * codebase. In other words, applet from one codebase cannot access
- * the streams created by an applet from a different codebase
+ * codebase. In other words, applet from one codebase cannot access the
+ * streams created by an applet from a different codebase.
*
+ * @param key key whose associated stream is to be returned
* @return the stream to which this applet context maps the key
- * @param key key whose associated stream is to be returned.
* @since 1.4
*/
public InputStream getStream(String key);
@@ -196,11 +188,11 @@
* Finds all the keys of the streams in this applet context.
* <p>
* For security reasons, mapping of streams and keys exists for each
- * codebase. In other words, applet from one codebase cannot access
- * the streams created by an applet from a different codebase
+ * codebase. In other words, applet from one codebase cannot access the
+ * streams created by an applet from a different codebase.
*
- * @return an Iterator of all the names of the streams in this applet
- * context.
+ * @return an {@code Iterator} of all the names of the streams in this
+ * applet context
* @since 1.4
*/
public Iterator<String> getStreamKeys();
--- a/src/java.desktop/share/classes/java/applet/AppletStub.java Wed Nov 14 17:16:44 2018 +0530
+++ b/src/java.desktop/share/classes/java/applet/AppletStub.java Wed Nov 14 17:26:24 2018 +0530
@@ -28,35 +28,31 @@
import java.net.URL;
/**
- * When an applet is first created, an applet stub is attached to it
- * using the applet's {@code setStub} method. This stub
- * serves as the interface between the applet and the browser
- * environment or applet viewer environment in which the application
- * is running.
+ * When an applet is first created, an applet stub is attached to it using the
+ * applet's {@code setStub} method. This stub serves as the interface between
+ * the applet and the browser environment or applet viewer environment in which
+ * the application is running.
*
- * @author Arthur van Hoff
- * @see java.applet.Applet#setStub(java.applet.AppletStub)
- * @since 1.0
- *
+ * @author Arthur van Hoff
+ * @see java.applet.Applet#setStub(java.applet.AppletStub)
+ * @since 1.0
* @deprecated The Applet API is deprecated, no replacement.
*/
@Deprecated(since = "9")
public interface AppletStub {
+
/**
- * Determines if the applet is active. An applet is active just
- * before its {@code start} method is called. It becomes
- * inactive just before its {@code stop} method is called.
+ * Determines if the applet is active. An applet is active just before its
+ * {@code start} method is called. It becomes inactive just before its
+ * {@code stop} method is called.
*
- * @return {@code true} if the applet is active;
- * {@code false} otherwise.
+ * @return {@code true} if the applet is active; {@code false} otherwise
*/
boolean isActive();
-
/**
- * Gets the URL of the document in which the applet is embedded.
- * For example, suppose an applet is contained
- * within the document:
+ * Gets the {@code URL} of the document in which the applet is embedded. For
+ * example, suppose an applet is contained within the document:
* <blockquote><pre>
* http://www.oracle.com/technetwork/java/index.html
* </pre></blockquote>
@@ -65,51 +61,50 @@
* http://www.oracle.com/technetwork/java/index.html
* </pre></blockquote>
*
- * @return the {@link java.net.URL} of the document that contains the
- * applet.
- * @see java.applet.AppletStub#getCodeBase()
+ * @return the {@link java.net.URL} of the document that contains the applet
+ * @see java.applet.AppletStub#getCodeBase()
*/
URL getDocumentBase();
/**
- * Gets the base URL. This is the URL of the directory which contains the applet.
+ * Gets the base {@code URL}. This is the {@code URL} of the directory which
+ * contains the applet.
*
- * @return the base {@link java.net.URL} of
- * the directory which contains the applet.
- * @see java.applet.AppletStub#getDocumentBase()
+ * @return the base {@link java.net.URL} of the directory which contains the
+ * applet
+ * @see java.applet.AppletStub#getDocumentBase()
*/
URL getCodeBase();
/**
- * Returns the value of the named parameter in the HTML tag. For
- * example, if an applet is specified as
+ * Returns the value of the named parameter in the HTML tag. For example, if
+ * an applet is specified as
* <blockquote><pre>
* <applet code="Clock" width=50 height=50>
* <param name=Color value="blue">
* </applet>
* </pre></blockquote>
* <p>
- * then a call to {@code getParameter("Color")} returns the
- * value {@code "blue"}.
+ * then a call to {@code getParameter("Color")} returns the value
+ * {@code "blue"}.
*
- * @param name a parameter name.
- * @return the value of the named parameter,
- * or {@code null} if not set.
+ * @param name a parameter name
+ * @return the value of the named parameter, or {@code null} if not set
*/
String getParameter(String name);
/**
* Returns the applet's context.
*
- * @return the applet's context.
+ * @return the applet's context
*/
AppletContext getAppletContext();
/**
* Called when the applet wants to be resized.
*
- * @param width the new requested width for the applet.
- * @param height the new requested height for the applet.
+ * @param width the new requested width for the applet
+ * @param height the new requested height for the applet
*/
void appletResize(int width, int height);
}
--- a/src/java.desktop/share/classes/java/applet/AudioClip.java Wed Nov 14 17:16:44 2018 +0530
+++ b/src/java.desktop/share/classes/java/applet/AudioClip.java Wed Nov 14 17:26:24 2018 +0530
@@ -26,21 +26,20 @@
package java.applet;
/**
- * The {@code AudioClip} interface is a simple abstraction for
- * playing a sound clip. Multiple {@code AudioClip} items can be
- * playing at the same time, and the resulting sound is mixed
- * together to produce a composite.
+ * The {@code AudioClip} interface is a simple abstraction for playing a sound
+ * clip. Multiple {@code AudioClip} items can be playing at the same time, and
+ * the resulting sound is mixed together to produce a composite.
*
- * @author Arthur van Hoff
- * @since 1.0
- *
+ * @author Arthur van Hoff
+ * @since 1.0
* @deprecated The Applet API is deprecated, no replacement.
*/
@Deprecated(since = "9")
public interface AudioClip {
+
/**
- * Starts playing this audio clip. Each time this method is called,
- * the clip is restarted from the beginning.
+ * Starts playing this audio clip. Each time this method is called, the clip
+ * is restarted from the beginning.
*/
void play();
--- a/src/java.desktop/share/classes/javax/swing/text/DefaultEditorKit.java Wed Nov 14 17:16:44 2018 +0530
+++ b/src/java.desktop/share/classes/javax/swing/text/DefaultEditorKit.java Wed Nov 14 17:26:24 2018 +0530
@@ -878,11 +878,10 @@
isPrintableMask = ((SunToolkit)tk).isPrintableCharacterModifiersMask(mod);
}
- if (isPrintableMask) {
- char c = content.charAt(0);
- if ((c >= 0x20) && (c != 0x7F)) {
- target.replaceSelection(content);
- }
+ char c = content.charAt(0);
+ if ((isPrintableMask && (c >= 0x20) && (c != 0x7F)) ||
+ (!isPrintableMask && (c >= 0x200C) && (c <= 0x200D))) {
+ target.replaceSelection(content);
}
}
}
--- a/test/jdk/ProblemList.txt Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/ProblemList.txt Wed Nov 14 17:26:24 2018 +0530
@@ -186,7 +186,6 @@
java/awt/event/MouseEvent/MouseButtonsAndKeyMasksTest/MouseButtonsAndKeyMasksTest.java 8129778 generic-all
java/awt/dnd/URIListToFileListBetweenJVMsTest/URIListToFileListBetweenJVMsTest.html 8194947 generic-all
-java/awt/dnd/ImageTransferTest/ImageTransferTest.java 8176556 generic-all
java/awt/Frame/SetMaximizedBounds/SetMaximizedBounds.java 8196006 windows-all
java/awt/Frame/FramesGC/FramesGC.java 8079069 macosx-all
java/awt/FullScreen/AltTabCrashTest/AltTabCrashTest.java 8047218 generic-all
--- a/test/jdk/java/awt/Component/PaintAll/PaintAll.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Component/PaintAll/PaintAll.java Wed Nov 14 17:26:24 2018 +0530
@@ -47,7 +47,7 @@
@bug 6596915
@summary Test Component.paintAll() method
@author sergey.bylokhov@oracle.com: area=awt.component
- @library ../../../../lib/testlibrary/
+ @library /lib/client/
@build ExtendedRobot
@run main PaintAll
*/
--- a/test/jdk/java/awt/Frame/DecoratedExceptions/DecoratedExceptions.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Frame/DecoratedExceptions/DecoratedExceptions.java Wed Nov 14 17:26:24 2018 +0530
@@ -29,7 +29,7 @@
* @summary An attempt to set non-trivial background, shape, or translucency
* to a decorated toplevel should end with an exception.
* @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com)
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build ExtendedRobot
* @run main DecoratedExceptions
*/
--- a/test/jdk/java/awt/Frame/DisposeParentGC/DisposeParentGC.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Frame/DisposeParentGC/DisposeParentGC.java Wed Nov 14 17:26:24 2018 +0530
@@ -35,7 +35,7 @@
* added to it & each components are setted with different cursors types.
* Dispose the parent & collect GC. Garbage collection should happen
* @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com)
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build ExtendedRobot
* @run main/othervm -Xmx20m DisposeParentGC
*/
--- a/test/jdk/java/awt/Frame/FramesGC/FramesGC.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Frame/FramesGC/FramesGC.java Wed Nov 14 17:26:24 2018 +0530
@@ -33,7 +33,7 @@
* @key headful
* @summary Verify that disposed frames are collected with GC
* @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com)
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build ExtendedRobot
* @run main/othervm -Xmx20m FramesGC
*/
--- a/test/jdk/java/awt/Frame/MaximizedUndecorated/MaximizedUndecorated.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Frame/MaximizedUndecorated/MaximizedUndecorated.java Wed Nov 14 17:26:24 2018 +0530
@@ -36,7 +36,7 @@
* @summary Set extendedState Frame.MAXIMIZED_BOTH for undecorated Frame and JFrame.
* Check if resulted size is equal to GraphicsEnvironment.getMaximumWindowBounds().
*
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build ExtendedRobot
* @run main MaximizedUndecorated
*/
--- a/test/jdk/java/awt/Frame/MiscUndecorated/ActiveAWTWindowTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Frame/MiscUndecorated/ActiveAWTWindowTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -27,7 +27,7 @@
* @summary To check proper WINDOW_EVENTS are triggered when Frame gains or losses the focus
* @author Jitender(jitender.singh@eng.sun.com) area=AWT
* @author yan
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build ExtendedRobot
* @run main ActiveAWTWindowTest
*/
--- a/test/jdk/java/awt/Frame/MiscUndecorated/ActiveSwingWindowTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Frame/MiscUndecorated/ActiveSwingWindowTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -27,7 +27,7 @@
* @summary To check proper WINDOW_EVENTS are triggered when JFrame gains or losses the focus
* @author Jitender(jitender.singh@eng.sun.com) area=AWT
* @author yan
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build ExtendedRobot
* @run main ActiveSwingWindowTest
*/
--- a/test/jdk/java/awt/Frame/MiscUndecorated/FrameCloseTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Frame/MiscUndecorated/FrameCloseTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -27,7 +27,7 @@
* @summary To make sure Undecorated Frame triggers correct windows events while closing
* @author Jitender(jitender.singh@eng.sun.com) area=AWT*
* @author yan
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build ExtendedRobot
* @run main FrameCloseTest
*/
--- a/test/jdk/java/awt/Frame/MiscUndecorated/RepaintTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Frame/MiscUndecorated/RepaintTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -28,7 +28,7 @@
* all the components on it are repainted correctly
* @author Jitender(jitender.singh@eng.sun.com) area=AWT
* @author yan
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build ExtendedRobot
* @run main RepaintTest
*/
--- a/test/jdk/java/awt/GraphicsDevice/IncorrectDisplayModeExitFullscreen.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/GraphicsDevice/IncorrectDisplayModeExitFullscreen.java Wed Nov 14 17:26:24 2018 +0530
@@ -33,7 +33,7 @@
* @key headful
* @bug 8019587
* @author Sergey Bylokhov
- * @library ../../../lib/testlibrary/
+ * @library /lib/client/
* @build ExtendedRobot
* @run main IncorrectDisplayModeExitFullscreen
*/
--- a/test/jdk/java/awt/List/SetBackgroundTest/SetBackgroundTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/List/SetBackgroundTest/SetBackgroundTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -28,7 +28,7 @@
@requires (os.family == "linux") | (os.family == "solaris")
@summary List does not honor user specified background, foreground colors on XToolkit
@author Dmitry Cherepanov area=awt.list
- @library ../../../../lib/testlibrary
+ @library /lib/client
@build ExtendedRobot
@run main SetBackgroundTest
*/
--- a/test/jdk/java/awt/Modal/FileDialog/FileDialogAppModal1Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/FileDialog/FileDialogAppModal1Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* created with a null Frame constructor. Also check if other
* windows are blocked by the FileDialog too.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/FileDialog/FileDialogAppModal2Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/FileDialog/FileDialogAppModal2Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* created with a null Dialog constructor. Also check if other
* windows are blocked by the FileDialog too.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/FileDialog/FileDialogAppModal3Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/FileDialog/FileDialogAppModal3Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* created with a hidden Frame constructor. Also check if other
* windows are blocked by the FileDialog too.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/FileDialog/FileDialogAppModal4Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/FileDialog/FileDialogAppModal4Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* created with a hidden Dialog constructor. Also check if other
* windows are blocked by the FileDialog too.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/FileDialog/FileDialogAppModal5Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/FileDialog/FileDialogAppModal5Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* created with a visible Frame constructor. Also check if other
* windows are blocked by the FileDialog too.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/FileDialog/FileDialogAppModal6Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/FileDialog/FileDialogAppModal6Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* created with a visible Dialog constructor. Also check if other
* windows are blocked by the FileDialog too.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/FileDialog/FileDialogDocModal1Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/FileDialog/FileDialogDocModal1Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* created with a null Frame constructor. Also check if other
* windows are blocked by the FileDialog too.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/FileDialog/FileDialogDocModal2Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/FileDialog/FileDialogDocModal2Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* created with a null Dialog constructor. Also check if other
* windows are blocked by the FileDialog too.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/FileDialog/FileDialogDocModal3Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/FileDialog/FileDialogDocModal3Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* created with a hidden Frame constructor. Also check if other
* windows are blocked by the FileDialog too.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/FileDialog/FileDialogDocModal4Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/FileDialog/FileDialogDocModal4Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* created with a hidden Dialog constructor. Also check if other
* windows are blocked by the FileDialog too.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/FileDialog/FileDialogDocModal5Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/FileDialog/FileDialogDocModal5Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* created with a visible Frame constructor. Also check if other
* windows are blocked by the FileDialog too.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/FileDialog/FileDialogDocModal6Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/FileDialog/FileDialogDocModal6Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* created with a visible Dialog constructor. Also check if other
* windows are blocked by the FileDialog too.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/FileDialog/FileDialogDocModal7Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/FileDialog/FileDialogDocModal7Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -29,7 +29,7 @@
* @bug 8054359 7186009
* @summary Check whether a FileDialog set to document modality behaves as expected.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/FileDialog/FileDialogModal1Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/FileDialog/FileDialogModal1Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* created with a null Frame constructor. Also check if other
* windows are blocked by the FileDialog too.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/FileDialog/FileDialogModal2Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/FileDialog/FileDialogModal2Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* created with a null Dialog constructor. Also check if other
* windows are blocked by the FileDialog too.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/FileDialog/FileDialogModal3Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/FileDialog/FileDialogModal3Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* created with a hidden Frame constructor. Also check if other
* windows are blocked by the FileDialog too.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/FileDialog/FileDialogModal4Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/FileDialog/FileDialogModal4Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* created with a hidden Dialog constructor. Also check if other
* windows are blocked by the FileDialog too.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/FileDialog/FileDialogModal5Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/FileDialog/FileDialogModal5Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* created with a visible Frame constructor. Also check if other
* windows are blocked by the FileDialog too.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/FileDialog/FileDialogModal6Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/FileDialog/FileDialogModal6Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* created with a visible Dialog constructor. Also check if other
* windows are blocked by the FileDialog too.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/FileDialog/FileDialogNonModal1Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/FileDialog/FileDialogNonModal1Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* created with a null Frame constructor. Also check if other
* windows are blocked by the FileDialog too.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/FileDialog/FileDialogNonModal2Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/FileDialog/FileDialogNonModal2Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* created with a null Dialog constructor. Also check if other
* windows are blocked by the FileDialog too.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/FileDialog/FileDialogNonModal3Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/FileDialog/FileDialogNonModal3Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* created with a hidden Frame constructor. Also check if other
* windows are blocked by the FileDialog too.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/FileDialog/FileDialogNonModal4Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/FileDialog/FileDialogNonModal4Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* created with a hidden Dialog constructor. Also check if other
* windows are blocked by the FileDialog too.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/FileDialog/FileDialogNonModal5Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/FileDialog/FileDialogNonModal5Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* created with a visible Frame constructor. Also check if other
* windows are blocked by the FileDialog too.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/FileDialog/FileDialogNonModal6Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/FileDialog/FileDialogNonModal6Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* created with a visible Dialog constructor. Also check if other
* windows are blocked by the FileDialog too.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/FileDialog/FileDialogNonModal7Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/FileDialog/FileDialogNonModal7Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -29,7 +29,7 @@
* @bug 8054359
* @summary Check whether a modeless FileDialog behaves as expected.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/FileDialog/FileDialogTKModal1Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/FileDialog/FileDialogTKModal1Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* created with a null Frame constructor. Also check if other
* windows are blocked by the FileDialog too.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/FileDialog/FileDialogTKModal2Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/FileDialog/FileDialogTKModal2Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* created with a null Dialog constructor. Also check if other
* windows are blocked by the FileDialog too.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/FileDialog/FileDialogTKModal3Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/FileDialog/FileDialogTKModal3Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* created with a hidden Frame constructor. Also check if other
* windows are blocked by the FileDialog too.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/FileDialog/FileDialogTKModal4Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/FileDialog/FileDialogTKModal4Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* created with a hidden Dialog constructor. Also check if other
* windows are blocked by the FileDialog too.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/FileDialog/FileDialogTKModal5Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/FileDialog/FileDialogTKModal5Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* created with a visible Frame constructor. Also check if other
* windows are blocked by the FileDialog too.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/FileDialog/FileDialogTKModal6Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/FileDialog/FileDialogTKModal6Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* created with a visible Dialog constructor. Also check if other
* windows are blocked by the FileDialog too.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/FileDialog/FileDialogTKModal7Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/FileDialog/FileDialogTKModal7Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -29,7 +29,7 @@
* @bug 8054359 7186009
* @summary Check whether a FileDialog set to toolkit modality behaves as expected.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingDDAppModalTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingDDAppModalTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* and respond to key events. Check also the correctness
* of blocking behavior for the parent Dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingDDDocModalTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingDDDocModalTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* and respond to key events. Check also the correctness
* of blocking behavior for the parent Dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingDDModelessTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingDDModelessTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* and respond to key events. Check also the correctness
* of blocking behavior for the parent Dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingDDNonModalTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingDDNonModalTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* and respond to key events. Check also the correctness
* of blocking behavior for the parent Dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingDDSetModalTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingDDSetModalTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* and respond to key events. Check also the correctness
* of blocking behavior for the parent Dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingDDToolkitModalTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingDDToolkitModalTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* and respond to key events. Check also the correctness
* of blocking behavior for the parent Dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingDFAppModalTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingDFAppModalTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* and respond to key events. Check also the correctness
* of blocking behavior for the parent Frame.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingDFSetModalTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingDFSetModalTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* and respond to key events. Check also the correctness
* of blocking behavior for the parent Frame.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingDFToolkitModalTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingDFToolkitModalTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* and respond to key events. Check also the correctness
* of blocking behavior for the parent Frame.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingDFWModeless1Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingDFWModeless1Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* and respond to key events. Check also if the other windows
* receive mouse and key events.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingDFWModeless2Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingDFWModeless2Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* and respond to key events. Check also if the other windows
* receive mouse and key events.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingDFWNonModal1Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingDFWNonModal1Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* and respond to key events. Check also if the other windows
* receive mouse and key events.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingDFWNonModal2Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingDFWNonModal2Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* and respond to key events. Check also if the other windows
* receive mouse and key events.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingDocModalTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingDocModalTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -34,7 +34,7 @@
* whether all the windows lying down the document root
* (Frame) get blocked.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingFDAppModalTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingFDAppModalTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* and respond to key events. Check also the correctness
* of the blocking behavior for the parent Frame.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingFDDocModalTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingFDDocModalTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* and respond to key events. Check also the correctness
* of the blocking behavior for the parent Frame.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingFDModelessTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingFDModelessTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* and respond to key events. Check also the correctness
* of the blocking behavior for the parent Frame.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingFDNonModalTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingFDNonModalTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* and respond to key events. Check also the correctness
* of the blocking behavior for the parent Frame.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingFDSetModalTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingFDSetModalTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* and respond to key events. Check also the correctness
* of the blocking behavior for the parent Frame.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingFDToolkitModalTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingFDToolkitModalTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* and respond to key events. Check also the correctness
* of the blocking behavior for the parent Frame.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingFDWDocModal1Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingFDWDocModal1Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* and respond to key events, when there are other windows shown.
* Check also the correctness of blocking behavior for other windows shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingFDWDocModal2Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingFDWDocModal2Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* and respond to key events, when there are other windows shown.
* Check also the correctness of blocking behavior for other windows shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingFDWDocModal3Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingFDWDocModal3Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* and respond to key events, when there are other windows shown.
* Check also the correctness of blocking behavior for other windows shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingFDWDocModal4Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingFDWDocModal4Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* and respond to key events, when there are other windows shown.
* Check also the correctness of blocking behavior for other windows shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingFDWModeless1Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingFDWModeless1Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* and respond to key events, when there are other windows shown.
* Check also the correctness of blocking behavior for other windows shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingFDWModeless2Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingFDWModeless2Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* and respond to key events, when there are other windows shown.
* Check also the correctness of blocking behavior for other windows shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingFDWModeless3Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingFDWModeless3Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* and respond to key events, when there are other windows shown.
* Check also the correctness of blocking behavior for other windows shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingFDWModeless4Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingFDWModeless4Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* and respond to key events, when there are other windows shown.
* Check also the correctness of blocking behavior for other windows shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingFDWNonModal1Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingFDWNonModal1Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* and respond to key events, when there are other windows shown.
* Check also the correctness of blocking behavior for other windows shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingFDWNonModal2Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingFDWNonModal2Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* and respond to key events, when there are other windows shown.
* Check also the correctness of blocking behavior for other windows shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingFDWNonModal3Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingFDWNonModal3Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* and respond to key events, when there are other windows shown.
* Check also the correctness of blocking behavior for other windows shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingFDWNonModal4Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingFDWNonModal4Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* and respond to key events, when there are other windows shown.
* Check also the correctness of blocking behavior for other windows shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingWindowsAppModal1Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingWindowsAppModal1Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* and respond to key events, when there are other windows shown.
* Also check the correctness of blocking behavior for other windows shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingWindowsAppModal2Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingWindowsAppModal2Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* and respond to key events, when there are other windows shown.
* Also check the correctness of blocking behavior for other windows shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingWindowsAppModal3Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingWindowsAppModal3Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* and respond to key events, when there are other windows shown.
* Also check the correctness of blocking behavior for other windows shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingWindowsAppModal4Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingWindowsAppModal4Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* and respond to key events, when there are other windows shown.
* Also check the correctness of blocking behavior for other windows shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingWindowsAppModal5Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingWindowsAppModal5Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* and respond to key events, when there are other windows shown.
* Also check the correctness of blocking behavior for other windows shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingWindowsAppModal6Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingWindowsAppModal6Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* and respond to key events, when there are other windows shown.
* Also check the correctness of blocking behavior for other windows shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingWindowsDocModal1Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingWindowsDocModal1Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* and respond to key events, when there are other windows shown.
* Also check the correctness of blocking behavior for other windows shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingWindowsDocModal2Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingWindowsDocModal2Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* and respond to key events, when there are other windows shown.
* Also check the correctness of blocking behavior for other windows shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingWindowsSetModal1Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingWindowsSetModal1Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* and respond to key events, when there are other windows shown.
* Also check the correctness of blocking behavior for other windows shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingWindowsSetModal2Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingWindowsSetModal2Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* and respond to key events, when there are other windows shown.
* Also check the correctness of blocking behavior for other windows shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingWindowsSetModal3Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingWindowsSetModal3Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* and respond to key events, when there are other windows shown.
* Also check the correctness of blocking behavior for other windows shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingWindowsSetModal4Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingWindowsSetModal4Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* and respond to key events, when there are other windows shown.
* Also check the correctness of blocking behavior for other windows shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingWindowsSetModal5Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingWindowsSetModal5Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* and respond to key events, when there are other windows shown.
* Also check the correctness of blocking behavior for other windows shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingWindowsSetModal6Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingWindowsSetModal6Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* and respond to key events, when there are other windows shown.
* Also check the correctness of blocking behavior for other windows shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingWindowsToolkitModal1Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingWindowsToolkitModal1Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* and respond to key events, when there are other windows shown.
* Also check the correctness of blocking behavior for other windows shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingWindowsToolkitModal2Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingWindowsToolkitModal2Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* and respond to key events, when there are other windows shown.
* Also check the correctness of blocking behavior for other windows shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingWindowsToolkitModal3Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingWindowsToolkitModal3Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* and respond to key events, when there are other windows shown.
* Also check the correctness of blocking behavior for other windows shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingWindowsToolkitModal4Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingWindowsToolkitModal4Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* and respond to key events, when there are other windows shown.
* Also check the correctness of blocking behavior for other windows shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingWindowsToolkitModal5Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingWindowsToolkitModal5Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* and respond to key events, when there are other windows shown.
* Also check the correctness of blocking behavior for other windows shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingWindowsToolkitModal6Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/BlockingWindowsToolkitModal6Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* and respond to key events, when there are other windows shown.
* Also check the correctness of blocking behavior for other windows shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/UnblockedDialogAppModalTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/UnblockedDialogAppModalTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check whether an application modal Dialog receives focus; check
* if its components receive focus and respond to key events
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/UnblockedDialogDocModalTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/UnblockedDialogDocModalTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check whether a document modal Dialog receives focus; check
* if its components receive focus and respond to key events
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/UnblockedDialogModelessTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/UnblockedDialogModelessTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check whether a modeless Dialog receives focus; check
* if its components receive focus and respond to key events
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/UnblockedDialogNonModalTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/UnblockedDialogNonModalTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -29,7 +29,7 @@
* @summary Check whether a non-modal Dialog receives focus; check
* if its components receive focus and respond to key events
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/UnblockedDialogSetModalTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/UnblockedDialogSetModalTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -29,7 +29,7 @@
* @summary Check whether a modal Dialog receives focus; check
* if its components receive focus and respond to key events
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalBlockingTests/UnblockedDialogToolkitModalTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalBlockingTests/UnblockedDialogToolkitModalTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check whether a toolkit modal Dialog receives focus; check
* if its components receive focus and respond to key events
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalDialogOrderingTest/ModalDialogOrderingTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalDialogOrderingTest/ModalDialogOrderingTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -35,7 +35,7 @@
* @bug 8008728
* @summary [macosx] Swing. JDialog. Modal dialog goes to background
* @author Alexandr Scherbatiy
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build ExtendedRobot
* @run main ModalDialogOrderingTest
*/
--- a/test/jdk/java/awt/Modal/ModalExclusionTests/ApplicationExcludeDialogFileTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalExclusionTests/ApplicationExcludeDialogFileTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* (it shouldn't). Checks also whether setting a parent dialog to be
* modality excluded excludes its children from being blocked too.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalExclusionTests/ApplicationExcludeDialogPageSetupTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalExclusionTests/ApplicationExcludeDialogPageSetupTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* (it shouldn't). Checks also whether setting a parent dialog to be
* modality excluded excludes its children from being blocked too.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalExclusionTests/ApplicationExcludeDialogPrintSetupTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalExclusionTests/ApplicationExcludeDialogPrintSetupTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* (it shouldn't). Checks also whether setting a parent dialog to be
* modality excluded excludes its children from being blocked too.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalExclusionTests/ApplicationExcludeFrameFileTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalExclusionTests/ApplicationExcludeFrameFileTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* (it shouldn't). Checks also whether setting a parent frame to be
* modality excluded excludes its children from being blocked too.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalExclusionTests/ApplicationExcludeFramePageSetupTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalExclusionTests/ApplicationExcludeFramePageSetupTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* (it shouldn't). Checks also whether setting a parent frame to be
* modality excluded excludes its children from being blocked too.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalExclusionTests/ApplicationExcludeFramePrintSetupTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalExclusionTests/ApplicationExcludeFramePrintSetupTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* (it shouldn't). Checks also whether setting a parent frame to be
* modality excluded excludes its children from being blocked too.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalExclusionTests/ToolkitExcludeDialogFileTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalExclusionTests/ToolkitExcludeDialogFileTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* (it shouldn't). Checks also whether setting a parent dialog to be
* modality excluded excludes its children from being blocked too.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalExclusionTests/ToolkitExcludeDialogPageSetupTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalExclusionTests/ToolkitExcludeDialogPageSetupTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* (it shouldn't). Checks also whether setting a parent dialog to be
* modality excluded excludes its children from being blocked too.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalExclusionTests/ToolkitExcludeDialogPrintSetupTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalExclusionTests/ToolkitExcludeDialogPrintSetupTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* (it shouldn't). Checks also whether setting a parent dialog to be
* modality excluded excludes its children from being blocked too.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalExclusionTests/ToolkitExcludeFrameFileTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalExclusionTests/ToolkitExcludeFrameFileTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* (it shouldn't). Checks also whether setting a parent frame to be
* modality excluded excludes its children from being blocked too.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalExclusionTests/ToolkitExcludeFramePageSetupTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalExclusionTests/ToolkitExcludeFramePageSetupTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* (it shouldn't). Checks also whether setting a parent frame to be
* modality excluded excludes its children from being blocked too.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalExclusionTests/ToolkitExcludeFramePrintSetupTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalExclusionTests/ToolkitExcludeFramePrintSetupTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* (it shouldn't). Checks also whether setting a parent frame to be
* modality excluded excludes its children from being blocked too.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferDWFAppModalTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferDWFAppModalTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* happens: an application modal dialog (D) having null frame owner is shown;
* a window having D as owner is shown; a frame is shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferDWFDocModalTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferDWFDocModalTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* following happens: a document modal dialog (D) having null frame owner is shown;
* a window having D as owner is shown; a frame is shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferDWFModelessTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferDWFModelessTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* following happens: a modeless dialog (D) having null frame owner is shown;
* a window having D as owner is shown; a frame is shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferDWFNonModalTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferDWFNonModalTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* happens: a non-modal dialog (D) having null frame owner is shown; a window having D
* as owner is shown; a frame is shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferDialogsAppModalTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferDialogsAppModalTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* frame owner is shown; a dialog (D2) having D1 owner is shown; a dialog
* with a hidden frame owner is shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferDialogsDocModalTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferDialogsDocModalTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* frame owner is shown; a dialog (D2) having D1 owner is shown; a dialog
* with a hidden frame owner is shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferDialogsModelessTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferDialogsModelessTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* frame owner is shown; a dialog (D2) having D1 owner is shown; a dialog
* with a hidden frame owner is shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferDialogsNonModalTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferDialogsNonModalTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* frame owner is shown; a dialog (D2) having D1 owner is shown; a dialog
* with a hidden frame owner is shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferFDWAppModalTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferFDWAppModalTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* the following happens: a frame is shown; an application modal dialog (D)
* having a null frame owner is shown; a window having D as owner is shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferFDWDocModalTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferFDWDocModalTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* the following happens: a frame is shown; a document modal dialog (D)
* having a null frame owner is shown; a window having D as owner is shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferFDWModelessTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferFDWModelessTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* the following happens: a frame is shown; a modeless dialog (D)
* having a null frame owner is shown; a window having D as owner is shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferFDWNonModalTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferFDWNonModalTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* the following happens: a frame is shown; a non-modal dialog (D)
* having a null frame owner is shown; a window having D as owner is shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDAppModal1Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDAppModal1Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* a frame (F) is shown; a window having F as owner is shown; an application modal dialog having
* a hidden dialog owner is shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDAppModal2Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDAppModal2Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* a frame (F) is shown; a window having F as owner is shown; an application modal dialog having
* a hidden frame owner is shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDAppModal3Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDAppModal3Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* a frame (F) is shown; a window having F as owner is shown; an application modal dialog having
* a null dialog owner is shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDAppModal4Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDAppModal4Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* a frame (F) is shown; a window having F as owner is shown; an application modal dialog having
* a null frame owner is shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDDocModal1Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDDocModal1Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* a frame (F) is shown; a window having F as owner is shown; a document modal dialog having
* a hidden dialog owner is shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDDocModal2Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDDocModal2Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* a frame (F) is shown; a window having F as owner is shown; a document modal dialog having
* a hidden frame owner is shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDDocModal3Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDDocModal3Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* a frame (F) is shown; a window having F as owner is shown; a document modal dialog having
* a null dialog owner is shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDDocModal4Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDDocModal4Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* a frame (F) is shown; a window having F as owner is shown; a document modal dialog having
* a null frame owner is shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDModeless1Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDModeless1Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* a frame (F) is shown; a window having F as owner is shown; a modeless dialog having
* a hidden dialog owner is shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDModeless2Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDModeless2Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* a frame (F) is shown; a window having F as owner is shown; a modeless dialog having
* a hidden frame owner is shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDModeless3Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDModeless3Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* a frame (F) is shown; a window having F as owner is shown; a modeless dialog having
* a null dialog owner is shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDModeless4Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDModeless4Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* a frame (F) is shown; a window having F as owner is shown; a modeless dialog having
* a null frame owner is shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDNonModal1Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDNonModal1Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* a frame (F) is shown; a window having F as owner is shown; a non-modal dialog having
* a hidden dialog owner is shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDNonModal2Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDNonModal2Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* a frame (F) is shown; a window having F as owner is shown; a non-modal dialog having
* a hidden frame owner is shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDNonModal3Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDNonModal3Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* a frame (F) is shown; a window having F as owner is shown; a non-modal dialog having
* a null dialog owner is shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDNonModal4Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDNonModal4Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* a frame (F) is shown; a window having F as owner is shown; a non-modal dialog having
* a null frame owner is shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFAppModal1Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFAppModal1Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* the following happens: a window having a hidden frame owner is shown;
* an application modal dialog having a frame (F) owner is shown; F is shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFAppModal2Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFAppModal2Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* an application modal dialog having a null dialog owner is shown;
* a frame is shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFAppModal3Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFAppModal3Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* an application modal dialog having F owner is shown; F is shown.
*
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFDocModal1Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFDocModal1Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* the following happens: a window having a hidden frame owner is shown;
* a document modal dialog with a frame (F) owner is shown; F is shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFDocModal2Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFDocModal2Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* a document modal dialog having a null dialog owner is shown;
* a frame is shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFDocModal3Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFDocModal3Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* the following happens: a window having a frame (F) owner is shown;
* a document modal dialog having F owner is shown; F is shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFModeless1Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFModeless1Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* the following happens: a window having a hidden frame owner is shown;
* a modeless dialog having a frame (F) owner is shown; F is shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFModeless2Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFModeless2Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* a modeless dialog having a null dialog owner is shown;
* a frame is shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFModeless3Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFModeless3Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* the following happens: a window having a frame (F) owner is shown;
* a modeless dialog having F owner is shown; F is shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFNonModal1Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFNonModal1Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* the following happens: a window having a hidden frame owner is shown;
* a non-modal dialog having a frame (F) owner is shown; F is shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFNonModal2Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFNonModal2Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* a non-modal dialog having a null dialog owner is shown;
* a frame is shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFNonModal3Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFNonModal3Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* the following happens: a window having a frame (F) owner is shown;
* a non-modal dialog having F owner is shown; F is shown.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/MultipleDialogs/MultipleDialogs1Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/MultipleDialogs/MultipleDialogs1Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -29,7 +29,7 @@
* parent has a proper modal blocking behavior. Also show a document modal
* dialog and check if it blocks the document properly.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/MultipleDialogs/MultipleDialogs2Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/MultipleDialogs/MultipleDialogs2Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -29,7 +29,7 @@
* parent has a proper modal blocking behavior. Also show a document modal
* dialog and check if it blocks the document properly.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/MultipleDialogs/MultipleDialogs3Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/MultipleDialogs/MultipleDialogs3Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -28,7 +28,7 @@
* @summary Check correctness of modal blocking behavior for a chain of Dialogs
* having different modality types with a Frame as a document root.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/MultipleDialogs/MultipleDialogs4Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/MultipleDialogs/MultipleDialogs4Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -29,7 +29,7 @@
* work properly. Also check whether the blocking dialogs are
* opening on top of the windows they block.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/MultipleDialogs/MultipleDialogs5Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/MultipleDialogs/MultipleDialogs5Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -28,7 +28,7 @@
* @summary This is a simple check if a chain of dialogs having different
* modality types block each other properly.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/NullModalityDialogTest/NullModalityDialogTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/NullModalityDialogTest/NullModalityDialogTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -34,7 +34,7 @@
* @summary Check whether a Dialog set with null modality type
* behaves like a modeless dialog
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/OnTop/OnTopAppModal1Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/OnTop/OnTopAppModal1Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check whether an application modal Dialog created with null Frame
* constructor stays on top of the windows it blocks.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/OnTop/OnTopAppModal2Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/OnTop/OnTopAppModal2Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check whether an application modal Dialog created with null Dialog
* constructor stays on top of the windows it blocks.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/OnTop/OnTopAppModal3Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/OnTop/OnTopAppModal3Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check whether an application modal Dialog created with hidden Frame
* constructor stays on top of the windows it blocks.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/OnTop/OnTopAppModal4Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/OnTop/OnTopAppModal4Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check whether an application modal Dialog created with hidden Dialog
* constructor stays on top of the windows it blocks.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/OnTop/OnTopAppModal5Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/OnTop/OnTopAppModal5Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check whether an application modal Dialog created with visible Frame
* constructor stays on top of the windows it blocks.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/OnTop/OnTopAppModal6Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/OnTop/OnTopAppModal6Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check whether an application modal Dialog created with visible
* Dialog constructor stays on top of the windows it blocks.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/OnTop/OnTopDocModal1Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/OnTop/OnTopDocModal1Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check whether a document modal Dialog created with null Frame
* constructor follows normal Z order.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/OnTop/OnTopDocModal2Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/OnTop/OnTopDocModal2Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check whether a document modal Dialog created with null Dialog
* constructor follows normal Z order.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/OnTop/OnTopDocModal3Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/OnTop/OnTopDocModal3Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check whether a document modal Dialog created with hidden Frame
* constructor follows normal Z order.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/OnTop/OnTopDocModal4Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/OnTop/OnTopDocModal4Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check whether a document modal Dialog created with hidden Dialog
* constructor follows normal Z order.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/OnTop/OnTopDocModal5Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/OnTop/OnTopDocModal5Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check whether a document modal Dialog created with visible Frame
* constructor stays on top of the windows it blocks.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/OnTop/OnTopDocModal6Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/OnTop/OnTopDocModal6Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check whether a document modal Dialog created with visible
* Dialog constructor stays on top of the windows it blocks.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/OnTop/OnTopModal1Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/OnTop/OnTopModal1Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check whether a modal Dialog created with null Frame
* constructor stays on top of the windows it blocks.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/OnTop/OnTopModal2Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/OnTop/OnTopModal2Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check whether a modal Dialog created with null Dialog
* constructor stays on top of the windows it blocks.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/OnTop/OnTopModal3Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/OnTop/OnTopModal3Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check whether a modal Dialog created with hidden Frame
* constructor stays on top of the windows it blocks.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/OnTop/OnTopModal4Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/OnTop/OnTopModal4Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check whether a modal Dialog created with hidden Dialog
* constructor stays on top of the windows it blocks.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/OnTop/OnTopModal5Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/OnTop/OnTopModal5Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check whether a modal Dialog created with visible Frame
* constructor stays on top of the windows it blocks.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/OnTop/OnTopModal6Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/OnTop/OnTopModal6Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check whether a modal Dialog created with visible Dialog
* constructor stays on top of the windows it blocks.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/OnTop/OnTopModeless1Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/OnTop/OnTopModeless1Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check whether a modeless Dialog created with a
* null Frame constructor follows normal Z Order.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/OnTop/OnTopModeless2Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/OnTop/OnTopModeless2Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check whether a modeless Dialog created with a
* null Dialog constructor follows normal Z Order.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/OnTop/OnTopModeless3Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/OnTop/OnTopModeless3Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check whether a modeless Dialog created with a
* hidden Frame constructor follows normal Z Order.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/OnTop/OnTopModeless4Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/OnTop/OnTopModeless4Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check whether a modeless Dialog created with a
* hidden Dialog constructor follows normal Z Order.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/OnTop/OnTopModeless5Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/OnTop/OnTopModeless5Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check whether a modeless Dialog created with a
* visible Frame constructor follows normal Z Order.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/OnTop/OnTopModeless6Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/OnTop/OnTopModeless6Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check whether a modeless Dialog created with a visible Dialog
* constructor follows a normal Z order.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/OnTop/OnTopTKModal1Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/OnTop/OnTopTKModal1Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check whether a toolkit modal Dialog created with null Frame
* constructor stays on top of the windows it blocks.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/OnTop/OnTopTKModal2Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/OnTop/OnTopTKModal2Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check whether a toolkit modal Dialog created with null Dialog
* constructor stays on top of the windows it blocks.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/OnTop/OnTopTKModal3Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/OnTop/OnTopTKModal3Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check whether a toolkit modal Dialog created with hidden Frame
* constructor stays on top of the windows it blocks.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/OnTop/OnTopTKModal4Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/OnTop/OnTopTKModal4Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check whether a toolkit modal Dialog created with hidden Dialog
* constructor stays on top of the windows it blocks.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/OnTop/OnTopTKModal5Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/OnTop/OnTopTKModal5Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check whether a toolkit modal Dialog created with visible Frame
* constructor stays on top of the windows it blocks.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/OnTop/OnTopTKModal6Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/OnTop/OnTopTKModal6Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check whether a toolkit modal Dialog created with visible
* Dialog constructor stays on top of the windows it blocks.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToBack/ToBackAppModal1Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToBack/ToBackAppModal1Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* constructor still stays on top of the blocked windows even
* after calling toBack for the dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToBack/ToBackAppModal2Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToBack/ToBackAppModal2Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* constructor still stays on top of the blocked windows even
* after calling toBack for the dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToBack/ToBackAppModal3Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToBack/ToBackAppModal3Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* constructor still stays on top of the blocked windows even
* after calling toBack for the dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToBack/ToBackAppModal4Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToBack/ToBackAppModal4Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* constructor still stays on top of the blocked windows even
* after calling toBack for the dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToBack/ToBackAppModal5Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToBack/ToBackAppModal5Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* constructor still stays on top of the blocked windows even
* after calling toBack for the dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToBack/ToBackAppModal6Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToBack/ToBackAppModal6Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* constructor still stays on top of the blocked windows even
* after calling toBack for the dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToBack/ToBackDocModal1Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToBack/ToBackDocModal1Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check if toBack method works correctly for
* a document modal dialog with null Frame parent.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToBack/ToBackDocModal2Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToBack/ToBackDocModal2Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check if toBack method works correctly for
* a document modal dialog with null Dialog parent.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToBack/ToBackDocModal3Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToBack/ToBackDocModal3Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check if toBack method works correctly for
* a document modal dialog with hidden Frame parent.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToBack/ToBackDocModal4Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToBack/ToBackDocModal4Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check if toBack method works correctly for
* a document modal dialog with hidden Dialog parent.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToBack/ToBackDocModal5Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToBack/ToBackDocModal5Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* constructor still stays on top of the blocked windows even
* after calling toBack for the dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToBack/ToBackDocModal6Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToBack/ToBackDocModal6Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* constructor still stays on top of the blocked windows even
* after calling toBack for the dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToBack/ToBackModal1Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToBack/ToBackModal1Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* constructor still stays on top of the blocked windows even
* after calling toBack for the dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToBack/ToBackModal2Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToBack/ToBackModal2Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* constructor still stays on top of the blocked windows even
* after calling toBack for the dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToBack/ToBackModal3Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToBack/ToBackModal3Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* constructor still stays on top of the blocked windows even
* after calling toBack for the dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToBack/ToBackModal4Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToBack/ToBackModal4Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* constructor still stays on top of the blocked windows even
* after calling toBack for the dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToBack/ToBackModal5Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToBack/ToBackModal5Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* constructor still stays on top of the blocked windows even
* after calling toBack for the dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToBack/ToBackModal6Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToBack/ToBackModal6Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* constructor still stays on top of the blocked windows even
* after calling toBack for the dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToBack/ToBackModeless1Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToBack/ToBackModeless1Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check whether a modeless dialog having a null Frame constructor
* goes behind other windows when toBack is called for it.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToBack/ToBackModeless2Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToBack/ToBackModeless2Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check whether a modeless dialog having a null Dialog constructor
* goes behind other windows when toBack is called for it.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToBack/ToBackModeless3Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToBack/ToBackModeless3Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check whether a modeless dialog having a hidden Frame constructor
* goes behind other windows when toBack is called for it.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToBack/ToBackModeless4Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToBack/ToBackModeless4Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check whether a modeless dialog having a hidden Dialog constructor
* goes behind other windows when toBack is called for it.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToBack/ToBackModeless5Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToBack/ToBackModeless5Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check if toBack method works correctly for a modeless dialog
* having a visible Frame constructor.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToBack/ToBackModeless6Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToBack/ToBackModeless6Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Check if toBack method works correctly for a modeless dialog
* having a visible Dialog constructor.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToBack/ToBackNonModal1Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToBack/ToBackNonModal1Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -29,7 +29,7 @@
* @summary Check whether a non-modal dialog having a null Frame constructor
* goes behind other windows when toBack is called for it.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToBack/ToBackNonModal2Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToBack/ToBackNonModal2Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -29,7 +29,7 @@
* @summary Check whether a non-modal dialog having a null Dialog constructor
* goes behind other windows when toBack is called for it.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToBack/ToBackNonModal3Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToBack/ToBackNonModal3Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -29,7 +29,7 @@
* @summary Check whether a non-modal dialog having a hidden Frame constructor
* goes behind other windows when toBack is called for it.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToBack/ToBackNonModal4Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToBack/ToBackNonModal4Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -29,7 +29,7 @@
* @summary Check whether a non-modal dialog having a hidden Dialog constructor
* goes behind other windows when toBack is called for it.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToBack/ToBackNonModal5Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToBack/ToBackNonModal5Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -29,7 +29,7 @@
* @summary Check if toBack method works correctly for a non-modal dialog
* having a visible Frame constructor.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToBack/ToBackNonModal6Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToBack/ToBackNonModal6Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -29,7 +29,7 @@
* @summary Check if toBack method works correctly for a non-modal dialog
* having a visible Dialog constructor.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToBack/ToBackTKModal1Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToBack/ToBackTKModal1Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* constructor still stays on top of the blocked windows even
* after calling toBack for the dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToBack/ToBackTKModal2Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToBack/ToBackTKModal2Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* constructor still stays on top of the blocked windows even
* after calling toBack for the dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToBack/ToBackTKModal3Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToBack/ToBackTKModal3Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* constructor still stays on top of the blocked windows even
* after calling toBack for the dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToBack/ToBackTKModal4Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToBack/ToBackTKModal4Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* constructor still stays on top of the blocked windows even
* after calling toBack for the dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToBack/ToBackTKModal5Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToBack/ToBackTKModal5Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* constructor still stays on top of the blocked windows even
* after calling toBack for the dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToBack/ToBackTKModal6Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToBack/ToBackTKModal6Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* constructor still stays on top of the blocked windows even
* after calling toBack for the dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToFront/DialogToFrontAppModalTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToFront/DialogToFrontAppModalTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* blocking application modal dialog does not bring it to the top
* of the modal dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToFront/DialogToFrontDocModalTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToFront/DialogToFrontDocModalTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* blocking document modal dialog does not bring it to the top
* of the modal dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToFront/DialogToFrontModalTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToFront/DialogToFrontModalTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -29,7 +29,7 @@
* blocking modal dialog does not bring it to the top
* of the modal dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToFront/DialogToFrontModeless1Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToFront/DialogToFrontModeless1Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -28,7 +28,7 @@
* @summary Check that calling toFront method does not bring a dialog to the top
* of a child modeless dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToFront/DialogToFrontNonModalTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToFront/DialogToFrontNonModalTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -28,7 +28,7 @@
* @summary Check that calling toFront method does not bring a dialog to the top
* of a non-modal child dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToFront/DialogToFrontTKModalTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToFront/DialogToFrontTKModalTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* blocking toolkit modal dialog does not bring it to the top
* of the modal dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToFront/FrameToFrontAppModal1Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToFront/FrameToFrontAppModal1Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* blocking application modal dialog having a null Frame parent
* does not bring the frame to the top of the modal dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToFront/FrameToFrontAppModal2Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToFront/FrameToFrontAppModal2Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* blocking application modal dialog having a null Dialog parent
* does not bring the frame to the top of the modal dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToFront/FrameToFrontAppModal3Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToFront/FrameToFrontAppModal3Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* blocking application modal dialog having a hidden Frame parent
* does not bring the frame to the top of the modal dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToFront/FrameToFrontAppModal4Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToFront/FrameToFrontAppModal4Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* blocking application modal dialog having a hidden Dialog parent
* does not bring the frame to the top of the modal dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToFront/FrameToFrontAppModal5Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToFront/FrameToFrontAppModal5Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* blocking application modal dialog having a visible Frame parent
* does not bring the frame to the top of the modal dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToFront/FrameToFrontDocModal1Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToFront/FrameToFrontDocModal1Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* blocking document modal dialog having a visible Frame parent
* does not bring the frame to the top of the modal dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToFront/FrameToFrontDocModal2Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToFront/FrameToFrontDocModal2Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -29,7 +29,7 @@
* @bug 8050885
* @summary Check if toFront method works correctly for a document modal dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToFront/FrameToFrontModal1Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToFront/FrameToFrontModal1Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* blocking modal dialog having a null Frame parent
* does not bring the frame to the top of the modal dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToFront/FrameToFrontModal2Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToFront/FrameToFrontModal2Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* blocking modal dialog having a null Dialog parent
* does not bring the frame to the top of the modal dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToFront/FrameToFrontModal3Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToFront/FrameToFrontModal3Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* blocking modal dialog having a hidden Frame parent
* does not bring the frame to the top of the modal dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToFront/FrameToFrontModal4Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToFront/FrameToFrontModal4Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* blocking modal dialog having a hidden Dialog parent
* does not bring the frame to the top of the modal dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToFront/FrameToFrontModal5Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToFront/FrameToFrontModal5Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* blocking modal dialog having a visible Frame parent
* does not bring the frame to the top of the modal dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToFront/FrameToFrontModeless1Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToFront/FrameToFrontModeless1Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -29,7 +29,7 @@
* @summary Check that calling toFront method does not bring a frame to the top of
* a modeless child dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToFront/FrameToFrontNonModalTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToFront/FrameToFrontNonModalTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -29,7 +29,7 @@
* @summary Check that calling toFront method does not bring a frame to the top
* of a non-modal child dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToFront/FrameToFrontTKModal1Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToFront/FrameToFrontTKModal1Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* blocking modal toolkit dialog having a null Frame parent
* does not bring the frame to the top of the modal dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToFront/FrameToFrontTKModal2Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToFront/FrameToFrontTKModal2Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* blocking toolkit modal dialog having a null Dialog parent
* does not bring the frame to the top of the modal dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToFront/FrameToFrontTKModal3Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToFront/FrameToFrontTKModal3Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* blocking toolkit modal dialog having a hidden Frame parent
* does not bring the frame to the top of the modal dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToFront/FrameToFrontTKModal4Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToFront/FrameToFrontTKModal4Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* blocking toolkit modal dialog having a hidden Dialog parent
* does not bring the frame to the top of the modal dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Modal/ToFront/FrameToFrontTKModal5Test.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Modal/ToFront/FrameToFrontTKModal5Test.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* blocking toolkit modal dialog having a visible Frame parent
* does not bring the frame to the top of the modal dialog.
*
- * @library ../helpers /lib/testlibrary/
+ * @library ../helpers /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @build Flag
--- a/test/jdk/java/awt/Paint/ExposeOnEDT.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Paint/ExposeOnEDT.java Wed Nov 14 17:26:24 2018 +0530
@@ -29,7 +29,7 @@
* @key headful
* @bug 7090424
* @author Sergey Bylokhov
- * @library ../../../lib/testlibrary/
+ * @library /lib/client/
* @build ExtendedRobot
* @run main ExposeOnEDT
*/
--- a/test/jdk/java/awt/Paint/PaintNativeOnUpdate.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Paint/PaintNativeOnUpdate.java Wed Nov 14 17:26:24 2018 +0530
@@ -33,7 +33,7 @@
* @test
* @key headful
* @bug 7157680
- * @library ../../../lib/testlibrary
+ * @library /lib/client
* @build ExtendedRobot
* @author Sergey Bylokhov
* @run main PaintNativeOnUpdate
--- a/test/jdk/java/awt/Robot/ModifierRobotKey/ModifierRobotEnhancedKeyTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Robot/ModifierRobotKey/ModifierRobotEnhancedKeyTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -53,7 +53,7 @@
*
* @summary Make sure that modifier key mask is set when robot press
* some key with one or more modifiers.
- * @library /lib/testlibrary/
+ * @library /lib/client/
* @library /test/lib
* @build ExtendedRobot
* @key headful
--- a/test/jdk/java/awt/Robot/ModifierRobotKey/ModifierRobotKeyTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Robot/ModifierRobotKey/ModifierRobotKeyTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -41,7 +41,7 @@
* @key headful
* @summary Make sure that modifier key mask is set when robot press
* some key with one or more modifiers.
- * @library /lib/testlibrary
+ * @library /lib/client
* @library /test/lib
* @build ExtendedRobot
* @run main ModifierRobotKeyTest
--- a/test/jdk/java/awt/ScrollPane/ScrollPanePreferredSize/ScrollPanePreferredSize.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/ScrollPane/ScrollPanePreferredSize/ScrollPanePreferredSize.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* @key headful
* @bug 7124213
* @author Sergey Bylokhov
- * @library ../../../../lib/testlibrary/
+ * @library /lib/client/
* @build ExtendedRobot
* @run main ScrollPanePreferredSize
*/
--- a/test/jdk/java/awt/Toolkit/LockingKeyStateTest/LockingKeyStateTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Toolkit/LockingKeyStateTest/LockingKeyStateTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -29,7 +29,7 @@
@key headful
@summary verify LOCK buttons toogle
@author Yuri.Nesterenko, Dmitriy.Ermashov
- @library ../../../../lib/testlibrary
+ @library /lib/client
@build ExtendedRobot
@run main LockingKeyStateTest
*/
--- a/test/jdk/java/awt/TrayIcon/ActionCommand/ActionCommand.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/TrayIcon/ActionCommand/ActionCommand.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* (single clicked, on Mac)
* @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com)
* @modules java.desktop/java.awt:open
- * @library ../../../../lib/testlibrary ../
+ * @library /lib/client ../
* @library /java/awt/patchlib
* @build java.desktop/java.awt.Helper
* @build ExtendedRobot SystemTrayIconHelper
--- a/test/jdk/java/awt/TrayIcon/ActionEventMask/ActionEventMask.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/TrayIcon/ActionEventMask/ActionEventMask.java Wed Nov 14 17:26:24 2018 +0530
@@ -36,7 +36,7 @@
* @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com)
* @modules java.desktop/java.awt:open
* @library /java/awt/patchlib
- * @library ../../../../lib/testlibrary ../
+ * @library /lib/client ../
* @build java.desktop/java.awt.Helper
* @build ExtendedRobot SystemTrayIconHelper
* @run main ActionEventMask
--- a/test/jdk/java/awt/TrayIcon/ActionEventTest/ActionEventTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/TrayIcon/ActionEventTest/ActionEventTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -28,7 +28,7 @@
* @summary Verify that ActionEvent is received with correct modifiers set.
* @modules java.desktop/java.awt:open
* @modules java.desktop/java.awt.peer
- * @library ../../../../lib/testlibrary ../
+ * @library /lib/client ../
* @library /java/awt/patchlib
* @build java.desktop/java.awt.Helper
* @build ExtendedRobot SystemTrayIconHelper
--- a/test/jdk/java/awt/TrayIcon/ModalityTest/ModalityTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/TrayIcon/ModalityTest/ModalityTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com)
* @modules java.desktop/java.awt:open
* @library /java/awt/patchlib
- * @library ../../../../lib/testlibrary ../
+ * @library /lib/client ../
* @build ExtendedRobot SystemTrayIconHelper
* @build java.desktop/java.awt.Helper
* @run main ModalityTest
--- a/test/jdk/java/awt/TrayIcon/MouseEventMask/MouseEventMaskTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/TrayIcon/MouseEventMask/MouseEventMaskTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -35,7 +35,7 @@
* @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com)
* @modules java.desktop/java.awt:open
* @library /java/awt/patchlib
- * @library ../../../../lib/testlibrary ../
+ * @library /lib/client ../
* @build java.desktop/java.awt.Helper
* @build ExtendedRobot SystemTrayIconHelper
* @run main MouseEventMaskTest
--- a/test/jdk/java/awt/TrayIcon/MouseMovedTest/MouseMovedTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/TrayIcon/MouseMovedTest/MouseMovedTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
* @bug 7153700
* @summary Check for mouseMoved event for java.awt.TrayIcon
* @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com)
- * @library ../../../../lib/testlibrary ../
+ * @library /lib/client ../
* @build ExtendedRobot SystemTrayIconHelper
* @run main MouseMovedTest
*/
--- a/test/jdk/java/awt/TrayIcon/PopupMenuLeakTest/PopupMenuLeakTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/TrayIcon/PopupMenuLeakTest/PopupMenuLeakTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -27,7 +27,7 @@
@bug 8007220 8039081
@summary Reference to the popup leaks after the TrayIcon is removed.
@requires os.family != "windows"
- @library ../../../../lib/testlibrary/
+ @library /lib/client/
@build ExtendedRobot
@run main/othervm -Xmx50m PopupMenuLeakTest
*/
--- a/test/jdk/java/awt/TrayIcon/RightClickWhenBalloonDisplayed/RightClickWhenBalloonDisplayed.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/TrayIcon/RightClickWhenBalloonDisplayed/RightClickWhenBalloonDisplayed.java Wed Nov 14 17:26:24 2018 +0530
@@ -39,7 +39,7 @@
* @summary Right clicking on TrayIcon shouldn't trigger ActionEvent when balloon is displayed.
* @modules java.desktop/java.awt:open
* @library /java/awt/patchlib
- * @library ../../../../lib/testlibrary ../
+ * @library /lib/client ../
* @build java.desktop/java.awt.Helper
* @build ExtendedRobot SystemTrayIconHelper
* @run main RightClickWhenBalloonDisplayed
--- a/test/jdk/java/awt/TrayIcon/SecurityCheck/FunctionalityCheck/FunctionalityCheck.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/TrayIcon/SecurityCheck/FunctionalityCheck/FunctionalityCheck.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com)
* @modules java.desktop/java.awt:open
* @library /java/awt/patchlib
- * @library ../../../../../lib/testlibrary ../../
+ * @library /lib/client ../../
* @build java.desktop/java.awt.Helper
* @build ExtendedRobot SystemTrayIconHelper
* @run main/othervm/policy=tray.policy -Djava.security.manager FunctionalityCheck
--- a/test/jdk/java/awt/TrayIcon/SystemTrayIconHelper.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/TrayIcon/SystemTrayIconHelper.java Wed Nov 14 17:26:24 2018 +0530
@@ -34,7 +34,7 @@
/*
* @summary This is a helper class to find the location of a system tray icon,
* and skip some OS specific cases in tests.
- * @library ../../../../../lib/testlibrary
+ * @library /lib/client
* @build ExtendedRobot SystemTrayIconHelper
*/
public class SystemTrayIconHelper {
--- a/test/jdk/java/awt/TrayIcon/TrayIconEventModifiers/TrayIconEventModifiersTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/TrayIcon/TrayIconEventModifiers/TrayIconEventModifiersTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -41,7 +41,7 @@
* TrayIcon is clicked pressing the modifier keys
* @modules java.desktop/java.awt:open
* @library /java/awt/patchlib
- * @library ../../../../lib/testlibrary ../
+ * @library /lib/client ../
* @build java.desktop/java.awt.Helper
* @build ExtendedRobot SystemTrayIconHelper
* @run main TrayIconEventModifiersTest
--- a/test/jdk/java/awt/TrayIcon/TrayIconEvents/TrayIconEventsTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/TrayIcon/TrayIconEvents/TrayIconEventsTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -33,7 +33,7 @@
* @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com)
* @modules java.desktop/java.awt:open
* @library /java/awt/patchlib
- * @library ../../../../lib/testlibrary ../
+ * @library /lib/client ../
* @build java.desktop/java.awt.Helper
* @build ExtendedRobot SystemTrayIconHelper
* @run main TrayIconEventsTest
--- a/test/jdk/java/awt/TrayIcon/TrayIconMouseTest/TrayIconMouseTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/TrayIcon/TrayIconMouseTest/TrayIconMouseTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -38,7 +38,7 @@
* or single clicked with button 1 on rest.
* @modules java.desktop/java.awt:open
* @library /java/awt/patchlib
- * @library ../../../../lib/testlibrary ../
+ * @library /lib/client ../
* @build java.desktop/java.awt.Helper
* @build ExtendedRobot SystemTrayIconHelper
* @run main TrayIconMouseTest
--- a/test/jdk/java/awt/TrayIcon/TrayIconPopup/TrayIconPopupClickTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/TrayIcon/TrayIconPopup/TrayIconPopupClickTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -40,7 +40,7 @@
* @author Shashidhara Veerabhadraiah (shashidhara.veerabhadraiah@oracle.com)
* @modules java.desktop/java.awt:open
* @library /java/awt/patchlib
- * @library ../../../../lib/testlibrary ../
+ * @library /lib/client ../
* @build java.desktop/java.awt.Helper
* @build ExtendedRobot SystemTrayIconHelper
* @run main TrayIconPopupClickTest
--- a/test/jdk/java/awt/TrayIcon/TrayIconPopup/TrayIconPopupTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/TrayIcon/TrayIconPopup/TrayIconPopupTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com)
* @modules java.desktop/java.awt:open
* @library /java/awt/patchlib
- * @library ../../../../lib/testlibrary ../
+ * @library /lib/client ../
* @build java.desktop/java.awt.Helper
* @build ExtendedRobot SystemTrayIconHelper
* @run main TrayIconPopupTest
--- a/test/jdk/java/awt/Window/BackgroundIsNotUpdated/BackgroundIsNotUpdated.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Window/BackgroundIsNotUpdated/BackgroundIsNotUpdated.java Wed Nov 14 17:26:24 2018 +0530
@@ -35,7 +35,7 @@
* @bug 8001472
* @summary Background of the window should not depend from the paint()/update()
* @author Sergey Bylokhov
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build ExtendedRobot
* @run main BackgroundIsNotUpdated
*/
--- a/test/jdk/java/awt/Window/ShapedAndTranslucentWindows/FocusAWTTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Window/ShapedAndTranslucentWindows/FocusAWTTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -50,7 +50,7 @@
*
* @author mrkam
* @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com)
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build Common ExtendedRobot
* @run main FocusAWTTest
*/
--- a/test/jdk/java/awt/Window/ShapedAndTranslucentWindows/SetShape.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Window/ShapedAndTranslucentWindows/SetShape.java Wed Nov 14 17:26:24 2018 +0530
@@ -41,7 +41,7 @@
*
* @author mrkam
* @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com)
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build Common ExtendedRobot
* @run main SetShape
*/
--- a/test/jdk/java/awt/Window/ShapedAndTranslucentWindows/SetShapeAndClick.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Window/ShapedAndTranslucentWindows/SetShapeAndClick.java Wed Nov 14 17:26:24 2018 +0530
@@ -49,7 +49,7 @@
*
* @author mrkam
* @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com)
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build Common ExtendedRobot
* @run main SetShapeAndClick
*/
--- a/test/jdk/java/awt/Window/ShapedAndTranslucentWindows/SetShapeDynamicallyAndClick.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Window/ShapedAndTranslucentWindows/SetShapeDynamicallyAndClick.java Wed Nov 14 17:26:24 2018 +0530
@@ -48,7 +48,7 @@
*
* @author mrkam
* @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com)
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build Common ExtendedRobot
* @run main SetShapeDynamicallyAndClick
*/
--- a/test/jdk/java/awt/Window/ShapedAndTranslucentWindows/Shaped.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Window/ShapedAndTranslucentWindows/Shaped.java Wed Nov 14 17:26:24 2018 +0530
@@ -44,7 +44,7 @@
*
* @author mrkam
* @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com)
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build Common ExtendedRobot
* @run main Shaped
*/
--- a/test/jdk/java/awt/Window/ShapedAndTranslucentWindows/ShapedByAPI.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Window/ShapedAndTranslucentWindows/ShapedByAPI.java Wed Nov 14 17:26:24 2018 +0530
@@ -43,7 +43,7 @@
*
* @author mrkam
* @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com)
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @run main ShapedByAPI
*/
public class ShapedByAPI extends Common {
--- a/test/jdk/java/awt/Window/ShapedAndTranslucentWindows/ShapedTranslucent.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Window/ShapedAndTranslucentWindows/ShapedTranslucent.java Wed Nov 14 17:26:24 2018 +0530
@@ -43,7 +43,7 @@
*
* @author mrkam
* @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com)
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build Common ExtendedRobot
* @run main ShapedTranslucent
*/
--- a/test/jdk/java/awt/Window/ShapedAndTranslucentWindows/ShapedTranslucentWindowClick.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Window/ShapedAndTranslucentWindows/ShapedTranslucentWindowClick.java Wed Nov 14 17:26:24 2018 +0530
@@ -45,7 +45,7 @@
*
* @author mrkam
* @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com)
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build Common ExtendedRobot
* @run main ShapedTranslucentWindowClick
*/
--- a/test/jdk/java/awt/Window/ShapedAndTranslucentWindows/StaticallyShaped.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Window/ShapedAndTranslucentWindows/StaticallyShaped.java Wed Nov 14 17:26:24 2018 +0530
@@ -43,7 +43,7 @@
*
* @author mrkam
* @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com)
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build Common ExtendedRobot
* @run main StaticallyShaped
*/
--- a/test/jdk/java/awt/Window/ShapedAndTranslucentWindows/Translucent.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Window/ShapedAndTranslucentWindows/Translucent.java Wed Nov 14 17:26:24 2018 +0530
@@ -41,7 +41,7 @@
*
* @author mrkam
* @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com)
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build Common ExtendedRobot
* @run main Translucent
*/
--- a/test/jdk/java/awt/Window/ShapedAndTranslucentWindows/TranslucentChoice.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Window/ShapedAndTranslucentWindows/TranslucentChoice.java Wed Nov 14 17:26:24 2018 +0530
@@ -43,7 +43,7 @@
*
* @author mrkam
* @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com)
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build Common ExtendedRobot
* @run main TranslucentChoice
*/
--- a/test/jdk/java/awt/Window/ShapedAndTranslucentWindows/TranslucentWindowClick.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Window/ShapedAndTranslucentWindows/TranslucentWindowClick.java Wed Nov 14 17:26:24 2018 +0530
@@ -40,7 +40,7 @@
*
* @author mrkam
* @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com)
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build Common ExtendedRobot
* @run main TranslucentWindowClick
*/
--- a/test/jdk/java/awt/Window/setLocRelativeTo/SetLocationRelativeToTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/Window/setLocRelativeTo/SetLocationRelativeToTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* so that their centers coincide
* or, if the component is hidden, centered on the screen.
* @bug 8036915
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build ExtendedRobot
* @run main/timeout=1200 SetLocationRelativeToTest
*/
--- a/test/jdk/java/awt/datatransfer/ImageTransfer/ImageTransferTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/datatransfer/ImageTransfer/ImageTransferTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -36,7 +36,7 @@
* system clipboard
* @author Jitender(jitender.singh@eng.sun.com) area=AWT
* @author dmitriy.ermashov@oracle.com
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build ExtendedRobot
* @run main ImageTransferTest
*/
--- a/test/jdk/java/awt/datatransfer/Independence/IndependenceAWTTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/datatransfer/Independence/IndependenceAWTTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -34,7 +34,7 @@
* @summary To make sure that System & Primary clipboards should behave independently
* @author Jitender(jitender.singh@eng.sun.com) area=AWT
* @author dmitriy.ermashov@oracle.com
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build ExtendedRobot
* @run main IndependenceAWTTest
*/
--- a/test/jdk/java/awt/datatransfer/Independence/IndependenceSwingTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/datatransfer/Independence/IndependenceSwingTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -41,7 +41,7 @@
* @summary To make sure that System & Primary clipboards should behave independently
* @author Jitender(jitender.singh@eng.sun.com) area=AWT
* @author dmitriy.ermashov@oracle.com
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build ExtendedRobot
* @run main IndependenceSwingTest
*/
--- a/test/jdk/java/awt/datatransfer/SystemSelection/SystemSelectionAWTTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/datatransfer/SystemSelection/SystemSelectionAWTTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -38,7 +38,7 @@
* @summary To check the functionality of newly added API getSystemSelection & make sure
* that it's mapped to primary clipboard
* @author Jitender(jitender.singh@eng.sun.com) area=AWT
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build ExtendedRobot
* @run main SystemSelectionAWTTest
*/
--- a/test/jdk/java/awt/datatransfer/SystemSelection/SystemSelectionSwingTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/datatransfer/SystemSelection/SystemSelectionSwingTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -39,7 +39,7 @@
* @summary To check the functionality of newly added API getSystemSelection & make sure
* that it's mapped to primary clipboard
* @author Jitender(jitender.singh@eng.sun.com) area=AWT
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build ExtendedRobot
* @run main SystemSelectionSwingTest
*/
--- a/test/jdk/java/awt/dnd/ImageTransferTest/ImageTransferTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/dnd/ImageTransferTest/ImageTransferTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -24,7 +24,7 @@
/*
* @test
* @key headful
- * @bug 4397404 4720930 8197926
+ * @bug 4397404 4720930 8197926 8176556
* @summary tests that images of all supported native image formats are
* transferred properly
* @library /test/lib
@@ -134,21 +134,29 @@
abstract class ImageTransferer {
Image image;
+ Image imageForJpeg;
String[] formats;
int fi; // current format index
Frame frame = new Frame();
ImageTransferer() {
- image = createImage();
+ image = createImage(false);
+ imageForJpeg = createImage(true);
frame.setSize(100, 100);
}
- private static Image createImage() {
+ private static Image createImage(boolean forJpeg) {
int w = 100;
int h = 100;
int[] pix = new int[w * h];
+ BufferedImage img;
+ if (!forJpeg) {
+ img = new BufferedImage(w, h, BufferedImage.TYPE_INT_ARGB);
+ } else {
+ img = new BufferedImage(w, h, BufferedImage.TYPE_INT_RGB);
+ }
int index = 0;
for (int y = 0; y < h; y++) {
for (int x = 0; x < w; x++) {
@@ -160,12 +168,18 @@
alpha = 0;
red = 0;
}
- pix[index++] =
- (alpha << 24) | (red << 16) | (green << 8) | blue;
+ if (!forJpeg) {
+ pix[index] =
+ (alpha <<24) | (red << 16) | (green << 8) | blue;
+ } else {
+ pix[index] =
+ (red << 16) | (green << 8) | blue;
+ }
+ img.setRGB(x, y, pix[index]);
+ index++;
}
}
- return Toolkit.getDefaultToolkit().
- createImage(new MemoryImageSource(w, h, pix, 0, w));
+ return (Image)img;
}
@@ -193,7 +207,7 @@
boolean areImagesIdentical(Image im1, Image im2) {
if (formats[fi].equals("JFIF") || formats[fi].equals("image/jpeg") ||
- formats[fi].equals("GIF") || formats[fi].equals("image/gif")) {
+ formats[fi].equals("GIF") || formats[fi].equals("image/gif")) {
// JFIF and GIF are lossy formats
return true;
}
@@ -205,8 +219,8 @@
}
if (formats[fi].equals("PNG") ||
- formats[fi].equals("image/png") ||
- formats[fi].equals("image/x-png")) {
+ formats[fi].equals("image/png") ||
+ formats[fi].equals("image/x-png")) {
// check alpha as well
for (int i = 0; i < ib1.length; i++) {
if (ib1[i] != ib2[i]) {
@@ -268,7 +282,13 @@
new DragSource().createDefaultDragGestureRecognizer(frame,
DnDConstants.ACTION_COPY,
- dge -> dge.startDrag(null, new ImageSelection(image), dsl));
+ dge -> {
+ if (formats[fi].equals("JFIF") || formats[fi].equals("image/jpeg")) {
+ dge.startDrag(null, new ImageSelection(imageForJpeg), dsl);
+ } else {
+ dge.startDrag(null, new ImageSelection(image), dsl);
+ }
+ });
leaveFormat(formats[fi]);
}
@@ -314,6 +334,14 @@
return;
}
+ /*
+ * We are using RGB source image for jpeg
+ * because there is no support for alpha channel.
+ * Also we are not verifying pixel data for jpeg
+ * in areImagesIdentical() since it is a lossy format.
+ * So after image drop we are not handling any needed
+ * special cases for jpeg.
+ */
if (im == null) {
System.err.println("getTransferData returned null");
dtde.dropComplete(false);
--- a/test/jdk/java/awt/event/KeyEvent/ExtendedKeyCode/ExtendedKeyCodeTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/event/KeyEvent/ExtendedKeyCode/ExtendedKeyCodeTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* @bug 8007156 8025126
* @summary Extended key code is not set for a key event
* @author Alexandr Scherbatiy
- * @library ../../../../../lib/testlibrary
+ * @library /lib/client
* @build ExtendedRobot
* @run main ExtendedKeyCodeTest
*/
--- a/test/jdk/java/awt/event/KeyEvent/ExtendedModifiersTest/ExtendedModifiersTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/event/KeyEvent/ExtendedModifiersTest/ExtendedModifiersTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
* 2. InputEvent.getModifiersExText() returns
* correct extended modifier keys description
*
- * @library /lib/testlibrary/ ../../helpers/lwcomponents/
+ * @library /lib/client/ ../../helpers/lwcomponents/
* @library /test/lib
* @build LWComponent
* @build LWButton
--- a/test/jdk/java/awt/event/KeyEvent/KeyMaskTest/KeyMaskTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/event/KeyEvent/KeyMaskTest/KeyMaskTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -29,7 +29,7 @@
* @summary Check whether KeyEvent.getModifiers() returns correct modifiers
* when Ctrl, Alt or Shift keys are pressed.
*
- * @library /lib/testlibrary/ ../../helpers/lwcomponents/
+ * @library /lib/client/ ../../helpers/lwcomponents/
* @library /test/lib
* @build LWComponent
* @build LWButton
--- a/test/jdk/java/awt/event/MouseEvent/MouseButtonsAndKeyMasksTest/MouseButtonsAndKeyMasksTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/event/MouseEvent/MouseButtonsAndKeyMasksTest/MouseButtonsAndKeyMasksTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -46,7 +46,7 @@
* and KeyEvent.getModifiers() return correct modifiers when pressing
* keys Ctrl, Alt, Shift, Meta and mouse buttons sequentially
*
- * @library /lib/testlibrary/ ../../helpers/lwcomponents/
+ * @library /lib/client/ ../../helpers/lwcomponents/
* @library /test/lib
* @build LWComponent
* @build LWButton
--- a/test/jdk/java/awt/event/MouseEvent/MouseButtonsTest/MouseButtonsTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/event/MouseEvent/MouseButtonsTest/MouseButtonsTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -44,7 +44,7 @@
* number when the mouse buttons are pressed and getModifiers()
* returns correct modifiers
*
- * @library /lib/testlibrary/ ../../helpers/lwcomponents/
+ * @library /lib/client/ ../../helpers/lwcomponents/
* @library /test/lib
* @build LWComponent
* @build LWButton
--- a/test/jdk/java/awt/event/MouseEvent/MultipleMouseButtonsTest/MultipleMouseButtonsTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/event/MouseEvent/MultipleMouseButtonsTest/MultipleMouseButtonsTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -37,7 +37,7 @@
* @summary Check whether correct modifiers set when multiple mouse buttons were pressed;
* check number of received events.
*
- * @library /lib/testlibrary/ ../../helpers/lwcomponents/
+ * @library /lib/client/ ../../helpers/lwcomponents/
* @library /test/lib
* @build LWComponent
* @build LWButton
--- a/test/jdk/java/awt/image/multiresolution/Corrupted2XImageTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/image/multiresolution/Corrupted2XImageTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -32,7 +32,7 @@
*
* @requires (os.family == "mac")
*
- * @library ../../../../lib/testlibrary/
+ * @library /lib/client/
* @build ExtendedRobot
* @run main Corrupted2XImageTest
*/
--- a/test/jdk/java/awt/image/multiresolution/MenuMultiresolutionIconTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/image/multiresolution/MenuMultiresolutionIconTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -29,7 +29,7 @@
* @summary Check that correct resolution variants are chosen for menu icons
* when multiresolution image is used for their construction.
*
- * @library ../../../../lib/testlibrary/
+ * @library /lib/client/
* @build ExtendedRobot
* @run main/othervm -Dsun.java2d.uiScale=1 MenuMultiresolutionIconTest
* @run main/othervm -Dsun.java2d.uiScale=2 MenuMultiresolutionIconTest
--- a/test/jdk/java/awt/image/multiresolution/MultiResolutionJOptionPaneIconTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/image/multiresolution/MultiResolutionJOptionPaneIconTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -28,7 +28,7 @@
@author a.stepanov
@summary Check if correct resolution variant is used
for JOptionPane dialog / internal frame icons.
- @library ../../../../lib/testlibrary/
+ @library /lib/client/
@build ExtendedRobot
@run main/othervm/timeout=300 -Dsun.java2d.uiScale=1 MultiResolutionJOptionPaneIconTest
@run main/othervm/timeout=300 -Dsun.java2d.uiScale=2 MultiResolutionJOptionPaneIconTest
--- a/test/jdk/java/awt/image/multiresolution/MultiresolutionIconTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/image/multiresolution/MultiresolutionIconTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -29,7 +29,7 @@
* @summary Check that correct resolution variants are chosen for icons
* when multiresolution image is used for their construction.
*
- * @library ../../../../lib/testlibrary/
+ * @library /lib/client/
* @build ExtendedRobot
* @run main/othervm/timeout=240 -Dsun.java2d.uiScale=1 MultiresolutionIconTest
* @run main/othervm/timeout=240 -Dsun.java2d.uiScale=2 MultiresolutionIconTest
--- a/test/jdk/java/awt/keyboard/AltPlusNumberKeyCombinationsTest/AltPlusNumberKeyCombinationsTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/java/awt/keyboard/AltPlusNumberKeyCombinationsTest/AltPlusNumberKeyCombinationsTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -29,7 +29,7 @@
* @key headful
* @summary Test that it is possible to type "Alt code" on Windows.
* @requires (os.family == "windows")
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build ExtendedRobot
* @run main AltPlusNumberKeyCombinationsTest
*/
--- a/test/jdk/javax/swing/JButton/JButtonPaintNPE/JButtonPaintNPE.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/javax/swing/JButton/JButtonPaintNPE/JButtonPaintNPE.java Wed Nov 14 17:26:24 2018 +0530
@@ -36,7 +36,7 @@
* @key headful
* @bug 8009919
* @author Sergey Bylokhov
- * @library ../../../../lib/testlibrary/
+ * @library /lib/client/
* @build ExtendedRobot
* @run main JButtonPaintNPE
*/
--- a/test/jdk/javax/swing/JComboBox/4523758/bug4523758.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/javax/swing/JComboBox/4523758/bug4523758.java Wed Nov 14 17:26:24 2018 +0530
@@ -26,7 +26,7 @@
* @key headful
* @bug 4523758
* @summary Directly check that torn-off combo works
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build ExtendedRobot
* @run main bug4523758
*/
--- a/test/jdk/javax/swing/JComboBox/6559152/bug6559152.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/javax/swing/JComboBox/6559152/bug6559152.java Wed Nov 14 17:26:24 2018 +0530
@@ -28,7 +28,7 @@
* @summary Checks that you can select an item in JComboBox with keyboard
* when it is a JTable cell editor.
* @author Mikhail Lapshin
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build ExtendedRobot
* @run main bug6559152
*/
--- a/test/jdk/javax/swing/JComboBox/8015300/Test8015300.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/javax/swing/JComboBox/8015300/Test8015300.java Wed Nov 14 17:26:24 2018 +0530
@@ -42,7 +42,7 @@
@requires (os.family == "windows")
* @summary Tests that editable combobox selects all text.
* @author Sergey Malenkov
- * @library ../../../../lib/testlibrary/
+ * @library /lib/client/
* @modules java.desktop/com.sun.java.swing.plaf.windows
* @build ExtendedRobot
* @run main Test8015300
--- a/test/jdk/javax/swing/JComboBox/ConsumedKeyTest/ConsumedKeyTest.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/javax/swing/JComboBox/ConsumedKeyTest/ConsumedKeyTest.java Wed Nov 14 17:26:24 2018 +0530
@@ -31,7 +31,7 @@
@bug 8031485 8058193
@summary Combo box consuming escape and enter key events
@author Petr Pchelko
- @library ../../../../lib/testlibrary/
+ @library /lib/client/
@build ExtendedRobot
@run main ConsumedKeyTest
*/
--- a/test/jdk/javax/swing/JComponent/7154030/bug7154030.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/javax/swing/JComponent/7154030/bug7154030.java Wed Nov 14 17:26:24 2018 +0530
@@ -47,7 +47,7 @@
* @summary Swing components fail to hide after calling hide()
* @author Jonathan Lu
* @library ../../regtesthelpers/
- * @library ../../../../lib/testlibrary/
+ * @library /lib/client/
* @build Util
* @build ExtendedRobot
* @run main bug7154030
--- a/test/jdk/javax/swing/JInternalFrame/6647340/bug6647340.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/javax/swing/JInternalFrame/6647340/bug6647340.java Wed Nov 14 17:26:24 2018 +0530
@@ -27,7 +27,7 @@
* @summary Checks that iconified internal frame follows
* the main frame borders properly.
* @author Mikhail Lapshin
- * @library ../../../../lib/testlibrary/
+ * @library /lib/client/
* @build ExtendedRobot
* @run main bug6647340
*/
--- a/test/jdk/javax/swing/JInternalFrame/6725409/bug6725409.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/javax/swing/JInternalFrame/6725409/bug6725409.java Wed Nov 14 17:26:24 2018 +0530
@@ -28,7 +28,7 @@
* @summary Checks that JInternalFrame's system menu
* can be localized during run-time
* @author Mikhail Lapshin
- * @library ../../../../lib/testlibrary/
+ * @library /lib/client/
* @modules java.desktop/com.sun.java.swing.plaf.windows
* @build ExtendedRobot
* @run main bug6725409
--- a/test/jdk/javax/swing/JLayer/6824395/bug6824395.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/javax/swing/JLayer/6824395/bug6824395.java Wed Nov 14 17:26:24 2018 +0530
@@ -26,7 +26,7 @@
* @key headful
* @summary Checks that JLayer inside JViewport works is correctly laid out
* @author Alexander Potochkin
- * @library ../../../../lib/testlibrary/
+ * @library /lib/client/
* @build ExtendedRobot
* @run main bug6824395
*/
--- a/test/jdk/javax/swing/JMenu/4417601/bug4417601.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/javax/swing/JMenu/4417601/bug4417601.java Wed Nov 14 17:26:24 2018 +0530
@@ -27,7 +27,7 @@
* @bug 4417601
* @summary JMenus with no items paint a tiny menu.
* @author Alexander Potochkin
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build ExtendedRobot
* @run main bug4417601
*/
--- a/test/jdk/javax/swing/JMenu/6359669/bug6359669.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/javax/swing/JMenu/6359669/bug6359669.java Wed Nov 14 17:26:24 2018 +0530
@@ -26,7 +26,7 @@
* @bug 6359669
* @summary REGRESSION: Submenu does not work if populated in PopupMenuListener.popupMenuWillBecomeVisible
* @author Alexander Potochkin
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build ExtendedRobot
* @run main bug6359669
*/
--- a/test/jdk/javax/swing/JMenu/6538132/bug6538132.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/javax/swing/JMenu/6538132/bug6538132.java Wed Nov 14 17:26:24 2018 +0530
@@ -28,7 +28,7 @@
* @summary Regression: Pressing Escape key don't close the menu items from jdk7.0 b07 onwards
* @author Alexander Potochkin
* @requires (os.family == "windows")
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build ExtendedRobot
* @run main bug6538132
*/
--- a/test/jdk/javax/swing/JMenuItem/6249972/bug6249972.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/javax/swing/JMenuItem/6249972/bug6249972.java Wed Nov 14 17:26:24 2018 +0530
@@ -26,7 +26,7 @@
* @key headful
* @bug 6249972
* @summary Tests that JMenuItem(String,int) handles lower-case mnemonics properly.
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build ExtendedRobot
* @author Mikhail Lapshin
* @run main bug6249972
--- a/test/jdk/javax/swing/JOptionPane/6428694/bug6428694.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/javax/swing/JOptionPane/6428694/bug6428694.java Wed Nov 14 17:26:24 2018 +0530
@@ -25,7 +25,7 @@
* @key headful
* @bug 6428694
* @summary Checks that double click closes JOptionPane's input dialog.
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build ExtendedRobot
* @author Mikhail Lapshin
* @run main bug6428694
--- a/test/jdk/javax/swing/JPopupMenu/4634626/bug4634626.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/javax/swing/JPopupMenu/4634626/bug4634626.java Wed Nov 14 17:26:24 2018 +0530
@@ -27,7 +27,7 @@
* @bug 4634626
* @summary Implement context popup menus for components
* @author Alexander Zuev
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build ExtendedRobot
* @run applet bug4634626.html
*/
--- a/test/jdk/javax/swing/JPopupMenu/6217905/bug6217905.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/javax/swing/JPopupMenu/6217905/bug6217905.java Wed Nov 14 17:26:24 2018 +0530
@@ -28,7 +28,7 @@
* @summary JPopupMenu keyboard navigation stops working
* @author Alexander Potochkin
* @requires (os.family == "windows")
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build ExtendedRobot
* @run main bug6217905
*/
--- a/test/jdk/javax/swing/JPopupMenu/6415145/bug6415145.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/javax/swing/JPopupMenu/6415145/bug6415145.java Wed Nov 14 17:26:24 2018 +0530
@@ -25,7 +25,7 @@
* @key headful
* @bug 6415145
* @summary REGRESSION: Selected item is not being updated while dragging above popup menu
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build ExtendedRobot
* @author Mikhail Lapshin
* @run main bug6415145
--- a/test/jdk/javax/swing/JPopupMenu/6515446/bug6515446.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/javax/swing/JPopupMenu/6515446/bug6515446.java Wed Nov 14 17:26:24 2018 +0530
@@ -26,7 +26,7 @@
* @bug 6515446
* @summary JMenuItems in JPopupMenus not receiving ActionEvents - incompat with 1.5
* @author Alexander Potochkin
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build ExtendedRobot
* @run main bug6515446
*/
--- a/test/jdk/javax/swing/JPopupMenu/6544309/bug6544309.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/javax/swing/JPopupMenu/6544309/bug6544309.java Wed Nov 14 17:26:24 2018 +0530
@@ -27,7 +27,7 @@
@summary Checks that 'Select Input Method' popup menu allows to select
items with keyboard.
@author Mikhail Lapshin
- @library ../../../../lib/testlibrary
+ @library /lib/client
@build ExtendedRobot
@run main bug6544309
*/
--- a/test/jdk/javax/swing/JPopupMenu/6580930/bug6580930.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/javax/swing/JPopupMenu/6580930/bug6580930.java Wed Nov 14 17:26:24 2018 +0530
@@ -26,7 +26,7 @@
* @bug 6580930 7184956
* @summary Swing Popups should overlap taskbar
* @author Alexander Potochkin
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build ExtendedRobot
* @run main bug6580930
*/
--- a/test/jdk/javax/swing/JSlider/6401380/bug6401380.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/javax/swing/JSlider/6401380/bug6401380.java Wed Nov 14 17:26:24 2018 +0530
@@ -26,7 +26,7 @@
* @key headful
* @bug 6401380
* @summary JSlider - mouse click ont the left side of the knob is ignored.
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build ExtendedRobot
* @author Alexander Potochkin
* @run main bug6401380
--- a/test/jdk/javax/swing/JTabbedPane/7024235/Test7024235.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/javax/swing/JTabbedPane/7024235/Test7024235.java Wed Nov 14 17:26:24 2018 +0530
@@ -41,7 +41,7 @@
* @key headful
* @bug 7024235
* @summary Tests JFrame.pack() with the JTabbedPane
- * @library ../../../../lib/testlibrary/
+ * @library /lib/client/
* @build ExtendedRobot
* @author Sergey Malenkov
* @run main Test7024235
--- a/test/jdk/javax/swing/JTabbedPane/7170310/bug7170310.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/javax/swing/JTabbedPane/7170310/bug7170310.java Wed Nov 14 17:26:24 2018 +0530
@@ -41,7 +41,7 @@
* @bug 7170310
* @author Alexey Ivanov
* @summary Selected tab should be scrolled into view.
- * @library ../../../../lib/testlibrary/
+ * @library /lib/client/
* @build ExtendedRobot
* @run main bug7170310
*/
--- a/test/jdk/javax/swing/JTree/8003400/Test8003400.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/javax/swing/JTree/8003400/Test8003400.java Wed Nov 14 17:26:24 2018 +0530
@@ -27,7 +27,7 @@
* @bug 8003400
* @summary Tests that JTree shows the last row
* @author Sergey Malenkov
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build ExtendedRobot
* @run main/othervm Test8003400
* @run main/othervm Test8003400 reverse
--- a/test/jdk/javax/swing/JWindow/ShapedAndTranslucentWindows/PerPixelTranslucent.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/javax/swing/JWindow/ShapedAndTranslucentWindows/PerPixelTranslucent.java Wed Nov 14 17:26:24 2018 +0530
@@ -40,7 +40,7 @@
* window should appear with the translucency. Only window background
* should be translucent, all the controls should be opaque.
* @author mrkam
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build Common ExtendedRobot
* @run main PerPixelTranslucent
* @run main/othervm -Dsun.java2d.uiScale=1.5 PerPixelTranslucent
--- a/test/jdk/javax/swing/JWindow/ShapedAndTranslucentWindows/PerPixelTranslucentCanvas.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/javax/swing/JWindow/ShapedAndTranslucentWindows/PerPixelTranslucentCanvas.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @key headful
* @summary Check if a per-pixel translucent window shows up with correct translucency
* @author mrkam
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build Common ExtendedRobot
* @run main PerPixelTranslucentCanvas
* @run main/othervm -Dsun.java2d.uiScale=1.5 PerPixelTranslucentCanvas
--- a/test/jdk/javax/swing/JWindow/ShapedAndTranslucentWindows/PerPixelTranslucentGradient.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/javax/swing/JWindow/ShapedAndTranslucentWindows/PerPixelTranslucentGradient.java Wed Nov 14 17:26:24 2018 +0530
@@ -41,7 +41,7 @@
* the window should appear as specified with the translucency. Only window
* background should be translucent, all the controls should be opaque.
* @author mrkam
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build Common ExtendedRobot
* @run main PerPixelTranslucentGradient
* @run main/othervm -Dsun.java2d.uiScale=1.5 PerPixelTranslucentGradient
--- a/test/jdk/javax/swing/JWindow/ShapedAndTranslucentWindows/PerPixelTranslucentSwing.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/javax/swing/JWindow/ShapedAndTranslucentWindows/PerPixelTranslucentSwing.java Wed Nov 14 17:26:24 2018 +0530
@@ -38,7 +38,7 @@
* Expected Result: Only the components present in the window must be shown. Other
* areas of the window must be transparent so that the background shows
* @author mrkam
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build Common ExtendedRobot
* @run main PerPixelTranslucentSwing
* @run main/othervm -Dsun.java2d.uiScale=1.5 PerPixelTranslucentSwing
--- a/test/jdk/javax/swing/JWindow/ShapedAndTranslucentWindows/SetShapeAndClickSwing.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/javax/swing/JWindow/ShapedAndTranslucentWindows/SetShapeAndClickSwing.java Wed Nov 14 17:26:24 2018 +0530
@@ -47,7 +47,7 @@
* on clipped region should deliver the event to the background (it should be
* another Window behind the test window)
* @author mrkam
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build Common ExtendedRobot
* @run main SetShapeAndClickSwing
*/
--- a/test/jdk/javax/swing/JWindow/ShapedAndTranslucentWindows/ShapedPerPixelTranslucentGradient.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/javax/swing/JWindow/ShapedAndTranslucentWindows/ShapedPerPixelTranslucentGradient.java Wed Nov 14 17:26:24 2018 +0530
@@ -45,7 +45,7 @@
* translucent gradient in parts that are not clipped by shape, all the
* controls should be opaque.
* @author mrkam
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build Common ExtendedRobot
* @run main ShapedPerPixelTranslucentGradient
* @run main/othervm -Dsun.java2d.uiScale=1.5 ShapedPerPixelTranslucentGradient
--- a/test/jdk/javax/swing/JWindow/ShapedAndTranslucentWindows/ShapedTranslucentPerPixelTranslucentGradient.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/javax/swing/JWindow/ShapedAndTranslucentWindows/ShapedTranslucentPerPixelTranslucentGradient.java Wed Nov 14 17:26:24 2018 +0530
@@ -46,7 +46,7 @@
* translucent gradient in parts that are not clipped by shape, all the
* controls should be equally translucent.
* @author mrkam
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build Common ExtendedRobot
* @run main ShapedTranslucentPerPixelTranslucentGradient
* @run main/othervm -Dsun.java2d.uiScale=1.5 ShapedTranslucentPerPixelTranslucentGradient
--- a/test/jdk/javax/swing/JWindow/ShapedAndTranslucentWindows/TranslucentJComboBox.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/javax/swing/JWindow/ShapedAndTranslucentWindows/TranslucentJComboBox.java Wed Nov 14 17:26:24 2018 +0530
@@ -36,7 +36,7 @@
* Expected Result: If TRANSLUCENT Translucency type is supported, the drop down
* should appear translucent.
* @author mrkam
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build Common ExtendedRobot
* @run main TranslucentJComboBox
*/
--- a/test/jdk/javax/swing/JWindow/ShapedAndTranslucentWindows/TranslucentPerPixelTranslucentGradient.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/javax/swing/JWindow/ShapedAndTranslucentWindows/TranslucentPerPixelTranslucentGradient.java Wed Nov 14 17:26:24 2018 +0530
@@ -43,7 +43,7 @@
* Both window background and all the controls should be translucent but
* background should have a gradient in translucency while controls - not.
* @author mrkam
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build Common ExtendedRobot
* @run main TranslucentPerPixelTranslucentGradient
* @run main/othervm -Dsun.java2d.uiScale=1.5 TranslucentPerPixelTranslucentGradient
--- a/test/jdk/javax/swing/JWindow/ShapedAndTranslucentWindows/TranslucentWindowClickSwing.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/javax/swing/JWindow/ShapedAndTranslucentWindows/TranslucentWindowClickSwing.java Wed Nov 14 17:26:24 2018 +0530
@@ -39,7 +39,7 @@
* should appear translucent showing the background. They should trigger events
* correctly
* @author mrkam
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build Common ExtendedRobot
* @run main TranslucentWindowClickSwing
*/
--- a/test/jdk/javax/swing/dnd/8139050/NativeErrorsInTableDnD.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/javax/swing/dnd/8139050/NativeErrorsInTableDnD.java Wed Nov 14 17:26:24 2018 +0530
@@ -41,7 +41,7 @@
* @test
* @bug 8139050 8153871
* @key headful
- * @library ../../../../lib/testlibrary
+ * @library /lib/client
* @build ExtendedRobot
* @run main/othervm/timeout=360 -Xcheck:jni NativeErrorsInTableDnD
*/
--- a/test/jdk/javax/swing/reliability/TaskUndJFrameProperties.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/javax/swing/reliability/TaskUndJFrameProperties.java Wed Nov 14 17:26:24 2018 +0530
@@ -30,7 +30,7 @@
* @summary Construct a Undecorated JFrame, try to change the properties
* using setVisible() method.
* @author Aruna Samji
- * @library ../../../lib/testlibrary
+ * @library /lib/client
* @build ExtendedRobot
* @run main TaskUndJFrameProperties
*/
--- a/test/jdk/javax/swing/reliability/TaskZoomJFrameChangeState.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/javax/swing/reliability/TaskZoomJFrameChangeState.java Wed Nov 14 17:26:24 2018 +0530
@@ -33,7 +33,7 @@
* check the zoomed size is same as the screen size. Check the
* location of the jframe after restoration from zoom or icon.
* @author Aruna Samji
- * @library ../../../lib/testlibrary
+ * @library /lib/client
* @build ExtendedRobot
* @run main TaskZoomJFrameChangeState
*/
--- a/test/jdk/javax/swing/reliability/TaskZoomJFrameRepaint.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/javax/swing/reliability/TaskZoomJFrameRepaint.java Wed Nov 14 17:26:24 2018 +0530
@@ -29,7 +29,7 @@
* @key headful
* @summary Construct a jframe with some components and zoom the frame and bring it back to normal state.
* @author Aruna Samji
- * @library ../../../lib/testlibrary
+ * @library /lib/client
* @build ExtendedRobot
* @run main TaskZoomJFrameRepaint
*/
--- a/test/jdk/javax/swing/text/AbstractDocument/6968363/Test6968363.java Wed Nov 14 17:16:44 2018 +0530
+++ b/test/jdk/javax/swing/text/AbstractDocument/6968363/Test6968363.java Wed Nov 14 17:26:24 2018 +0530
@@ -46,7 +46,7 @@
* @bug 6968363
* @summary Ensures that a custom document may not extend AbstractDocument
* @author Sergey Malenkov
- * @library ../../../../../lib/testlibrary/
+ * @library /lib/client/
* @build ExtendedRobot
* @run main Test6968363
*/
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test/jdk/lib/client/ExtendedRobot.java Wed Nov 14 17:26:24 2018 +0530
@@ -0,0 +1,408 @@
+/*
+ * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Oracle designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Oracle in the LICENSE file that accompanied this code.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ */
+
+import java.awt.AWTException;
+import java.awt.Robot;
+import java.awt.GraphicsDevice;
+import java.awt.Toolkit;
+import java.awt.Point;
+import java.awt.MouseInfo;
+import java.awt.event.InputEvent;
+import java.awt.event.KeyEvent;
+
+/**
+ * ExtendedRobot is a subclass of {@link java.awt.Robot}. It provides some convenience methods that are
+ * ought to be moved to {@link java.awt.Robot} class.
+ * <p>
+ * ExtendedRobot uses delay {@link #getSyncDelay()} to make syncing threads with {@link #waitForIdle()}
+ * more stable. This delay can be set once on creating object and could not be changed throughout object
+ * lifecycle. Constructor reads vm integer property {@code java.awt.robotdelay} and sets the delay value
+ * equal to the property value. If the property was not set 500 milliseconds default value is used.
+ * <p>
+ * When using jtreg you would include this class via something like:
+ * <pre>
+ * {@literal @}library ../../../../lib/testlibrary
+ * {@literal @}build ExtendedRobot
+ * </pre>
+ *
+ * @author Dmitriy Ermashov
+ * @since 9
+ */
+
+public class ExtendedRobot extends Robot {
+
+ private static int DEFAULT_SPEED = 20; // Speed for mouse glide and click
+ private static int DEFAULT_SYNC_DELAY = 500; // Default Additional delay for waitForIdle()
+ private static int DEFAULT_STEP_LENGTH = 2; // Step length (in pixels) for mouse glide
+
+ private final int syncDelay = DEFAULT_SYNC_DELAY;
+
+ //TODO: uncomment three lines below after moving functionality to java.awt.Robot
+ //{
+ // syncDelay = AccessController.doPrivileged(new GetIntegerAction("java.awt.robotdelay", DEFAULT_SYNC_DELAY));
+ //}
+
+ /**
+ * Constructs an ExtendedRobot object in the coordinate system of the primary screen.
+ *
+ * @throws AWTException if the platform configuration does not allow low-level input
+ * control. This exception is always thrown when
+ * GraphicsEnvironment.isHeadless() returns true
+ * @throws SecurityException if {@code createRobot} permission is not granted
+ *
+ * @see java.awt.GraphicsEnvironment#isHeadless
+ * @see SecurityManager#checkPermission
+ * @see java.awt.AWTPermission
+ */
+ public ExtendedRobot() throws AWTException {
+ super();
+ }
+
+ /**
+ * Creates an ExtendedRobot for the given screen device. Coordinates passed
+ * to ExtendedRobot method calls like mouseMove and createScreenCapture will
+ * be interpreted as being in the same coordinate system as the specified screen.
+ * Note that depending on the platform configuration, multiple screens may either:
+ * <ul>
+ * <li>share the same coordinate system to form a combined virtual screen</li>
+ * <li>use different coordinate systems to act as independent screens</li>
+ * </ul>
+ * This constructor is meant for the latter case.
+ * <p>
+ * If screen devices are reconfigured such that the coordinate system is
+ * affected, the behavior of existing ExtendedRobot objects is undefined.
+ *
+ * @param screen A screen GraphicsDevice indicating the coordinate
+ * system the Robot will operate in.
+ * @throws AWTException if the platform configuration does not allow low-level input
+ * control. This exception is always thrown when
+ * GraphicsEnvironment.isHeadless() returns true.
+ * @throws IllegalArgumentException if {@code screen} is not a screen
+ * GraphicsDevice.
+ * @throws SecurityException if {@code createRobot} permission is not granted
+ *
+ * @see java.awt.GraphicsEnvironment#isHeadless
+ * @see GraphicsDevice
+ * @see SecurityManager#checkPermission
+ * @see java.awt.AWTPermission
+ */
+ public ExtendedRobot(GraphicsDevice screen) throws AWTException {
+ super(screen);
+ }
+
+ /**
+ * Returns delay length for {@link #waitForIdle()} method
+ *
+ * @return Current delay value
+ *
+ * @see #waitForIdle()
+ */
+ public int getSyncDelay(){ return this.syncDelay; }
+
+ /**
+ * Clicks mouse button(s) by calling {@link java.awt.Robot#mousePress(int)} and
+ * {@link java.awt.Robot#mouseRelease(int)} methods
+ *
+ *
+ * @param buttons The button mask; a combination of one or more mouse button masks.
+ * @throws IllegalArgumentException if the {@code buttons} mask contains the mask for
+ * extra mouse button and support for extended mouse buttons is
+ * {@link Toolkit#areExtraMouseButtonsEnabled() disabled} by Java
+ * @throws IllegalArgumentException if the {@code buttons} mask contains the mask for
+ * extra mouse button that does not exist on the mouse and support for extended
+ * mouse buttons is {@link Toolkit#areExtraMouseButtonsEnabled() enabled}
+ * by Java
+ *
+ * @see #mousePress(int)
+ * @see #mouseRelease(int)
+ * @see InputEvent#getMaskForButton(int)
+ * @see Toolkit#areExtraMouseButtonsEnabled()
+ * @see java.awt.event.MouseEvent
+ */
+ public void click(int buttons) {
+ mousePress(buttons);
+ waitForIdle(DEFAULT_SPEED);
+ mouseRelease(buttons);
+ waitForIdle();
+ }
+
+ /**
+ * Clicks mouse button 1
+ *
+ * @throws IllegalArgumentException if the {@code buttons} mask contains the mask for
+ * extra mouse button and support for extended mouse buttons is
+ * {@link Toolkit#areExtraMouseButtonsEnabled() disabled} by Java
+ * @throws IllegalArgumentException if the {@code buttons} mask contains the mask for
+ * extra mouse button that does not exist on the mouse and support for extended
+ * mouse buttons is {@link Toolkit#areExtraMouseButtonsEnabled() enabled}
+ * by Java
+ *
+ * @see #click(int)
+ */
+ public void click() {
+ click(InputEvent.BUTTON1_DOWN_MASK);
+ }
+
+ /**
+ * Waits until all events currently on the event queue have been processed with given
+ * delay after syncing threads. It uses more advanced method of synchronizing threads
+ * unlike {@link java.awt.Robot#waitForIdle()}
+ *
+ * @param delayValue Additional delay length in milliseconds to wait until thread
+ * sync been completed
+ * @throws sun.awt.SunToolkit.IllegalThreadException if called on the AWT event
+ * dispatching thread
+ */
+ public synchronized void waitForIdle(int delayValue) {
+ super.waitForIdle();
+ delay(delayValue);
+ }
+
+ /**
+ * Waits until all events currently on the event queue have been processed with delay
+ * {@link #getSyncDelay()} after syncing threads. It uses more advanced method of
+ * synchronizing threads unlike {@link java.awt.Robot#waitForIdle()}
+ *
+ * @throws sun.awt.SunToolkit.IllegalThreadException if called on the AWT event
+ * dispatching thread
+ *
+ * @see #waitForIdle(int)
+ */
+ @Override
+ public synchronized void waitForIdle() {
+ waitForIdle(syncDelay);
+ }
+
+ /**
+ * Move the mouse in multiple steps from where it is
+ * now to the destination coordinates.
+ *
+ * @param x Destination point x coordinate
+ * @param y Destination point y coordinate
+ *
+ * @see #glide(int, int, int, int)
+ */
+ public void glide(int x, int y) {
+ Point p = MouseInfo.getPointerInfo().getLocation();
+ glide(p.x, p.y, x, y);
+ }
+
+ /**
+ * Move the mouse in multiple steps from where it is
+ * now to the destination point.
+ *
+ * @param dest Destination point
+ *
+ * @see #glide(int, int)
+ */
+ public void glide(Point dest) {
+ glide(dest.x, dest.y);
+ }
+
+ /**
+ * Move the mouse in multiple steps from source coordinates
+ * to the destination coordinates.
+ *
+ * @param fromX Source point x coordinate
+ * @param fromY Source point y coordinate
+ * @param toX Destination point x coordinate
+ * @param toY Destination point y coordinate
+ *
+ * @see #glide(int, int, int, int, int, int)
+ */
+ public void glide(int fromX, int fromY, int toX, int toY) {
+ glide(fromX, fromY, toX, toY, DEFAULT_STEP_LENGTH, DEFAULT_SPEED);
+ }
+
+ /**
+ * Move the mouse in multiple steps from source point to the
+ * destination point with default speed and step length.
+ *
+ * @param src Source point
+ * @param dest Destination point
+ *
+ * @see #glide(int, int, int, int, int, int)
+ */
+ public void glide(Point src, Point dest) {
+ glide(src.x, src.y, dest.x, dest.y, DEFAULT_STEP_LENGTH, DEFAULT_SPEED);
+ }
+
+ /**
+ * Move the mouse in multiple steps from source point to the
+ * destination point with given speed and step length.
+ *
+ * @param srcX Source point x cordinate
+ * @param srcY Source point y cordinate
+ * @param destX Destination point x cordinate
+ * @param destY Destination point y cordinate
+ * @param stepLength Approximate length of one step
+ * @param speed Delay between steps.
+ *
+ * @see #mouseMove(int, int)
+ * @see #delay(int)
+ */
+ public void glide(int srcX, int srcY, int destX, int destY, int stepLength, int speed) {
+ int stepNum;
+ double tDx, tDy;
+ double dx, dy, ds;
+ double x, y;
+
+ dx = (destX - srcX);
+ dy = (destY - srcY);
+ ds = Math.sqrt(dx*dx + dy*dy);
+
+ tDx = dx / ds * stepLength;
+ tDy = dy / ds * stepLength;
+
+ int stepsCount = (int) ds / stepLength;
+
+ // Walk the mouse to the destination one step at a time
+ mouseMove(srcX, srcY);
+
+ for (x = srcX, y = srcY, stepNum = 0;
+ stepNum < stepsCount;
+ stepNum++) {
+ x += tDx;
+ y += tDy;
+ mouseMove((int)x, (int)y);
+ delay(speed);
+ }
+
+ // Ensure the mouse moves to the right destination.
+ // The steps may have led the mouse to a slightly wrong place.
+ mouseMove(destX, destY);
+ }
+
+ /**
+ * Moves mouse pointer to given screen coordinates.
+ *
+ * @param position Target position
+ *
+ * @see java.awt.Robot#mouseMove(int, int)
+ */
+ public synchronized void mouseMove(Point position) {
+ mouseMove(position.x, position.y);
+ }
+
+
+ /**
+ * Emulate native drag and drop process using {@code InputEvent.BUTTON1_DOWN_MASK}.
+ * The method successively moves mouse cursor to point with coordinates
+ * ({@code fromX}, {@code fromY}), presses mouse button 1, drag mouse to
+ * point with coordinates ({@code toX}, {@code toY}) and releases mouse
+ * button 1 at last.
+ *
+ * @param fromX Source point x coordinate
+ * @param fromY Source point y coordinate
+ * @param toX Destination point x coordinate
+ * @param toY Destination point y coordinate
+ *
+ * @see #mousePress(int)
+ * @see #glide(int, int, int, int)
+ */
+ public void dragAndDrop(int fromX, int fromY, int toX, int toY){
+ mouseMove(fromX, fromY);
+ mousePress(InputEvent.BUTTON1_DOWN_MASK);
+ waitForIdle();
+ glide(toX, toY);
+ mouseRelease(InputEvent.BUTTON1_DOWN_MASK);
+ waitForIdle();
+ }
+
+ /**
+ * Emulate native drag and drop process using {@code InputEvent.BUTTON1_DOWN_MASK}.
+ * The method successively moves mouse cursor to point {@code from},
+ * presses mouse button 1, drag mouse to point {@code to} and releases
+ * mouse button 1 at last.
+ *
+ * @param from Source point
+ * @param to Destination point
+ *
+ * @see #mousePress(int)
+ * @see #glide(int, int, int, int)
+ * @see #dragAndDrop(int, int, int, int)
+ */
+ public void dragAndDrop(Point from, Point to){
+ dragAndDrop(from.x, from.y, to.x, to.y);
+ }
+
+ /**
+ * Successively presses and releases a given key.
+ * <p>
+ * Key codes that have more than one physical key associated with them
+ * (e.g. {@code KeyEvent.VK_SHIFT} could mean either the
+ * left or right shift key) will map to the left key.
+ *
+ * @param keycode Key to press (e.g. {@code KeyEvent.VK_A})
+ * @throws IllegalArgumentException if {@code keycode} is not
+ * a valid key
+ *
+ * @see java.awt.Robot#keyPress(int)
+ * @see java.awt.Robot#keyRelease(int)
+ * @see java.awt.event.KeyEvent
+ */
+ public void type(int keycode) {
+ keyPress(keycode);
+ waitForIdle(DEFAULT_SPEED);
+ keyRelease(keycode);
+ waitForIdle(DEFAULT_SPEED);
+ }
+
+ /**
+ * Types given character
+ *
+ * @param c Character to be typed (e.g. {@code 'a'})
+ *
+ * @see #type(int)
+ * @see java.awt.event.KeyEvent
+ */
+ public void type(char c) {
+ type(KeyEvent.getExtendedKeyCodeForChar(c));
+ }
+
+ /**
+ * Types given array of characters one by one
+ *
+ * @param symbols Array of characters to be typed
+ *
+ * @see #type(char)
+ */
+ public void type(char[] symbols) {
+ for (int i = 0; i < symbols.length; i++) {
+ type(symbols[i]);
+ }
+ }
+
+ /**
+ * Types given string
+ *
+ * @param s String to be typed
+ *
+ * @see #type(char[])
+ */
+ public void type(String s) {
+ type(s.toCharArray());
+ }
+}
--- a/test/jdk/lib/testlibrary/ExtendedRobot.java Wed Nov 14 17:16:44 2018 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,408 +0,0 @@
-/*
- * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation. Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-import java.awt.AWTException;
-import java.awt.Robot;
-import java.awt.GraphicsDevice;
-import java.awt.Toolkit;
-import java.awt.Point;
-import java.awt.MouseInfo;
-import java.awt.event.InputEvent;
-import java.awt.event.KeyEvent;
-
-/**
- * ExtendedRobot is a subclass of {@link java.awt.Robot}. It provides some convenience methods that are
- * ought to be moved to {@link java.awt.Robot} class.
- * <p>
- * ExtendedRobot uses delay {@link #getSyncDelay()} to make syncing threads with {@link #waitForIdle()}
- * more stable. This delay can be set once on creating object and could not be changed throughout object
- * lifecycle. Constructor reads vm integer property {@code java.awt.robotdelay} and sets the delay value
- * equal to the property value. If the property was not set 500 milliseconds default value is used.
- * <p>
- * When using jtreg you would include this class via something like:
- * <pre>
- * {@literal @}library ../../../../lib/testlibrary
- * {@literal @}build ExtendedRobot
- * </pre>
- *
- * @author Dmitriy Ermashov
- * @since 9
- */
-
-public class ExtendedRobot extends Robot {
-
- private static int DEFAULT_SPEED = 20; // Speed for mouse glide and click
- private static int DEFAULT_SYNC_DELAY = 500; // Default Additional delay for waitForIdle()
- private static int DEFAULT_STEP_LENGTH = 2; // Step length (in pixels) for mouse glide
-
- private final int syncDelay = DEFAULT_SYNC_DELAY;
-
- //TODO: uncomment three lines below after moving functionality to java.awt.Robot
- //{
- // syncDelay = AccessController.doPrivileged(new GetIntegerAction("java.awt.robotdelay", DEFAULT_SYNC_DELAY));
- //}
-
- /**
- * Constructs an ExtendedRobot object in the coordinate system of the primary screen.
- *
- * @throws AWTException if the platform configuration does not allow low-level input
- * control. This exception is always thrown when
- * GraphicsEnvironment.isHeadless() returns true
- * @throws SecurityException if {@code createRobot} permission is not granted
- *
- * @see java.awt.GraphicsEnvironment#isHeadless
- * @see SecurityManager#checkPermission
- * @see java.awt.AWTPermission
- */
- public ExtendedRobot() throws AWTException {
- super();
- }
-
- /**
- * Creates an ExtendedRobot for the given screen device. Coordinates passed
- * to ExtendedRobot method calls like mouseMove and createScreenCapture will
- * be interpreted as being in the same coordinate system as the specified screen.
- * Note that depending on the platform configuration, multiple screens may either:
- * <ul>
- * <li>share the same coordinate system to form a combined virtual screen</li>
- * <li>use different coordinate systems to act as independent screens</li>
- * </ul>
- * This constructor is meant for the latter case.
- * <p>
- * If screen devices are reconfigured such that the coordinate system is
- * affected, the behavior of existing ExtendedRobot objects is undefined.
- *
- * @param screen A screen GraphicsDevice indicating the coordinate
- * system the Robot will operate in.
- * @throws AWTException if the platform configuration does not allow low-level input
- * control. This exception is always thrown when
- * GraphicsEnvironment.isHeadless() returns true.
- * @throws IllegalArgumentException if {@code screen} is not a screen
- * GraphicsDevice.
- * @throws SecurityException if {@code createRobot} permission is not granted
- *
- * @see java.awt.GraphicsEnvironment#isHeadless
- * @see GraphicsDevice
- * @see SecurityManager#checkPermission
- * @see java.awt.AWTPermission
- */
- public ExtendedRobot(GraphicsDevice screen) throws AWTException {
- super(screen);
- }
-
- /**
- * Returns delay length for {@link #waitForIdle()} method
- *
- * @return Current delay value
- *
- * @see #waitForIdle()
- */
- public int getSyncDelay(){ return this.syncDelay; }
-
- /**
- * Clicks mouse button(s) by calling {@link java.awt.Robot#mousePress(int)} and
- * {@link java.awt.Robot#mouseRelease(int)} methods
- *
- *
- * @param buttons The button mask; a combination of one or more mouse button masks.
- * @throws IllegalArgumentException if the {@code buttons} mask contains the mask for
- * extra mouse button and support for extended mouse buttons is
- * {@link Toolkit#areExtraMouseButtonsEnabled() disabled} by Java
- * @throws IllegalArgumentException if the {@code buttons} mask contains the mask for
- * extra mouse button that does not exist on the mouse and support for extended
- * mouse buttons is {@link Toolkit#areExtraMouseButtonsEnabled() enabled}
- * by Java
- *
- * @see #mousePress(int)
- * @see #mouseRelease(int)
- * @see InputEvent#getMaskForButton(int)
- * @see Toolkit#areExtraMouseButtonsEnabled()
- * @see java.awt.event.MouseEvent
- */
- public void click(int buttons) {
- mousePress(buttons);
- waitForIdle(DEFAULT_SPEED);
- mouseRelease(buttons);
- waitForIdle();
- }
-
- /**
- * Clicks mouse button 1
- *
- * @throws IllegalArgumentException if the {@code buttons} mask contains the mask for
- * extra mouse button and support for extended mouse buttons is
- * {@link Toolkit#areExtraMouseButtonsEnabled() disabled} by Java
- * @throws IllegalArgumentException if the {@code buttons} mask contains the mask for
- * extra mouse button that does not exist on the mouse and support for extended
- * mouse buttons is {@link Toolkit#areExtraMouseButtonsEnabled() enabled}
- * by Java
- *
- * @see #click(int)
- */
- public void click() {
- click(InputEvent.BUTTON1_DOWN_MASK);
- }
-
- /**
- * Waits until all events currently on the event queue have been processed with given
- * delay after syncing threads. It uses more advanced method of synchronizing threads
- * unlike {@link java.awt.Robot#waitForIdle()}
- *
- * @param delayValue Additional delay length in milliseconds to wait until thread
- * sync been completed
- * @throws sun.awt.SunToolkit.IllegalThreadException if called on the AWT event
- * dispatching thread
- */
- public synchronized void waitForIdle(int delayValue) {
- super.waitForIdle();
- delay(delayValue);
- }
-
- /**
- * Waits until all events currently on the event queue have been processed with delay
- * {@link #getSyncDelay()} after syncing threads. It uses more advanced method of
- * synchronizing threads unlike {@link java.awt.Robot#waitForIdle()}
- *
- * @throws sun.awt.SunToolkit.IllegalThreadException if called on the AWT event
- * dispatching thread
- *
- * @see #waitForIdle(int)
- */
- @Override
- public synchronized void waitForIdle() {
- waitForIdle(syncDelay);
- }
-
- /**
- * Move the mouse in multiple steps from where it is
- * now to the destination coordinates.
- *
- * @param x Destination point x coordinate
- * @param y Destination point y coordinate
- *
- * @see #glide(int, int, int, int)
- */
- public void glide(int x, int y) {
- Point p = MouseInfo.getPointerInfo().getLocation();
- glide(p.x, p.y, x, y);
- }
-
- /**
- * Move the mouse in multiple steps from where it is
- * now to the destination point.
- *
- * @param dest Destination point
- *
- * @see #glide(int, int)
- */
- public void glide(Point dest) {
- glide(dest.x, dest.y);
- }
-
- /**
- * Move the mouse in multiple steps from source coordinates
- * to the destination coordinates.
- *
- * @param fromX Source point x coordinate
- * @param fromY Source point y coordinate
- * @param toX Destination point x coordinate
- * @param toY Destination point y coordinate
- *
- * @see #glide(int, int, int, int, int, int)
- */
- public void glide(int fromX, int fromY, int toX, int toY) {
- glide(fromX, fromY, toX, toY, DEFAULT_STEP_LENGTH, DEFAULT_SPEED);
- }
-
- /**
- * Move the mouse in multiple steps from source point to the
- * destination point with default speed and step length.
- *
- * @param src Source point
- * @param dest Destination point
- *
- * @see #glide(int, int, int, int, int, int)
- */
- public void glide(Point src, Point dest) {
- glide(src.x, src.y, dest.x, dest.y, DEFAULT_STEP_LENGTH, DEFAULT_SPEED);
- }
-
- /**
- * Move the mouse in multiple steps from source point to the
- * destination point with given speed and step length.
- *
- * @param srcX Source point x cordinate
- * @param srcY Source point y cordinate
- * @param destX Destination point x cordinate
- * @param destY Destination point y cordinate
- * @param stepLength Approximate length of one step
- * @param speed Delay between steps.
- *
- * @see #mouseMove(int, int)
- * @see #delay(int)
- */
- public void glide(int srcX, int srcY, int destX, int destY, int stepLength, int speed) {
- int stepNum;
- double tDx, tDy;
- double dx, dy, ds;
- double x, y;
-
- dx = (destX - srcX);
- dy = (destY - srcY);
- ds = Math.sqrt(dx*dx + dy*dy);
-
- tDx = dx / ds * stepLength;
- tDy = dy / ds * stepLength;
-
- int stepsCount = (int) ds / stepLength;
-
- // Walk the mouse to the destination one step at a time
- mouseMove(srcX, srcY);
-
- for (x = srcX, y = srcY, stepNum = 0;
- stepNum < stepsCount;
- stepNum++) {
- x += tDx;
- y += tDy;
- mouseMove((int)x, (int)y);
- delay(speed);
- }
-
- // Ensure the mouse moves to the right destination.
- // The steps may have led the mouse to a slightly wrong place.
- mouseMove(destX, destY);
- }
-
- /**
- * Moves mouse pointer to given screen coordinates.
- *
- * @param position Target position
- *
- * @see java.awt.Robot#mouseMove(int, int)
- */
- public synchronized void mouseMove(Point position) {
- mouseMove(position.x, position.y);
- }
-
-
- /**
- * Emulate native drag and drop process using {@code InputEvent.BUTTON1_DOWN_MASK}.
- * The method successively moves mouse cursor to point with coordinates
- * ({@code fromX}, {@code fromY}), presses mouse button 1, drag mouse to
- * point with coordinates ({@code toX}, {@code toY}) and releases mouse
- * button 1 at last.
- *
- * @param fromX Source point x coordinate
- * @param fromY Source point y coordinate
- * @param toX Destination point x coordinate
- * @param toY Destination point y coordinate
- *
- * @see #mousePress(int)
- * @see #glide(int, int, int, int)
- */
- public void dragAndDrop(int fromX, int fromY, int toX, int toY){
- mouseMove(fromX, fromY);
- mousePress(InputEvent.BUTTON1_DOWN_MASK);
- waitForIdle();
- glide(toX, toY);
- mouseRelease(InputEvent.BUTTON1_DOWN_MASK);
- waitForIdle();
- }
-
- /**
- * Emulate native drag and drop process using {@code InputEvent.BUTTON1_DOWN_MASK}.
- * The method successively moves mouse cursor to point {@code from},
- * presses mouse button 1, drag mouse to point {@code to} and releases
- * mouse button 1 at last.
- *
- * @param from Source point
- * @param to Destination point
- *
- * @see #mousePress(int)
- * @see #glide(int, int, int, int)
- * @see #dragAndDrop(int, int, int, int)
- */
- public void dragAndDrop(Point from, Point to){
- dragAndDrop(from.x, from.y, to.x, to.y);
- }
-
- /**
- * Successively presses and releases a given key.
- * <p>
- * Key codes that have more than one physical key associated with them
- * (e.g. {@code KeyEvent.VK_SHIFT} could mean either the
- * left or right shift key) will map to the left key.
- *
- * @param keycode Key to press (e.g. {@code KeyEvent.VK_A})
- * @throws IllegalArgumentException if {@code keycode} is not
- * a valid key
- *
- * @see java.awt.Robot#keyPress(int)
- * @see java.awt.Robot#keyRelease(int)
- * @see java.awt.event.KeyEvent
- */
- public void type(int keycode) {
- keyPress(keycode);
- waitForIdle(DEFAULT_SPEED);
- keyRelease(keycode);
- waitForIdle(DEFAULT_SPEED);
- }
-
- /**
- * Types given character
- *
- * @param c Character to be typed (e.g. {@code 'a'})
- *
- * @see #type(int)
- * @see java.awt.event.KeyEvent
- */
- public void type(char c) {
- type(KeyEvent.getExtendedKeyCodeForChar(c));
- }
-
- /**
- * Types given array of characters one by one
- *
- * @param symbols Array of characters to be typed
- *
- * @see #type(char)
- */
- public void type(char[] symbols) {
- for (int i = 0; i < symbols.length; i++) {
- type(symbols[i]);
- }
- }
-
- /**
- * Types given string
- *
- * @param s String to be typed
- *
- * @see #type(char[])
- */
- public void type(String s) {
- type(s.toCharArray());
- }
-}