Skip to content
This repository was archived by the owner on Nov 7, 2024. It is now read-only.

Commit a30d3ba

Browse files
committed
JSON_PROCESSING_SPEC-81: update module name to follow convention
Signed-off-by: Lukas Jungmann <lukas.jungmann@oracle.com>
1 parent 71361f7 commit a30d3ba

File tree

8 files changed

+14
-14
lines changed

8 files changed

+14
-14
lines changed

api/src/main/jdk9/module-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
* only if the new code is made subject to such option by the copyright
3838
* holder.
3939
*/
40-
module javax.json {
40+
module java.json {
4141
exports javax.json;
4242
exports javax.json.spi;
4343
exports javax.json.stream;

demos/facebook/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,11 +158,11 @@
158158
<executable>java</executable>
159159
<arguments>
160160
<argument>--add-modules</argument>
161-
<argument>org.glassfish.javax.json</argument>
161+
<argument>org.glassfish.java.json</argument>
162162
<argument>--module-path</argument>
163163
<argument>${modules.directory}</argument>
164164
<argument>-m</argument>
165-
<argument>org.glassfish.javax.json.demos.facebook/${main.class}</argument>
165+
<argument>org.glassfish.java.json.demos.facebook/${main.class}</argument>
166166
</arguments>
167167
</configuration>
168168
<executions>

demos/facebook/src/main/jdk9/module-info.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@
3737
* only if the new code is made subject to such option by the copyright
3838
* holder.
3939
*/
40-
module org.glassfish.javax.json.demos.facebook {
41-
requires org.glassfish.javax.json;
40+
module org.glassfish.java.json.demos.facebook {
41+
requires org.glassfish.java.json;
4242
}

demos/jsonpointer/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,11 +158,11 @@
158158
<executable>java</executable>
159159
<arguments>
160160
<argument>--add-modules</argument>
161-
<argument>org.glassfish.javax.json</argument>
161+
<argument>org.glassfish.java.json</argument>
162162
<argument>--module-path</argument>
163163
<argument>${modules.directory}</argument>
164164
<argument>-m</argument>
165-
<argument>org.glassfish.javax.json.demos.jsonpointer/${main.class}</argument>
165+
<argument>org.glassfish.java.json.demos.jsonpointer/${main.class}</argument>
166166
</arguments>
167167
</configuration>
168168
<executions>

demos/jsonpointer/src/main/jdk9/module-info.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@
3737
* only if the new code is made subject to such option by the copyright
3838
* holder.
3939
*/
40-
module org.glassfish.javax.json.demos.jsonpointer {
41-
requires org.glassfish.javax.json;
40+
module org.glassfish.java.json.demos.jsonpointer {
41+
requires org.glassfish.java.json;
4242
}

demos/twitter/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,11 +161,11 @@
161161
<executable>java</executable>
162162
<arguments>
163163
<argument>--add-modules</argument>
164-
<argument>java.xml.bind,org.glassfish.javax.json</argument>
164+
<argument>java.xml.bind,org.glassfish.java.json</argument>
165165
<argument>--module-path</argument>
166166
<argument>${modules.directory}</argument>
167167
<argument>-m</argument>
168-
<argument>org.glassfish.javax.json.demos.twitter/${main.class}</argument>
168+
<argument>org.glassfish.java.json.demos.twitter/${main.class}</argument>
169169
</arguments>
170170
</configuration>
171171
<executions>

demos/twitter/src/main/jdk9/module-info.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
* only if the new code is made subject to such option by the copyright
3838
* holder.
3939
*/
40-
module org.glassfish.javax.json.demos.twitter {
40+
module org.glassfish.java.json.demos.twitter {
4141
requires java.xml.bind;
42-
requires org.glassfish.javax.json;
42+
requires org.glassfish.java.json;
4343
}

impl/src/main/jdk9/module-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
* only if the new code is made subject to such option by the copyright
3838
* holder.
3939
*/
40-
module org.glassfish.javax.json {
40+
module org.glassfish.java.json {
4141
exports javax.json;
4242
exports javax.json.spi;
4343
exports javax.json.stream;

0 commit comments

Comments
 (0)