Permalink
Browse files

Initial java 9 support.

  • Loading branch information...
bsteffensmeier committed Nov 17, 2017
1 parent 947c5e1 commit 85929c139ceaf56cccb9cb0bf32bef96fd624679
Showing with 5,511 additions and 6 deletions.
  1. +32 −6 .travis.yml
  2. +2 −0 commands/java.py
  3. +5,477 −0 src/jep/classlist_9.txt
View
@@ -4,47 +4,73 @@ matrix:
include:
- os: linux
python: 2.7
jdk: openjdk7
env: JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
- os: linux
python: 2.7
jdk: oraclejdk8
env: JAVA_HOME=/usr/lib/jvm/java-8-oracle
- os: linux
python: 2.7
jdk: oraclejdk9
env: JAVA_HOME=/usr/lib/jvm/java-9-oracle
- os: linux
python: 3.3
jdk: openjdk7
env: JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
- os: linux
python: 3.3
jdk: oraclejdk8
env: JAVA_HOME=/usr/lib/jvm/java-8-oracle
- os: linux
python: 3.3
jdk: oraclejdk9
env: JAVA_HOME=/usr/lib/jvm/java-9-oracle
- os: linux
python: 3.4
jdk: openjdk7
env: JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
- os: linux
python: 3.4
jdk: oraclejdk8
env: JAVA_HOME=/usr/lib/jvm/java-8-oracle
- os: linux
python: 3.4
jdk: oraclejdk9
env: JAVA_HOME=/usr/lib/jvm/java-9-oracle
- os: linux
python: 3.5
jdk: openjdk7
env: JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
- os: linux
python: 3.5
jdk: oraclejdk8
env: JAVA_HOME=/usr/lib/jvm/java-8-oracle
- os: linux
python: 3.5
jdk: oraclejdk9
env: JAVA_HOME=/usr/lib/jvm/java-9-oracle
- os: linux
python: 3.6
jdk: openjdk7
env: JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
- os: linux
python: 3.6
jdk: oraclejdk8
env: JAVA_HOME=/usr/lib/jvm/java-8-oracle
- os: linux
python: 3.6
jdk: oraclejdk9
env: JAVA_HOME=/usr/lib/jvm/java-9-oracle
# Force error for earlier detection of python 2.7 windows build problems
- os: linux
python: 2.7
jdk: oraclejdk9
env:
- JAVA_HOME=/usr/lib/jvm/java-8-oracle
- JAVA_HOME=/usr/lib/jvm/java-9-oracle
- CFLAGS="-Wdeclaration-after-statement -Werror=declaration-after-statement"
- os: osx
language: generic
addons:
apt:
packages:
- oracle-java8-installer
- openjdk-7-jdk
script: ./setup.py test
View
@@ -132,6 +132,8 @@ def get_java_lib_folders():
jre = os.path.join(get_java_home(), 'lib')
else:
jre = os.path.join(get_java_home(), 'jre', 'lib')
if not os.path.exists(jre):
jre = os.path.join(get_java_home(), 'lib')
folders = []
for root, dirnames, filenames in os.walk(jre):
if is_windows():
Oops, something went wrong.

0 comments on commit 85929c1

Please sign in to comment.