cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <>
Subject [jira] [Resolved] (CASSANDRA-5611) OS X puts an icon for Cassandra in the dock
Date Wed, 05 Jun 2013 03:39:21 GMT


Aleksey Yeschenko resolved CASSANDRA-5611.

    Resolution: Not A Problem

Yeah. It's not Java version. It's presence or absence of JNA.

With JNA (3.5.1) an icon in the dock is always created, both when running ant test and simply
starting Cassandra. Without JNA (3.5.1) nothing happens.

And this seems to have been fixed in JNA 3.5.2 (no more icon in the dock) - I believe this
is the relevant change: 'Remove problematic AWT check via Class.forName("java.awt.Component")'.
> OS X puts an icon for Cassandra in the dock
> -------------------------------------------
>                 Key: CASSANDRA-5611
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>    Affects Versions: 1.1.12, 1.2.5, 2.0
>         Environment: OS X, JDK 1.7
>            Reporter: Aleksey Yeschenko
>            Priority: Trivial
> "Even when a Java program doesn't display any windows or other visible elements, if it
accesses the AWT subsystem in some way (e.g., to do image processing internally), OS X will
still put an icon for the Java program in the dock as if it were a GUI-based app. (When the
program quits, the dock icon goes away as usual.)"
> (more details at
> Can't remember when it started happening, but it wasn't always the case for Cassandra.
Now launching Cassandra puts an icon in the dock, and, worse, running ant test puts an icon
in the dock for each test, stealing focus, too. This is extremely annoying.
> I ninja-d a workaround (-Djava.awt.headless=true) for ant test in 99824496aa359fcbe5e71f4e54f2738f09524a87,
but we should try and find the real source of this (my guess is that some dependency of ours
is to blame).

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message