Skip to content

Conversation

@skodanda
Copy link
Contributor

@skodanda skodanda commented Dec 23, 2020

Hi All, Could you please review this fix for JDK16?

Problem Description: The test open/test/jdk/javax/swing/JMenuItem/8031573/bug8031573.java is applet based.

Fix: Rewritten the above applet based test to a regular java test.

Best Regards,
K Suman Rajkumaar


Progress

  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • Change must be properly reviewed

Issue

  • JDK-8258884: [TEST_BUG] Convert applet-based test open/test/jdk/javax/swing/JMenuItem/8031573/bug8031573.java to a regular java test

Reviewers

Download

$ git fetch https://git.openjdk.java.net/jdk pull/1878/head:pull/1878
$ git checkout pull/1878

@bridgekeeper
Copy link

bridgekeeper bot commented Dec 23, 2020

👋 Welcome back skodanda! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk openjdk bot added the rfr Pull request is ready for review label Dec 23, 2020
@openjdk
Copy link

openjdk bot commented Dec 23, 2020

@skodanda The following label will be automatically applied to this pull request:

  • swing

When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command.

@openjdk openjdk bot added the swing client-libs-dev@openjdk.org label Dec 23, 2020
@mlbridge
Copy link

mlbridge bot commented Dec 23, 2020

Webrevs

Corrected the jtreg tag from @run main bug8031573 to @run main/manual bug8031573 to make this test as a manual test.
@aivanov-jdk
Copy link
Member

You should remove the HTML which hosts the applet.

passed = false;
latch.countDown();
frame.dispose();
throw new RuntimeException("Test Failed!");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Throwing the exception on EDT is redundant and does not make the test fail; moreover you throw the exception in main() if passed is false.

Updated with another set of review comments from Alexey.
@openjdk
Copy link

openjdk bot commented Jan 6, 2021

@skodanda This change now passes all automated pre-integration checks.

ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details.

After integration, the commit message for the final commit will be:

8258884: [TEST_BUG] Convert applet-based test open/test/jdk/javax/swing/JMenuItem/8031573/bug8031573.java to a regular java test

Reviewed-by: aivanov, serb

You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed.

At the time when this comment was updated there had been 652 new commits pushed to the master branch:

  • 2c8e337: 8259622: TreeMap.computeIfAbsent deviates from spec
  • d701bab: Merge
  • 4307fa6: 8253505: JFR: onFlush invoked out of order with a sorted event stream
  • 0148adf: 8255120: C2: assert(outer->outcnt() >= phis + 2 && outer->outcnt() <= phis + 2 + stores + 1) failed: only phis
  • 90960c5: 8252657: JVMTI agent is not unloaded when Agent_OnAttach is failed
  • e3b548a: 8257736: InputStream from BodyPublishers.ofInputStream() leaks when IOE happens
  • 978bed6: 8259522: Apply java.io.Serial annotations in java.desktop
  • bf28f92: 8259713: Fix comments about ResetNoHandleMark in deoptimization
  • 4f881ba: 8258652: Assert in JvmtiThreadState::cur_stack_depth() can noticeably slow down debugging single stepping
  • d18d26e: 8259350: Add some internal debugging APIs to the debug agent
  • ... and 642 more: https://git.openjdk.java.net/jdk/compare/f2f3ba92d78da6af3bf7e379cad436bdfa3d29bc...master

As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.

As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@aivanov-jdk, @mrserb) but any other Committer may sponsor as well.

➡️ To flag this PR as ready for integration with the above commit message, type /integrate in a new comment. (Afterwards, your sponsor types /sponsor in a new comment to perform the integration).

@openjdk openjdk bot added the ready Pull request is ready to be integrated label Jan 6, 2021
@prrace
Copy link
Contributor

prrace commented Jan 6, 2021

"Hi All, Could you please review this fix for JDK16?"
This is for JDK 17, not JDK 16, right ? I can't imagine why it would be for 16 at this juncture ..

@aivanov-jdk
Copy link
Member

"Hi All, Could you please review this fix for JDK16?"
This is for JDK 17, not JDK 16, right ? I can't imagine why it would be for 16 at this juncture ..

No, it's not meant for JDK 16 — it's for jdk-dev, the main development line which is JDK 17 at this very moment.

@skodanda
Copy link
Contributor Author

/review-requested

@skodanda
Copy link
Contributor Author

Dear Phil/Sergey,

I have taken care of the review comments. Please have a look.

Best Regards,
K Suman Rajkumaar

@skodanda
Copy link
Contributor Author

/integrate

@openjdk openjdk bot added the sponsor Pull request is ready to be sponsored label Jan 15, 2021
@openjdk
Copy link

openjdk bot commented Jan 15, 2021

@skodanda
Your change (at version b51bf3b) is now ready to be sponsored by a Committer.

@aivanov-jdk
Copy link
Member

/sponsor

@openjdk openjdk bot closed this Jan 15, 2021
@openjdk openjdk bot added integrated Pull request has been integrated and removed sponsor Pull request is ready to be sponsored ready Pull request is ready to be integrated rfr Pull request is ready for review labels Jan 15, 2021
@openjdk
Copy link

openjdk bot commented Jan 15, 2021

@aivanov-jdk @skodanda Since your change was applied there have been 653 commits pushed to the master branch:

  • 6d4a593: 8259627: Potential memory leaks in JVMTI after JDK-8227745
  • 2c8e337: 8259622: TreeMap.computeIfAbsent deviates from spec
  • d701bab: Merge
  • 4307fa6: 8253505: JFR: onFlush invoked out of order with a sorted event stream
  • 0148adf: 8255120: C2: assert(outer->outcnt() >= phis + 2 && outer->outcnt() <= phis + 2 + stores + 1) failed: only phis
  • 90960c5: 8252657: JVMTI agent is not unloaded when Agent_OnAttach is failed
  • e3b548a: 8257736: InputStream from BodyPublishers.ofInputStream() leaks when IOE happens
  • 978bed6: 8259522: Apply java.io.Serial annotations in java.desktop
  • bf28f92: 8259713: Fix comments about ResetNoHandleMark in deoptimization
  • 4f881ba: 8258652: Assert in JvmtiThreadState::cur_stack_depth() can noticeably slow down debugging single stepping
  • ... and 643 more: https://git.openjdk.java.net/jdk/compare/f2f3ba92d78da6af3bf7e379cad436bdfa3d29bc...master

Your commit was automatically rebased without conflicts.

Pushed as commit b01a15e.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

integrated Pull request has been integrated swing client-libs-dev@openjdk.org

Development

Successfully merging this pull request may close these issues.

4 participants