--- old/src/org/netbeans/jemmy/ComponentChooser.java 2018-01-31 23:08:02.535471618 -0800 +++ new/src/org/netbeans/jemmy/ComponentChooser.java 2018-01-31 23:08:02.465470634 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2018, 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 @@ -50,5 +50,7 @@ * * @return a String representing the description value */ - public String getDescription(); + public default String getDescription() { + return toString(); + } }