Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #9117 > unrolled thread

Java app: Thread name displayed in GNOME3 task list

Started byFelix Natter <fnatter@gmx.net>
First post2016-05-19 21:30 +0200
Last post2018-03-27 20:00 +0200
Articles 4 — 2 participants

Back to article view | Back to linux.debian.maint.java


Contents

  Java app: Thread name displayed in GNOME3 task list Felix Natter <fnatter@gmx.net> - 2016-05-19 21:30 +0200
    Re: Java app: Thread name displayed in GNOME3 task list Emmanuel Bourg <ebourg@apache.org> - 2016-05-19 21:50 +0200
      Re: Java app: Thread name displayed in GNOME3 task list Felix Natter <fnatter@gmx.net> - 2016-05-20 21:00 +0200
      Re: Java app: Thread name displayed in GNOME3 task list Felix Natter <fnatter@gmx.net> - 2018-03-27 20:00 +0200

#9117 — Java app: Thread name displayed in GNOME3 task list

FromFelix Natter <fnatter@gmx.net>
Date2016-05-19 21:30 +0200
SubjectJava app: Thread name displayed in GNOME3 task list
Message-ID<rABNT-3Uc-13@gated-at.bofh.it>
hello d-java,

I notice that when running Swing apps on GNOME3, then a thread name
instead of an application name is displayed:

- freeplane 1.3.15 on jessie: java-lang-Thread
- freeplane 1.5.9 on unstable: org-knopflerfish-framework-BundleThread
- triplea on unstable: games-strategy-engine-framework-GameRunner
- ...

Does anyone have a solution for this? There is some discussion [1],
but it seems without a solution.
[1]
https://www.bountysource.com/issues/7713930-window-title-is-java-lang-thread-instead-of-actual-application-name

Can this possibly be solved on a GNOME level?

Thanks and Best Regards,
-- 
Felix Natter

[toc] | [next] | [standalone]


#9118

FromEmmanuel Bourg <ebourg@apache.org>
Date2016-05-19 21:50 +0200
Message-ID<rAC7f-44O-1@gated-at.bofh.it>
In reply to#9117
Le 19/05/2016 à 21:23, Felix Natter a écrit :

> Does anyone have a solution for this? There is some discussion [1],
> but it seems without a solution.
> [1]
> https://www.bountysource.com/issues/7713930-window-title-is-java-lang-thread-instead-of-actual-application-name
> 
> Can this possibly be solved on a GNOME level?

Interesting, I wasn't aware of this issue. This looks more like a JDK
bug. Did you see the workaround implemented in Netbeans?

https://netbeans.org/bugzilla/attachment.cgi?id=119183&action=diff
https://netbeans.org/bugzilla/show_bug.cgi?id=183739
http://bugs.java.com/bugdatabase/view_bug.do?bug_id=6528430

Emmanuel Bourg

[toc] | [prev] | [next] | [standalone]


#9121

FromFelix Natter <fnatter@gmx.net>
Date2016-05-20 21:00 +0200
Message-ID<rAXOp-V0-9@gated-at.bofh.it>
In reply to#9118
Emmanuel Bourg <ebourg@apache.org> writes:

hi Emmanuel,

> Le 19/05/2016 à 21:23, Felix Natter a écrit :
>
>> Does anyone have a solution for this? There is some discussion [1],
>> but it seems without a solution.
>> [1]
>> https://www.bountysource.com/issues/7713930-window-title-is-java-lang-thread-instead-of-actual-application-name
>> 
>> Can this possibly be solved on a GNOME level?
>
> Interesting, I wasn't aware of this issue. This looks more like a JDK
> bug. Did you see the workaround implemented in Netbeans?
>
> https://netbeans.org/bugzilla/attachment.cgi?id=119183&action=diff
> https://netbeans.org/bugzilla/show_bug.cgi?id=183739
> http://bugs.java.com/bugdatabase/view_bug.do?bug_id=6528430

This works, thanks.

Cheers and Best Regards,
-- 
Felix Natter

[toc] | [prev] | [next] | [standalone]


#10384

FromFelix Natter <fnatter@gmx.net>
Date2018-03-27 20:00 +0200
Message-ID<vy134-7tp-11@gated-at.bofh.it>
In reply to#9118
Emmanuel Bourg <ebourg@apache.org> writes:

> Le 19/05/2016 à 21:23, Felix Natter a écrit :

hello Debian-java,

>> Does anyone have a solution for this? There is some discussion [1],
>> but it seems without a solution.
>> [1]
>> https://www.bountysource.com/issues/7713930-window-title-is-java-lang-thread-instead-of-actual-application-name
>> 
>> Can this possibly be solved on a GNOME level?
>
> Interesting, I wasn't aware of this issue. This looks more like a JDK
> bug. Did you see the workaround implemented in Netbeans?
>
> https://netbeans.org/bugzilla/attachment.cgi?id=119183&action=diff
> https://netbeans.org/bugzilla/show_bug.cgi?id=183739
> http://bugs.java.com/bugdatabase/view_bug.do?bug_id=6528430

Unfortunately this will not continue to work, as I'm seeing this on sid
(even already with java8):

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.freeplane.launcher.Launcher (file:/usr/share/freeplane/freeplanelauncher.jar) to field sun.awt.X11.XToolkit.awtAppClassName
WARNING: Please consider reporting this to the maintainers of org.freeplane.launcher.Launcher
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

Does someone have a way to fix this? Shall I report an OpenJDK or GNOME3 bug?

Thanks and Best Regards,
-- 
Felix Natter
debian/rules!

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.java


csiph-web