[java-gnome-hackers] null constant?
Brought to you by:
afcowie
From: Andrew C. <an...@op...> - 2010-09-17 00:03:38
|
https://bugzilla.gnome.org/show_bug.cgi?id=629852 I wrote there, ...this is only a problem if you don't have the "left_ptr_watch" named cursor in your cursor theme. I don't know why you wouldn't, but obviously you don't, and we should probably be robust against such a case. We can change the code to initialize that constant to Java null if it's not found. Is that acceptable? I'm not sure. Maybe this is a special case, but *nowhere* else in java-gnome is one of the constant fields null (!) - they're all initialized to Constant Objects. I have a patch that does this, but I wanted to ask what people think about Cursor.WORKING being null sometimes. That strikes me as freaky. AfC Sydney -- Andrew Frederick Cowie Operational Dynamics is an operations and engineering consultancy focusing on IT strategy, organizational architecture, systems review, and effective procedures for change management: enabling successful deployment of mission critical information technology in enterprises, worldwide. http://www.operationaldynamics.com/ Sydney New York Toronto London |