--- a/jdk/src/share/classes/javax/swing/JOptionPane.java Fri Apr 04 20:32:59 2008 +0400
+++ b/jdk/src/share/classes/javax/swing/JOptionPane.java Mon Apr 07 14:53:51 2008 +0400
@@ -1512,7 +1512,7 @@
iFrame.putClientProperty("JInternalFrame.frameType", "optionDialog");
iFrame.putClientProperty("JInternalFrame.messageType",
- new Integer(getMessageType()));
+ Integer.valueOf(getMessageType()));
iFrame.addInternalFrameListener(new InternalFrameAdapter() {
public void internalFrameClosing(InternalFrameEvent e) {