Testing JDK7 build on Solaris [1], seeing this stack trace below in Tomcat's log file when trying to create content handler for "image/gif" mime type on solaris with jdk7 build:
java.lang.NoSuchMethodError: resetGC
at java.awt.Component.initIDs(Native Method)
at java.awt.Component.<clinit>(Component.java:591)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:531)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
at javax.activation.MailcapCommandMap.getDataContentHandler(MailcapCommandMap.java:596)
at javax.activation.MailcapCommandMap.createDataContentHandler(MailcapCommandMap.java:550)
at javax.activation.CommandMap.createDataContentHandler(CommandMap.java:206)
at javax.activation.DataHandler.getDataContentHandler(DataHandler.java:609)
at javax.activation.DataHandler.getContent(DataHandler.java:537)
at com.sun.xml.internal.messaging.saaj.soap.AttachmentPartImpl.getContent(AttachmentPartImpl.java:196)
at test.saaj.sync.multiattach11.ReceivingServlet.onMessage(ReceivingServlet.java:231)
Problem maybe platform specific, since it was not seen on Windows in awt package. Other platforms JDK7 binaries are located at [2].
[1]http://javaweb.sfbay.sun.com/~rp146011/jdk/jdk7-jaxws22-jprt/solaris_sparc_5.10-product.zip
[2]http://javaweb.sfbay.sun.com/~rp146011/jdk/jdk7-jaxws22-jprt/