--- a/jdk/src/macosx/classes/sun/lwawt/LWToolkit.java Mon Sep 24 18:24:30 2012 +0400
+++ b/jdk/src/macosx/classes/sun/lwawt/LWToolkit.java Mon Sep 24 21:33:41 2012 +0400
@@ -310,7 +310,7 @@
@Override
public CanvasPeer createCanvas(Canvas target) {
PlatformComponent platformComponent = createPlatformComponent();
- LWCanvasPeer peer = new LWCanvasPeer(target, platformComponent);
+ LWCanvasPeer<?, ?> peer = new LWCanvasPeer<>(target, platformComponent);
targetCreatedPeer(target, peer);
peer.initialize();
return peer;