Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing permissions on system files



Eric Kolotyluk wrote:

>Have you confirmed that installing Helvetica there actually prevents
>crashes?
>[Eric Kolotyluk] Not myself, but according to our service people it
>cures the problem.

Great!  I really didn't expect that.  It's like finding extra cheese at the
end of the maze.


>[Eric Kolotyluk] Oooh, good point, I never thought of that before. I've
>tried several times, with my own Macintosh, to cause our Java
>application to crash by removing fonts from the various directories in
>the system, but haven't been successful yet. I don't know if it's the
>version of the OS or the version of Java. I've tried to get more
>information about our customer's systems when there's a problem, but
>none of our customers seem interested in helping and our service people
>don't want to push the issue.

How practical is it to add a little diagnostic code to your app?

It should at least write the OS and JVM versions in a brief user-specific
text file, which you can then ask customers to email you when they
experience a crash.  You can maybe write some other info, too, like a
date/time stamp, but shorter is definitely better.  Write the diag-file in
a directory that's cleaned out regularly, and it won't become a left-over
nuisance, either.

Or if you're using the java.util.prefs API, write a diagnostic Preferences
node, then have customers email you the app's .plist file from their
Preferences folder after a crash.

  -- GG


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.