Update minimum JDK requirements.

Review Request #4253 - Created Sept. 21, 2016 and submitted

Information
John Sirois
pants
jsirois/java/update_req
3892
35f82da...
Reviewers
pants-reviews
stuhood, wisechengyi, zundel
The minimum was bumped to 8 in:
  https://rbcommons.com/s/twitter/r/4127/

 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Verified the minimum with:

$ ./pants clean-all publish.jar \
  --no-prompt \
  --no-dryrun \
  --force \
  --local=/tmp/repo src/java/::
$ mkdir /tmp/junit
$ unzip -qd /tmp/junit/ \
  /tmp/repo/org/pantsbuild/junit-runner/1.0.14-SNAPSHOT/junit-runner-1.0.14-SNAPSHOT.jar
$ find /tmp/junit -name "*.class" | \
  xargs file | \
  cut -d: -f2 | \
  sed -E "s|^\s+||" | \
  sort -u
compiled Java class data, version 52.0 (Java 1.8)

IOW, the next publish of any org.pantsbuild support jar will contain
java 8 classfiles as opposed to the current crop of jars which all
still contain java 6 classfiles.

CI went green here:
https://travis-ci.org/pantsbuild/pants/builds/161763813

John Sirois
Yi Cheng
Yi Cheng
John Sirois
Stu Hood
John Sirois
Review request changed

Status: Closed (submitted)

Change Summary:

Now on master:

git log -1 origin/master
commit 67c33a1b235896ce0dd380c265767d52c8851019
Author: John Sirois <john.sirois@gmail.com>
Date:   Fri Sep 23 09:27:33 2016 -0600

    Update minimum JDK requirements.
    
    The minimum was bumped to 8 in:
      https://rbcommons.com/s/twitter/r/4127/
    
    Testing Done:
    Verified the minimum with:
    ```
    $ ./pants clean-all publish.jar \
      --no-prompt \
      --no-dryrun \
      --force \
      --local=/tmp/repo src/java/::
    $ mkdir /tmp/junit
    $ unzip -qd /tmp/junit/ \
      /tmp/repo/org/pantsbuild/junit-runner/1.0.14-SNAPSHOT/junit-runner-1.0.14-SNAPSHOT.jar
    $ find /tmp/junit -name "*.class" | \
      xargs file | \
      cut -d: -f2 | \
      sed -E "s|^\s+||" | \
      sort -u
    compiled Java class data, version 52.0 (Java 1.8)
    ```
    
    IOW, the next publish of any org.pantsbuild support jar will contain
    java 8 classfiles as opposed to the current crop of jars which all
    still contain java 6 classfiles.
    
    CI went green here:
      https://travis-ci.org/pantsbuild/pants/builds/161763813
    
    Bugs closed: 3892
    
    Reviewed at https://rbcommons.com/s/twitter/r/4253/
Loading...