Skip to content

Commit 94079a5

Browse files
author
duke
committedNov 19, 2021
Automatic merge of jdk:master into master
2 parents 6e0712b + e47cc81 commit 94079a5

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed
 

‎src/jdk.jlink/share/classes/jdk/tools/jlink/internal/ImagePluginStack.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2015, 2021, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -282,7 +282,7 @@ public ResourcePool visitResources(ResourcePoolManager resources)
282282
* This pool wrap the original pool and automatically uncompress ResourcePoolEntry
283283
* if needed.
284284
*/
285-
private class LastPoolManager extends ResourcePoolManager {
285+
private static class LastPoolManager extends ResourcePoolManager {
286286
private class LastModule implements ResourcePoolModule {
287287

288288
final ResourcePoolModule module;

‎src/jdk.jlink/share/classes/jdk/tools/jlink/internal/ResourcePoolManager.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2015, 2021, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -74,7 +74,7 @@ public static boolean isNamedPackageResource(String path) {
7474
Resources.canEncapsulate(path);
7575
}
7676

77-
class ResourcePoolModuleImpl implements ResourcePoolModule {
77+
static class ResourcePoolModuleImpl implements ResourcePoolModule {
7878

7979
final Map<String, ResourcePoolEntry> moduleContent = new LinkedHashMap<>();
8080
// lazily initialized

‎src/jdk.jlink/share/classes/jdk/tools/jlink/internal/plugins/SystemModulesPlugin.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ InputStream getInputStream() {
477477
return bais;
478478
}
479479

480-
class ModuleInfoRewriter extends ByteArrayOutputStream {
480+
static class ModuleInfoRewriter extends ByteArrayOutputStream {
481481
final ModuleInfoExtender extender;
482482
ModuleInfoRewriter(InputStream in) {
483483
this.extender = ModuleInfoExtender.newExtender(in);
@@ -625,7 +625,7 @@ public ClassWriter getClassWriter(Configuration cf) {
625625
}
626626

627627
/**
628-
* Generate byteccode for no-arg constructor
628+
* Generate bytecode for no-arg constructor
629629
*/
630630
private void genConstructor(ClassWriter cw) {
631631
MethodVisitor mv = cw.visitMethod(ACC_PUBLIC, "<init>", "()V", null, null);

0 commit comments

Comments
 (0)
Please sign in to comment.