--- old/src/demo/share/jfc/J2Ddemo/java2d/J2Ddemo.java 2018-10-03 16:37:47.285008000 +0700 +++ new/src/demo/share/jfc/J2Ddemo/java2d/J2Ddemo.java 2018-10-03 16:37:46.697008000 +0700 @@ -1,6 +1,6 @@ /* * - * Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -678,7 +678,7 @@ } - public static void main(final String args[]) { + public static void main(final String[] args) { SwingUtilities.invokeLater(new Runnable() { @Override public void run() {