Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Defer Client.setOnEvt call

未关闭
#57 0 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@emilianbold 已经在做这个了。

开始于 2021年4月5日。

评估

这个 Issue 还没有评估数据。

描述

ux

I encountered once a brief event queue lock due to this call:

"AWT-EventQueue-0" #23 prio=6 os_prio=31 cpu=7802.37ms elapsed=74.63s tid=0x00007fbd95a63800 nid=0x10b03 waiting for monitor entry  [0x000070000f791000]
   java.lang.Thread.State: BLOCKED (on object monitor)
at io.foojay.support.Client.setOnEvt(Client.java:79)
- waiting to lock <0x000000070d650138> (a io.foojay.support.Client)
at io.foojay.support.DownloadPanel.addNotify(DownloadPanel.java:73)
at java.awt.Container.addImpl([email protected]/Container.java:1146)
- locked <0x0000000700b48f70> (a java.awt.Component$AWTTreeLock)
at java.awt.Container.add([email protected]/Container.java:997)
at org.openide.WizardDescriptor$WizardPanel.setRightComponent(WizardDescriptor.java:2998)

So, Client.setOnEvt should either use another thread or defer those listener registrations until the class is instantiated (just like a TODO there mentions).

主要语言
Java
星标
2
派生
0
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

foojayio/nbplugin2 的其他 Issue

查看 foojayio/nbplugin2 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。