Skip to content

Commit d90341e

Browse files
cloudstack: add JDK11 support (apache#3601)
This adds support for JDK11 in CloudStack 4.14+: - Fixes code to build against JDK11 - Bump to Debian 9 systemvmtemplate with openjdk-11 - Fix Travis to run smoketests against openjdk-11 - Use maven provided jdk11 compatible mysql-connector-java - Remove old agent init.d scripts Signed-off-by: Rohit Yadav <[email protected]>
1 parent ccda5fb commit d90341e

File tree

185 files changed

+1983
-3242
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

185 files changed

+1983
-3242
lines changed

.java-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.8
1+
11.0

.travis.yml

+8-3
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,16 @@
1414
# KIND, either express or implied. See the License for the
1515
# specific language governing permissions and limitations
1616
# under the License.
17+
1718
sudo: required
18-
dist: xenial
19-
group: edge
19+
dist: bionic
20+
group: stable
2021

2122
language: java
23+
2224
jdk:
23-
- openjdk8
25+
- openjdk11
26+
2427
python:
2528
- "2.7"
2629

@@ -46,6 +49,7 @@ env:
4649
smoke/test_create_list_domain_account_project
4750
smoke/test_create_network
4851
smoke/test_deploy_vgpu_enabled_vm
52+
smoke/test_deploy_vm_extra_config_data
4953
smoke/test_deploy_vm_iso
5054
smoke/test_deploy_vm_root_resize
5155
smoke/test_deploy_vm_with_userdata
@@ -153,6 +157,7 @@ env:
153157
component/test_project_resources"
154158

155159
- TESTS="component/test_project_usage
160+
component/test_protocol_number_security_group
156161
component/test_resource_limits"
157162

158163
- TESTS="component/test_regions_accounts

INSTALL.md

+2-9
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,8 @@ was tested against a CentOS 7 x86_64 setup.
1515

1616
Install tools and dependencies used for development:
1717

18-
$ yum install git java-1.8.0-openjdk java-1.8.0-openjdk-devel \
19-
mysql mysql-server mkisofs gcc python MySQL-python openssh-clients wget
20-
21-
# yum -y update
22-
# yum -y install java-1.8.0-openjdk
23-
# yum -y install java-1.8.0-openjdk-devel
24-
# yum -y install mysql-server
25-
# yum -y install git
26-
# yum -y install genisoimage
18+
# yum -y install git java-11-openjdk java-11-openjdk-devel \
19+
mysql mysql-server mkisofs git gcc python MySQL-python openssh-clients wget
2720

2821
Set up Maven (3.6.0):
2922

agent/distro/centos/SYSCONFDIR/rc.d/init.d/cloud-agent.in

-119
This file was deleted.

agent/distro/fedora/SYSCONFDIR/rc.d/init.d/cloud-agent.in

-119
This file was deleted.

0 commit comments

Comments
 (0)