mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8302819: Remove JAR Index
Reviewed-by: mchung, alanb, lancea, jpai
This commit is contained in:
parent
0243da2e4a
commit
0d45a524b3
24 changed files with 45 additions and 1394 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1997, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2023, 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
|
||||
|
@ -207,12 +207,18 @@ public class JarFile extends ZipFile {
|
|||
*/
|
||||
public static final String MANIFEST_NAME = META_INF + "MANIFEST.MF";
|
||||
|
||||
/**
|
||||
* The 'JAR index' feature has been removed, but JarInputStream and
|
||||
* JarVerifier's verification of signed jars still need to be
|
||||
* able to skip this entry.
|
||||
*/
|
||||
static final String INDEX_NAME = "META-INF/INDEX.LIST";
|
||||
|
||||
/**
|
||||
* Returns the version that represents the unversioned configuration of a
|
||||
* multi-release jar file.
|
||||
*
|
||||
* @return the version that represents the unversioned configuration
|
||||
*
|
||||
* @since 9
|
||||
*/
|
||||
public static Runtime.Version baseVersion() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue