--- old/src/java.desktop/share/classes/javax/swing/text/rtf/RTFGenerator.java 2018-10-01 10:01:58.006026000 +0700 +++ new/src/java.desktop/share/classes/javax/swing/text/rtf/RTFGenerator.java 2018-10-01 10:01:57.562026000 +0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2017, 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 @@ -496,7 +496,7 @@ protected void checkControlWords(MutableAttributeSet currentAttributes, AttributeSet newAttributes, - RTFAttribute words[], + RTFAttribute[] words, int domain) throws IOException { @@ -596,7 +596,7 @@ RTFAttributes.attributes, RTFAttribute.D_PARAGRAPH); if (oldTabs != newTabs && newTabs != null) { - TabStop tabs[] = (TabStop[])newTabs; + TabStop[] tabs = (TabStop[])newTabs; int index; for(index = 0; index < tabs.length; index ++) { TabStop tab = tabs[index];