jdk/src/macosx/classes/sun/lwawt/LWToolkit.java
changeset 13993 8b3fe3d8badb
parent 13648 90effcfc064f
child 14753 a56a685d137f
--- 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;