Skip to content

Commit

Permalink
try building with JDK9 on travis (will revert Publisher change)
Browse files Browse the repository at this point in the history
  • Loading branch information
ktoso committed Jun 30, 2017
1 parent c398dfa commit 96dda90
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .java-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9-ea
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
language: java
sudo: required
dist: trusty
group: edge
script:
- ./gradlew check
cache:
directories:
- $HOME/.gradle
jdk:
- oraclejdk8
- oraclejdk9
- openjdk6
env:
global:
Expand Down
4 changes: 4 additions & 0 deletions api/src/main/java/org/reactivestreams/Publisher.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@

package org.reactivestreams;

// FIXME THIS IS ONLY TO CHECK THAT JDK9 BUILD WORKED ON TRAVIS
import java.util.concurrent.Flow; // REMOVE THIS
// FIXME THIS IS ONLY TO CHECK THAT JDK9 BUILD WORKED ON TRAVIS

/**
* A {@link Publisher} is a provider of a potentially unbounded number of sequenced elements, publishing them according to
* the demand received from its {@link Subscriber}(s).
Expand Down

0 comments on commit 96dda90

Please sign in to comment.