--- old/test/javax/print/attribute/GetCopiesSupported.java 2020-07-05 23:44:25.097250180 +0100 +++ new/test/javax/print/attribute/GetCopiesSupported.java 2020-07-05 23:44:24.958249277 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2001, 2017, 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 @@ -20,12 +20,14 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -/* - @test - @bug 4463280 - @summary No ClassCastException should occur. - @run main GetCopiesSupported -*/ + +/** + * @test + * @key printer + * @bug 4463280 + * @summary No ClassCastException should occur. + * @run main GetCopiesSupported + */ import javax.print.*; import javax.print.attribute.*;