Skip to content

Commit 6dcabea

Browse files
timis1timis1
andauthored
JAVA-31430 Review add-opens and add-exports in modules - Week 9 - 2024 (eugenp#16008)
* JAVA-31430 Review add-opens and add-exports in modules - Week 9 - 2024 * JAVA-31430 Some fixes --------- Co-authored-by: timis1 <[email protected]>
1 parent da96bb6 commit 6dcabea

14 files changed

Lines changed: 0 additions & 73 deletions

File tree

checker-framework/pom.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,7 @@
5555
<arg>-Awarns</arg>
5656
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED</arg>
5757
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</arg>
58-
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED</arg>
5958
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED</arg>
60-
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED</arg>
6159
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED</arg>
6260
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED</arg>
6361
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED</arg>

java-panama/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
<source>${maven.compiler.source}</source>
2828
<target>${maven.compiler.target}</target>
2929
<compilerArgs>
30-
<arg>--add-opens=java.base/java.lang.foreign=ALL-UNNAMED</arg>
3130
<arg>--enable-preview</arg>
3231
</compilerArgs>
3332
</configuration>

libraries-bytecode/pom.xml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,7 @@
4949
<artifactId>maven-surefire-plugin</artifactId>
5050
<configuration>
5151
<argLine>
52-
--add-exports=java.base/jdk.internal.ref=ALL-UNNAMED
53-
--add-exports=java.base/sun.nio.ch=ALL-UNNAMED
54-
--add-exports=jdk.unsupported/sun.misc=ALL-UNNAMED
55-
--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED
56-
--add-opens=jdk.compiler/com.sun.tools.javac=ALL-UNNAMED
5752
--add-opens=java.base/java.lang=ALL-UNNAMED
58-
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED
59-
--add-opens=java.base/java.io=ALL-UNNAMED
60-
--add-opens=java.base/java.util=ALL-UNNAMED
6153
</argLine>
6254
</configuration>
6355
</plugin>

libraries-data/pom.xml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -175,16 +175,7 @@
175175
<artifactId>maven-surefire-plugin</artifactId>
176176
<configuration>
177177
<argLine>
178-
--add-opens java.base/java.lang=ALL-UNNAMED
179-
--add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED
180-
--add-opens java.base/jdk.internal.misc=ALL-UNNAMED
181-
--add-opens java.base/sun.nio.ch=ALL-UNNAMED
182-
--add-opens java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED
183-
--add-opens jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED
184-
--add-opens java.base/sun.reflect.generics.reflectiveObjects=ALL-UNNAMED
185-
--add-opens java.base/java.io=ALL-UNNAMED
186178
--add-opens java.base/java.nio=ALL-UNNAMED
187-
--add-opens java.base/java.util=ALL-UNNAMED
188179
--add-opens java.base/java.lang=ALL-UNNAMED
189180
</argLine>
190181
</configuration>

libraries/pom.xml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -205,15 +205,7 @@
205205
<artifactId>maven-surefire-plugin</artifactId>
206206
<configuration>
207207
<argLine>
208-
--add-exports=java.base/jdk.internal.ref=ALL-UNNAMED
209-
--add-exports=java.base/sun.nio.ch=ALL-UNNAMED
210-
--add-exports=jdk.unsupported/sun.misc=ALL-UNNAMED
211-
--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED
212-
--add-opens=jdk.compiler/com.sun.tools.javac=ALL-UNNAMED
213208
--add-opens=java.base/java.lang=ALL-UNNAMED
214-
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED
215-
--add-opens=java.base/java.io=ALL-UNNAMED
216-
--add-opens=java.base/java.util=ALL-UNNAMED
217209
</argLine>
218210
</configuration>
219211
</plugin>

orika/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
<configuration>
3030
<argLine>
3131
--add-opens java.base/java.lang=ALL-UNNAMED
32-
--add-opens java.base/java.util=ALL-UNNAMED
3332
</argLine>
3433
</configuration>
3534
</plugin>

patterns-modules/axon/pom.xml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,6 @@
107107
<plugin>
108108
<groupId>org.apache.maven.plugins</groupId>
109109
<artifactId>maven-surefire-plugin</artifactId>
110-
<configuration>
111-
<argLine>
112-
--add-opens java.base/java.util=ALL-UNNAMED
113-
--add-opens
114-
java.base/java.util.concurrent=ALL-UNNAMED
115-
</argLine>
116-
</configuration>
117110
</plugin>
118111
</plugins>
119112
</build>

spring-aop-2/pom.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,6 @@
154154
<version>${maven-surefire-plugin.version}</version>
155155
<configuration>
156156
<argLine>
157-
--add-opens java.base/java.lang=ALL-UNNAMED
158-
--add-opens java.base/java.util=ALL-UNNAMED
159157
-javaagent:"${settings.localRepository}"/org/aspectj/aspectjweaver/${aspectjweaver.version}/aspectjweaver-${aspectjweaver.version}.jar
160158
-javaagent:"${settings.localRepository}"/org/springframework/spring-instrument/${spring.version}/spring-instrument-${spring.version}.jar
161159
</argLine>

spring-cloud-modules/spring-cloud-archaius/spring-cloud-archaius-extra-configs/pom.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@
4545
<configuration>
4646
<argLine>
4747
--add-opens java.base/java.lang=ALL-UNNAMED
48-
--add-opens java.base/java.util=ALL-UNNAMED
49-
--add-opens java.base/java.lang.reflect=ALL-UNNAMED
5048
</argLine>
5149
</configuration>
5250
</plugin>

spring-cloud-modules/spring-cloud-zuul-eureka-integration/eureka-client/pom.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,6 @@
5454
<configuration>
5555
<argLine>
5656
--add-opens java.base/java.lang=ALL-UNNAMED
57-
--add-opens java.base/java.util=ALL-UNNAMED
58-
--add-opens java.base/java.lang.reflect=ALL-UNNAMED
59-
--add-opens java.base/java.text=ALL-UNNAMED
60-
--add-opens java.desktop/java.awt.font=ALL-UNNAMED
6157
</argLine>
6258
</configuration>
6359
</plugin>

0 commit comments

Comments
 (0)