Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update NullRestrictedTypeOptTests to build with Valhalla lw5 #18275

Merged
merged 2 commits into from
Oct 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions test/functional/Valhalla/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@

<!--Properties for this particular build-->
<property name="src" location="./src"/>
<!-- Tests that need the Valhalla lw5 branch to compile. Once this is merged to the main branch this seperation won't be required.-->
<property name="src_qtypes" location="./src_qtypes"/>
<property name="src_lw5" location="./src_lw5"/>
<property name="build" location="./bin"/>
<property name="transformerListener" location="${TEST_ROOT}/Utils/src"/>
<property name="LIB" value="asm,jcommander,testng"/>
Expand All @@ -54,6 +57,9 @@
<echo>===destdir: ${DEST}</echo>
<javac srcdir="${src}" destdir="${build}" debug="true" fork="true" executable="${compiler.javac}" encoding="ISO-8859-1">
<src path="${src}"/>
<!-- uncomment when running with the latest Valhalla compiler (currently in lw5 branch but will eventually be merged)-->
<src path="${src_qtypes}"/>
<!-- <src path="${src_lw5}"/> -->
theresa-m marked this conversation as resolved.
Show resolved Hide resolved
<src path="${transformerListener}" />
<compilerarg line='--add-exports java.base/jdk.internal.misc=ALL-UNNAMED --add-exports java.base/jdk.internal.value=ALL-UNNAMED' />
<compilerarg line='-source 22 -XDenablePrimitiveClasses' />
Expand Down
Loading