< prev index next >

src/java.base/share/classes/java/nio/charset/Charset-X-Coder.java.template

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2000, 2013, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2000, 2017, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 193,208 **** throw new IllegalArgumentException("Non-positive " + "average$ItypesPerOtype$"); if (max$ItypesPerOtype$ <= 0.0f) throw new IllegalArgumentException("Non-positive " + "max$ItypesPerOtype$"); - if (!Charset.atBugLevel("1.4")) { if (average$ItypesPerOtype$ > max$ItypesPerOtype$) throw new IllegalArgumentException("average$ItypesPerOtype$" + " exceeds " + "max$ItypesPerOtype$"); - } this.replacement = replacement; this.average$ItypesPerOtype$ = average$ItypesPerOtype$; this.max$ItypesPerOtype$ = max$ItypesPerOtype$; replaceWith(replacement); } --- 193,206 ----
< prev index next >