Error message: 'CGContextErase' is obsolete

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Error message: 'CGContextErase' is obsolete

LCPalmer
Hi all,

Can you help with the following issue? I get an error message on running Fiji from a command line (Mac OS 10.9.1):

ImageJ-macosx[9802] <Error>: The function `CGContextErase' is obsolete and will be removed in an upcoming update. Unfortunately, this application, or a library it uses, is using this obsolete function, and is thereby contributing to an overall degradation of system performance.

There is a discussion on the Fiji developer list from November but it says the issue was resolved in ImageJ 1.48i, while my Fiji reports it is using ImageJ 1.48q. (https://groups.google.com/forum/#!msg/fiji-devel/cLtV3sbI2v0/qYGzfwkyOKgJ)

Should I post there (although I am not a Java developer, and am not on that mailing list- not sure if I can)?

Thank you for any assistance,
Linda
Reply | Threaded
Open this post in threaded view
|

Re: Error message: 'CGContextErase' is obsolete

dscho
Hi Linda,

On Tue, 18 Feb 2014, LCPalmer wrote:

> I get an error message on running Fiji from a command line (Mac OS
> 10.9.1):
>
> ImageJ-macosx[9802] <Error>: The function `CGContextErase' is obsolete and
> will be removed in an upcoming update. Unfortunately, this application, or a
> library it uses, is using this obsolete function, and is thereby
> contributing to an overall degradation of system performance.

We are not using that function directly, I suspect Java 6 to be
responsible.

The ImageJ launcher is already able to use Java 7, although it requires
manual steps. The reason is that we want to support as wide a range of
applications as possible with the ImageJ launcher, including ImageJ 1.x,
ImageJ2 and Fiji. It is the latter with its 3D Viewer that is the hold-up:
we will have to add a completely new Java3D stack to the fray and support
that in addition to the old one.

If you want to test whether that fixes the warning (it is not really an
error, Fiji still runs, right?) I will whip up a .dmg for you to test.

Ciao,
Johannes

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html