--- old/src/java.desktop/share/classes/com/sun/media/sound/RealTimeSequencer.java 2018-10-01 09:57:59.322026000 +0700 +++ new/src/java.desktop/share/classes/com/sun/media/sound/RealTimeSequencer.java 2018-10-01 09:57:58.894026000 +0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 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 @@ -1126,7 +1126,7 @@ } return; } - int temp[] = new int[ controllers.length + c.length ]; + int[] temp = new int[ controllers.length + c.length ]; int elements; // first add what we have @@ -1149,7 +1149,7 @@ } } // now keep only the elements we need - int newc[] = new int[ elements ]; + int[] newc = new int[ elements ]; for(int i=0; i