Thread-topic: Changing permissions on system files
-----Original Message-----
From: java-dev-bounces+eric.kolotyluk=email@hidden
[mailto:java-dev-bounces+eric.kolotyluk=email@hidden] On
Behalf Of Greg Guerin
Sent: Saturday, January 28, 2006 4:36 PM
To: email@hidden
Subject: 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.
[Eric Kolotyluk] I was just thinking about this on the weekend. I
thought I would print all the system properties, then list all the font
directories.
-- 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
m
This email sent to email@hidden
_______________________________________________
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