--- old/src/java.base/share/classes/sun/text/CompactByteArray.java 2019-08-15 14:44:16.000000000 +0200 +++ new/src/java.base/share/classes/sun/text/CompactByteArray.java 2019-08-15 14:44:16.000000000 +0200 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1996, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1996, 2019, 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 @@ -244,7 +244,7 @@ /** For internal use only. Do not modify the result, the behavior of * modified results are undefined. */ - public short getIndexArray()[] + public short[] getIndexArray() { return indices; } @@ -252,7 +252,7 @@ /** For internal use only. Do not modify the result, the behavior of * modified results are undefined. */ - public byte getStringArray()[] + public byte[] getStringArray() { return values; } --- old/src/jdk.rmic/share/classes/sun/tools/java/BinaryAttribute.java 2019-08-15 14:44:17.000000000 +0200 +++ new/src/jdk.rmic/share/classes/sun/tools/java/BinaryAttribute.java 2019-08-15 14:44:16.000000000 +0200 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1994, 2003, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1994, 2019, 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 @@ -105,7 +105,7 @@ public Identifier getName() { return name; } - public byte getData()[] { return data; } + public byte[] getData() { return data; } public BinaryAttribute getNextAttribute() { return next; } --- old/src/jdk.rmic/share/classes/sun/tools/java/BinaryClass.java 2019-08-15 14:44:17.000000000 +0200 +++ new/src/jdk.rmic/share/classes/sun/tools/java/BinaryClass.java 2019-08-15 14:44:17.000000000 +0200 @@ -531,7 +531,7 @@ /** * Get a class attribute */ - public byte getAttribute(Identifier name)[] { + public byte[] getAttribute(Identifier name) { for (BinaryAttribute att = atts ; att != null ; att = att.next) { if (att.name.equals(name)) { return att.data; --- old/src/jdk.rmic/share/classes/sun/tools/java/BinaryCode.java 2019-08-15 14:44:18.000000000 +0200 +++ new/src/jdk.rmic/share/classes/sun/tools/java/BinaryCode.java 2019-08-15 14:44:18.000000000 +0200 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1995, 2003, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1995, 2019, 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 @@ -88,11 +88,11 @@ * Accessors */ - public BinaryExceptionHandler getExceptionHandlers()[] { + public BinaryExceptionHandler[] getExceptionHandlers() { return exceptionHandlers; } - public byte getCode()[] { return code; } + public byte[] getCode() { return code; } public int getMaxStack() { return maxStack; } --- old/src/jdk.rmic/share/classes/sun/tools/java/ClassDefinition.java 2019-08-15 14:44:19.000000000 +0200 +++ new/src/jdk.rmic/share/classes/sun/tools/java/ClassDefinition.java 2019-08-15 14:44:18.000000000 +0200 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1994, 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1994, 2019, 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 @@ -224,7 +224,7 @@ /** * Get the class' interfaces */ - public final ClassDeclaration getInterfaces()[] { + public final ClassDeclaration[] getInterfaces() { if (interfaces == null) throw new CompilerError("getInterfaces"); return interfaces; } --- old/src/jdk.rmic/share/classes/sun/tools/java/MethodType.java 2019-08-15 14:44:19.000000000 +0200 +++ new/src/jdk.rmic/share/classes/sun/tools/java/MethodType.java 2019-08-15 14:44:19.000000000 +0200 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1994, 2003, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1994, 2019, 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 @@ -62,7 +62,7 @@ return returnType; } - public Type getArgumentTypes()[] { + public Type[] getArgumentTypes() { return argTypes; } --- old/src/jdk.rmic/share/classes/sun/tools/java/Parser.java 2019-08-15 14:44:20.000000000 +0200 +++ new/src/jdk.rmic/share/classes/sun/tools/java/Parser.java 2019-08-15 14:44:20.000000000 +0200 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1994, 2004, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1994, 2019, 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 @@ -282,13 +282,13 @@ } args[argIndex++] = n; } - protected final Expression exprArgs(int index)[] { + protected final Expression[] exprArgs(int index) { Expression e[] = new Expression[argIndex - index]; System.arraycopy(args, index, e, 0, argIndex - index); argIndex = index; return e; } - protected final Statement statArgs(int index)[] { + protected final Statement[] statArgs(int index) { Statement s[] = new Statement[argIndex - index]; System.arraycopy(args, index, s, 0, argIndex - index); argIndex = index; --- old/src/jdk.rmic/share/classes/sun/tools/java/Type.java 2019-08-15 14:44:21.000000000 +0200 +++ new/src/jdk.rmic/share/classes/sun/tools/java/Type.java 2019-08-15 14:44:21.000000000 +0200 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1994, 2003, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1994, 2019, 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 @@ -300,7 +300,7 @@ /** * Return the argument types. Only works for method types. */ - public Type getArgumentTypes()[] { + public Type[] getArgumentTypes() { throw new CompilerError("getArgumentTypes"); }