RFR 8158486 : remove the wptg id line from jaxp resource file in JDK9

Joe Wang huizhe.wang at oracle.com
Thu Aug 4 16:43:03 UTC 2016


For 
src/java.xml/share/classes/com/sun/org/apache/xml/internal/res/XMLErrorResources.java:

/*
  * Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights 
reserved.
  */
/*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
  *
  *     http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 
implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */

package com.sun.org.apache.xml.internal.res;


For 
src/java.xml/share/classes/com/sun/org/apache/xml/internal/serializer/utils/SerializerMessages.java:
/*
  * reserved comment block
  * DO NOT REMOVE OR ALTER!
  */
/*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
  *
  *     http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 
implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */

package com.sun.org.apache.xml.internal.serializer.utils;

For 
src/java.xml/share/classes/com/sun/org/apache/xpath/internal/res/XPATHErrorResources.java:

/*
  * Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights 
reserved.
  */
/*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
  *
  *     http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 
implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */

package com.sun.org.apache.xpath.internal.res;


Thanks,
Joe


On 8/4/16, 9:36 AM, Joe Wang wrote:
> Thanks Christoph, and sorry Leo the late response.
>
> For XSLTErrorResources.java, the header/copy can be replaced with the 
> following. Please note the empty line before "package" is required.
>
> /*
>  * Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights 
> reserved.
>  */
> /*
>  * Licensed to the Apache Software Foundation (ASF) under one or more
>  * contributor license agreements.  See the NOTICE file distributed with
>  * this work for additional information regarding copyright ownership.
>  * The ASF licenses this file to You under the Apache License, Version 
> 2.0
>  * (the "License"); you may not use this file except in compliance with
>  * the License.  You may obtain a copy of the License at
>  *
>  *     http://www.apache.org/licenses/LICENSE-2.0
>  *
>  * Unless required by applicable law or agreed to in writing, software
>  * distributed under the License is distributed on an "AS IS" BASIS,
>  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 
> implied.
>  * See the License for the specific language governing permissions and
>  * limitations under the License.
>  */
>
> package com.sun.org.apache.xalan.internal.res;
>
>
> For 
> src/java.xml/share/classes/com/sun/org/apache/xalan/internal/xsltc/compiler/util/ErrorMessages.java:
> /*
>  * Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights 
> reserved.
>  */
> /*
>  * Licensed to the Apache Software Foundation (ASF) under one or more
>  * contributor license agreements.  See the NOTICE file distributed with
>  * this work for additional information regarding copyright ownership.
>  * The ASF licenses this file to You under the Apache License, Version 
> 2.0
>  * (the "License"); you may not use this file except in compliance with
>  * the License.  You may obtain a copy of the License at
>  *
>  *     http://www.apache.org/licenses/LICENSE-2.0
>  *
>  * Unless required by applicable law or agreed to in writing, software
>  * distributed under the License is distributed on an "AS IS" BASIS,
>  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 
> implied.
>  * See the License for the specific language governing permissions and
>  * limitations under the License.
>  */
>
> package com.sun.org.apache.xalan.internal.xsltc.compiler.util;
>
> For 
> src/java.xml/share/classes/com/sun/org/apache/xalan/internal/xsltc/runtime/ErrorMessages.java:
> /*
>  * reserved comment block
>  * DO NOT REMOVE OR ALTER!
>  */
> /*
>  * Licensed to the Apache Software Foundation (ASF) under one or more
>  * contributor license agreements.  See the NOTICE file distributed with
>  * this work for additional information regarding copyright ownership.
>  * The ASF licenses this file to You under the Apache License, Version 
> 2.0
>  * (the "License"); you may not use this file except in compliance with
>  * the License.  You may obtain a copy of the License at
>  *
>  *     http://www.apache.org/licenses/LICENSE-2.0
>  *
>  * Unless required by applicable law or agreed to in writing, software
>  * distributed under the License is distributed on an "AS IS" BASIS,
>  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 
> implied.
>  * See the License for the specific language governing permissions and
>  * limitations under the License.
>  */
>
> package com.sun.org.apache.xalan.internal.xsltc.runtime;
>
>
> Thanks,
> Joe
>
> On 8/2/16, 12:27 AM, Langer, Christoph wrote:
>> Sure, it's a good idea to do this change. Joe should probably guide 
>> you through updating the headers.
>>
>> Best
>> Christoph
>>
>>> -----Original Message-----
>>> From: Leo Jiang [mailto:li.jiang at oracle.com]
>>> Sent: Dienstag, 2. August 2016 09:18
>>> To: Langer, Christoph<christoph.langer at sap.com>; Joe Wang
>>> <huizhe.wang at oracle.com>
>>> Cc: jdk9-dev at openjdk.java.net
>>> Subject: Re: RFR 8158486 : remove the wptg id line from jaxp 
>>> resource file in
>>> JDK9
>>>
>>> Some java resource files had been included in this change. I'm not 
>>> sure if other
>>> files have same issue.
>>>
>>> The impact to l10n process is that even no real change but 
>>> translation tool
>>> would still update the svn line
>>> automatically. I'm not sure if has same case for other files.
>>>
>>> Thanks,
>>> Leo
>>>
>>> On 08/02/2016 03:08 PM, Langer, Christoph wrote:
>>>> Hi Leo, Joe,
>>>>
>>>> I think you should also take the chance to check/update all headers 
>>>> (that is, in
>>> the .java files)
>>>> Best regards
>>>> Christoph
>>>>
>>>>> -----Original Message-----
>>>>> From: jdk9-dev [mailto:jdk9-dev-bounces at openjdk.java.net] On 
>>>>> Behalf Of
>>> Leo
>>>>> Jiang
>>>>> Sent: Dienstag, 2. August 2016 08:17
>>>>> To: jdk9-dev at openjdk.java.net
>>>>> Subject: Re: RFR 8158486 : remove the wptg id line from jaxp 
>>>>> resource file
>>> in
>>>>> JDK9
>>>>>
>>>>> bug: https://bugs.openjdk.java.net/browse/JDK-8158486
>>>>>
>>>>> -Leo
>>>>>
>>>>> On 08/02/2016 01:53 PM, Leo Jiang wrote:
>>>>>> Hi Joe,
>>>>>>
>>>>>> Would you help to review this change?
>>>>>>
>>>>>> This is the JDK 9 release version of change about removal of wptg 
>>>>>> id line
>>> for
>>>>> jaxp resource files.
>>>>>> http://cr.openjdk.java.net/~fyuan/leo/8158486/webrev.00/
>>>>>>
>>>>>> This line would impact the L10n resource update process. By 
>>>>>> removing this
>>>>> obsolete line, we can avoid to review these
>>>>>> files which actually haven't change.
>>>>>>
>>>>>>
>>>>>> Thanks,
>>>>>> Leo


More information about the jdk9-dev mailing list