@@ -64,7 +64,10 @@ public class JarArchiver
64
64
65
65
/**
66
66
* The index file name.
67
+ *
68
+ * @deprecated See <a href="https://bugs.openjdk.org/browse/JDK-8302819">JDK-8302819</a>
67
69
*/
70
+ @ Deprecated
68
71
private static final String INDEX_NAME = "META-INF/INDEX.LIST" ;
69
72
70
73
/**
@@ -120,7 +123,10 @@ public class JarArchiver
120
123
121
124
/**
122
125
* jar index is JDK 1.3+ only
126
+ *
127
+ * @deprecated See <a href="https://bugs.openjdk.org/browse/JDK-8302819">JDK-8302819</a>
123
128
*/
129
+ @ Deprecated
124
130
private boolean index = false ;
125
131
126
132
/**
@@ -140,7 +146,10 @@ public class JarArchiver
140
146
141
147
/**
142
148
* Path containing jars that shall be indexed in addition to this archive.
149
+ *
150
+ * @deprecated See <a href="https://bugs.openjdk.org/browse/JDK-8302819">JDK-8302819</a>
143
151
*/
152
+ @ Deprecated
144
153
private List <String > indexJars ;
145
154
146
155
/**
@@ -164,7 +173,9 @@ public JarArchiver()
164
173
* This may speed up classloading in some cases.
165
174
*
166
175
* @param flag true to create an index
176
+ * @deprecated See <a href="https://bugs.openjdk.org/browse/JDK-8302819">JDK-8302819</a>
167
177
*/
178
+ @ Deprecated
168
179
public void setIndex ( boolean flag )
169
180
{
170
181
index = flag ;
@@ -291,7 +302,9 @@ public void setFilesetmanifest( FilesetManifestConfig config )
291
302
292
303
/**
293
304
* @param indexJar The indexjar
305
+ * @deprecated See <a href="https://bugs.openjdk.org/browse/JDK-8302819">JDK-8302819</a>
294
306
*/
307
+ @ Deprecated
295
308
public void addConfiguredIndexJars ( File indexJar )
296
309
{
297
310
if ( indexJars == null )
@@ -402,7 +415,9 @@ protected void finalizeZipOutputStream( ConcurrentJarCreator zOut )
402
415
* @throws IOException thrown if there is an error while creating the
403
416
* index and adding it to the zip stream.
404
417
* @throws org.codehaus.plexus.archiver.ArchiverException
418
+ * @deprecated See <a href="https://bugs.openjdk.org/browse/JDK-8302819">JDK-8302819</a>
405
419
*/
420
+ @ Deprecated
406
421
private void createIndexList ( ConcurrentJarCreator zOut )
407
422
throws IOException , ArchiverException
408
423
{
@@ -657,7 +672,9 @@ public enum FilesetManifestConfig
657
672
* @param dirs The directories
658
673
* @param files The files
659
674
* @param writer The printwriter ;)
675
+ * @deprecated See <a href="https://bugs.openjdk.org/browse/JDK-8302819">JDK-8302819</a>
660
676
*/
677
+ @ Deprecated
661
678
protected final void writeIndexLikeList ( List <String > dirs , List <String > files , PrintWriter writer )
662
679
{
663
680
// JarIndex is sorting the directories by ascending order.
0 commit comments