Re: RFR: 8270312: Error: Not a test or directory containing tests: java/awt/print/PrinterJob/XparColor.java [v3]

2021-08-10 Thread Prasanta Sadhukhan
On Fri, 6 Aug 2021 15:17:48 GMT, lawrence.andrews wrote: >> 1) This testcase was throwing error saying Error: Not a test or directory >> containing tests: java/awt/print/PrinterJob/XparColor.java >> 2) Added @test tag so that this testcase can be run >> 3) Since Applet is deprecated and its

RFR: 8267161 : Write automated test case for JDK-4479161

2021-08-10 Thread lawrence . andrews
1) Automated the manual test case. 2) Removed html dependent file 3) Removed javax.swing.JApplet dependent. 4) Test case can be executed independently as well with jtreg framework. 5) Added methods to know that JFrame and Other component is visible before starting the user action via Robot.

Re: RFR: 8267161 : Write automated test case for JDK-4479161

2021-08-10 Thread lawrence . andrews
On Mon, 9 Aug 2021 18:36:07 GMT, lawrence.andrews wrote: > 1) Automated the manual test case. > 2) Removed html dependent file > 3) Removed javax.swing.JApplet dependent. > 4) Test case can be executed independently as well with jtreg framework. > 5) Added methods to know that JFrame and Other

Re: RFR: 8267161 : Write automated test case for JDK-4479161

2021-08-10 Thread Sergey Bylokhov
On Mon, 9 Aug 2021 18:36:07 GMT, lawrence.andrews wrote: > 1) Automated the manual test case. > 2) Removed html dependent file > 3) Removed javax.swing.JApplet dependent. > 4) Test case can be executed independently as well with jtreg framework. > 5) Added methods to know that JFrame and Other

Re: RFR: 8270312: Error: Not a test or directory containing tests: java/awt/print/PrinterJob/XparColor.java [v3]

2021-08-10 Thread Jayathirth D V
On Fri, 6 Aug 2021 15:17:48 GMT, lawrence.andrews wrote: >> 1) This testcase was throwing error saying Error: Not a test or directory >> containing tests: java/awt/print/PrinterJob/XparColor.java >> 2) Added @test tag so that this testcase can be run >> 3) Since Applet is deprecated and its

Integrated: 8269130: Replace usages of Collection.toArray() with Collection.toArray(T[]) to avoid redundant array copying

2021-08-10 Thread Andrey Turbanov
On Mon, 14 Jun 2021 17:00:29 GMT, Andrey Turbanov wrote: > I found few places, where code initially perform `Object[] > Colleciton.toArray()` call and then manually copy array into another array > with required type. > This PR cleanups such places to more shorter call `T[] >