Fernando Meyer

About Java 6 and Leopard

Saturday 21 June 2008

I just updated my MBP to the latest Apple’s OS 10 ( leopard ) the system is good, few eye-candies updates, although was a bit disappointing don’t see java6 around ( they removed the early beta version from ADC as well, so, don’t waste your time looking for it).

Apple, I don’t care about java6 for now you can delay it until you make it good. BUT… man when you delivery something with your OperatingSystem make sure that this thing works, I got really angry with a BUGGED java5 version, the exactly version is

java version "1.5.0_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-237)
Java HotSpot(TM) Client VM (build 1.5.0_13-119, mixed mode, sharing)

This bug looks like its deep inside Apple’s windowing toolkit implementation as you can see in the following stack trace

Exception in thread “AWT-EventQueue-0″ java.lang.NullPointerException
at apple.awt.CGraphicsEnvironment.displayChanged(CGraphicsEnvironment.java:65)
Invalid memory access of location 00000000 eip=00000000
at apple.awt.CToolkit$4.run(CToolkit.java:1259)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.j

ava:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java>

A guy from GWT dev list submitted a bug report to Apple: Problem ID 5563333 - “CGraphicsEnvironment NullPointerException breaks continually on OsX 10.5″, so engineers and QA move your asses and get this thing done, because you are affecting my work and some more guys around the world.

follow me on Twitter

This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.