Skip to content

Commit

Permalink
Add proper attribution for the code for generating the sourceTargetVe…
Browse files Browse the repository at this point in the history
…rsion for other JRE
  • Loading branch information
filiphr committed Feb 4, 2020
1 parent 02a113b commit f382903
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -187,6 +187,9 @@ private String sourceTargetVersion() {
}
else if ( CURRENT_VERSION == JRE.OTHER ) {
try {
// Extracting the major version is done with code from
// org.junit.jupiter.api.condition.JRE when determing the current version

// java.lang.Runtime.version() is a static method available on Java 9+
// that returns an instance of java.lang.Runtime.Version which has the
// following method: public int major()
Expand Down

0 comments on commit f382903

Please sign in to comment.