adoptium / bumblebench

A microbenchmarking test framework for Eclipse Adoptium
Apache License 2.0
22 stars 31 forks source link

BumbleBench doesn't build with JDK 12 #17

Closed piyush286 closed 4 years ago

piyush286 commented 4 years ago

Problem Description

I'm trying to add BumbleBench targets for testing at Adopt as part of https://github.com/AdoptOpenJDK/openjdk-tests/issues/1379. BumbleBench compiles and runs successfully with JDK 8 and JDK 11 for both OpenJ9 and HotSpot. It doesn't compile with JDK 12, and hence the targets are just limited to 8 and 11 in the BumbleBench playlist.xml file.

I believe we should see a similar issue with JDK 13 as well even though I haven't tested with it.

Error

16:42:31  compile-all:
16:42:31      [javac] Compiling 8 source files to /java/jenkins/workspace/Piyush-Grinder/openjdk-tests/perf/bumbleBench/bumblebench
16:42:31      [javac] warning: [options] bootstrap class path not set in conjunction with -source 6
16:42:31      [javac] error: Source option 6 is no longer supported. Use 7 or later.
16:42:31      [javac] error: Target option 6 is no longer supported. Use 7 or later.
16:42:31  
16:42:31  BUILD FAILED

Possible Solution

I believe, we'll need to update source and target for javac commands in https://github.com/AdoptOpenJDK/bumblebench/blob/master/build.xml.

To Reproduce