--- old/src/java.desktop/macosx/classes/sun/lwawt/macosx/CRobot.java 2020-02-18 23:06:56.000000000 -0800 +++ new/src/java.desktop/macosx/classes/sun/lwawt/macosx/CRobot.java 2020-02-18 23:06:54.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -27,7 +27,6 @@ import java.awt.Point; import java.awt.Rectangle; -import java.awt.Robot; import java.awt.peer.RobotPeer; import sun.awt.CGraphicsDevice; @@ -49,7 +48,7 @@ * Uses the given GraphicsDevice as the coordinate system for subsequent * coordinate calls. */ - public CRobot(Robot r, CGraphicsDevice d) { + CRobot(CGraphicsDevice d) { fDevice = d; initRobot(); }