--- old/src/java.desktop/share/classes/com/sun/media/sound/SunFileWriter.java 2018-10-01 09:58:04.354026000 +0700 +++ new/src/java.desktop/share/classes/com/sun/media/sound/SunFileWriter.java 2018-10-01 09:58:03.902026000 +0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1999, 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 @@ -45,12 +45,12 @@ // buffer size for temporary input streams protected static final int bisBufferSize = 4096; - final AudioFileFormat.Type types[]; + final AudioFileFormat.Type[] types; /** * Constructs a new SunParser object. */ - SunFileWriter(AudioFileFormat.Type types[]) { + SunFileWriter(AudioFileFormat.Type[] types) { this.types = types; } @@ -164,12 +164,12 @@ } @Override - public int read(byte b[]) throws IOException { + public int read(byte[] b) throws IOException { return in.read(b); } @Override - public int read(byte b[], int off, int len) throws IOException { + public int read(byte[] b, int off, int len) throws IOException { return in.read(b, off, len); }