Merge branch '2.3.x'

Closes gh-21657
pull/21671/head
Madhura Bhave 5 years ago
commit e0f548fdd3

@ -130,6 +130,7 @@ public abstract class ExecutableArchiveLauncher extends Launcher {
* Determine if the specified entry is a candidate for further searching.
* @param entry the entry to check
* @return {@code true} if the entry is a candidate for further searching
* @since 2.3.0
*/
protected boolean isSearchCandidate(Archive.Entry entry) {
return true;
@ -149,6 +150,7 @@ public abstract class ExecutableArchiveLauncher extends Launcher {
* {@link #postProcessClassPathArchives(List)} should provide an implementation that
* returns {@code false}.
* @return if the {@link #postProcessClassPathArchives(List)} method is implemented
* @since 2.3.0
*/
protected boolean isPostProcessingClassPathArchives() {
return true;
@ -172,6 +174,7 @@ public abstract class ExecutableArchiveLauncher extends Launcher {
/**
* Return the root archive.
* @return the root archive
* @since 2.3.0
*/
protected final Archive getArchive() {
return this.archive;

@ -169,6 +169,7 @@ public abstract class Launcher {
* {@code true} then only regular JARs are supported and the additional URL and
* ClassLoader support infrastructure can be optimized.
* @return if the jar is exploded.
* @since 2.3.0
*/
protected boolean isExploded() {
return true;

@ -93,6 +93,7 @@ public interface Archive extends Iterable<Archive.Entry>, AutoCloseable {
/**
* Return if the archive is exploded (already unpacked).
* @return if the archive is exploded
* @since 2.3.0
*/
default boolean isExploded() {
return false;

Loading…
Cancel
Save