Re: Cannot add attribute into main attributes of a jar if there is no version

2018-02-05 Thread mandy chung
On 2/4/18 1:38 PM, Philipp Kunz wrote: duplicate of https://bugs.openjdk.java.net/browse/JDK-6910466? Yes it is.  I closed JDK-8196371 as a dup. thanks Mandy

Re: Cannot add attribute into main attributes of a jar if there is no version

2018-02-04 Thread Philipp Kunz
duplicate of https://bugs.openjdk.java.net/browse/JDK-6910466? On 30.01.2018 02:44, Weijun Wang wrote: On Jan 30, 2018, at 8:57 AM, mandy chung wrote: On 1/29/18 4:22 PM, Weijun Wang wrote: Ping again. On Jan 22, 2018, at 1:12 PM, Weijun Wang wrote: src/java.base/share/classes/jav

Re: Cannot add attribute into main attributes of a jar if there is no version

2018-01-29 Thread Xueming Shen
On 1/29/18, 4:57 PM, mandy chung wrote: On 1/29/18 4:22 PM, Weijun Wang wrote: Ping again. On Jan 22, 2018, at 1:12 PM, Weijun Wang wrote: src/java.base/share/classes/java/util/jar/Attributes.java: 329@SuppressWarnings("deprecation") 330void writeMain(DataOutputStre

Re: Cannot add attribute into main attributes of a jar if there is no version

2018-01-29 Thread Weijun Wang
> On Jan 30, 2018, at 8:57 AM, mandy chung wrote: > > > > On 1/29/18 4:22 PM, Weijun Wang wrote: >> Ping again. >> >> >>> On Jan 22, 2018, at 1:12 PM, Weijun Wang >>> wrote: >>> >>> src/java.base/share/classes/java/util/jar/Attributes.java: >>> >>> 329 @SuppressWarnings("dep

Re: Cannot add attribute into main attributes of a jar if there is no version

2018-01-29 Thread mandy chung
On 1/29/18 4:22 PM, Weijun Wang wrote: Ping again. On Jan 22, 2018, at 1:12 PM, Weijun Wang wrote: src/java.base/share/classes/java/util/jar/Attributes.java: 329 @SuppressWarnings("deprecation") 330 void writeMain(DataOutputStream out) throws IOException 331 { 33

Re: Cannot add attribute into main attributes of a jar if there is no version

2018-01-29 Thread Weijun Wang
Ping again. > On Jan 22, 2018, at 1:12 PM, Weijun Wang wrote: > > src/java.base/share/classes/java/util/jar/Attributes.java: > > 329 @SuppressWarnings("deprecation") > 330 void writeMain(DataOutputStream out) throws IOException > 331 { > 332 // write out the *-Versio