Skip to content

Commit

Permalink
eclipse-ee4j#1757: txw runtime and compiler should have different mo…
Browse files Browse the repository at this point in the history
…dule names

Signed-off-by: Lukas Jungmann <lukas.jungmann@oracle.com>
  • Loading branch information
lukasj committed Oct 7, 2023
1 parent 7829f4b commit 8bcb69a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@
<listitem><para>
<link xlink:href="https://github.com/eclipse-ee4j/jaxb-ri/issues/1750">#1750</link>: xjc: ElementOutlineImpl omits serialVersionUID
</para></listitem>
<listitem><para>
<link xlink:href="https://github.com/eclipse-ee4j/jaxb-ri/issues/1757">#1757</link>: txw runtime and compiler should have different module names
</para></listitem>
</itemizedlist>
</para></listitem>
</itemizedlist>
Expand Down
4 changes: 2 additions & 2 deletions jaxb-ri/txw/compiler/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
<configuration>
<compilerArgs>
<arg>--add-reads</arg>
<arg>com.sun.tools.txw2=ALL-UNNAMED</arg>
<arg>com.sun.tools.txwc2=ALL-UNNAMED</arg>
</compilerArgs>
</configuration>
</execution>
Expand All @@ -104,7 +104,7 @@
<configuration>
<additionalJOptions>
<additionalJOption>--add-reads</additionalJOption>
<additionalJOption>com.sun.tools.txw2=ALL-UNNAMED</additionalJOption>
<additionalJOption>com.sun.tools.txwc2=ALL-UNNAMED</additionalJOption>
</additionalJOptions>
</configuration>
</plugin>
Expand Down
5 changes: 3 additions & 2 deletions jaxb-ri/txw/compiler/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2021 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2021, 2023 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
Expand All @@ -8,7 +8,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/

module com.sun.tools.txw2 {
@SuppressWarnings({"module"})
module com.sun.tools.txwc2 {
requires transitive java.xml;

requires com.sun.xml.txw2;
Expand Down

0 comments on commit 8bcb69a

Please sign in to comment.