equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2009, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2009, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
39 * Utility class for zipfile name and comment decoding and encoding |
39 * Utility class for zipfile name and comment decoding and encoding |
40 */ |
40 */ |
41 |
41 |
42 class ZipCoder { |
42 class ZipCoder { |
43 |
43 |
44 private static final jdk.internal.misc.JavaLangAccess JLA = |
44 private static final jdk.internal.access.JavaLangAccess JLA = |
45 jdk.internal.misc.SharedSecrets.getJavaLangAccess(); |
45 jdk.internal.access.SharedSecrets.getJavaLangAccess(); |
46 |
46 |
47 static final class UTF8 extends ZipCoder { |
47 static final class UTF8 extends ZipCoder { |
48 |
48 |
49 UTF8(Charset utf8) { |
49 UTF8(Charset utf8) { |
50 super(utf8); |
50 super(utf8); |