-
Notifications
You must be signed in to change notification settings - Fork 54
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
Adding build and runtime support for open jdk 11 #71
Changes from 13 commits
438d079
c8f7167
238a080
a7300d5
fba4aa9
3df95a9
a625071
c32d1a4
4ec2079
fdb2dec
30a78da
aad3803
1d0e14d
ce69592
0e2684d
68e21e5
7bee846
edeb0ec
3fc7a7b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,4 +39,4 @@ notifications: | |
|
||
cache: | ||
directories: | ||
- "$HOME/.m2" | ||
- "$HOME/.m2" |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -179,6 +179,12 @@ | |
<artifactId>javax.ws.rs-api</artifactId> | ||
</dependency> | ||
|
||
<!-- JDK 11 Changes --> | ||
<dependency> | ||
<groupId>javax.xml.bind</groupId> | ||
<artifactId>jaxb-api</artifactId> | ||
</dependency> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. can we specify this scope at the parent level? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. also.. since this was deprecated in jdk9 doesn't this mean the jdk runtime will not supply it anymore? If we are expecting this at runtime should we add a https://blog.codefx.org/java/five-command-line-options-hack-java-module-system/ There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Previous comment ( We still want to target JDK8 runtime for now for clients that haven't switched to JDK11. We will likely fix this when we switch to JDK11 target runtime in some future release. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Moved |
||
|
||
<!-- Test Dependencies --> | ||
<dependency> | ||
<groupId>junit</groupId> | ||
|
@@ -341,7 +347,7 @@ | |
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-failsafe-plugin</artifactId> | ||
<version>3.0.0-M1</version> | ||
<version>3.0.0-M2</version> | ||
<executions> | ||
<execution> | ||
<goals> | ||
|
@@ -353,6 +359,13 @@ | |
</configuration> | ||
</execution> | ||
</executions> | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.ow2.asm</groupId> | ||
<artifactId>asm</artifactId> | ||
<version>7.0</version> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Moved to There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. where's the change ? |
||
</dependency> | ||
</dependencies> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might want to leave a comment or reference for others in a breadcrumb comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
along with instructions of what to add when we target jdk11 runtime (vs jdk8 runtime)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs a rebase. The run command no longer looks like this
https://github.com/homeaway/stream-registry/blob/master/Makefile#L20-L21
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Re-based
saketanisha:openjdk11
withhomeaway:master
. As part of the merge updatedSTREAM_REGISTRY_JAVA_OPTS
andSTREAM_REGISTRY_DEBUG_OPTS
inMakefile
with appropriate JDK flag ( i.e.--add-opens java.base/java.lang=ALL-UNNAMED
)