Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[JENKINS-18403] Commented-out bytecode level restriction for Maven pr…
…ocess.

Originally-Committed-As: db921dba15831aacc1043824f1a741564060ec94
  • Loading branch information
jglick committed Jul 17, 2013
1 parent ad5401e commit e93877c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/hudson/maven/ProcessCache.java
Expand Up @@ -105,6 +105,10 @@ class MavenProcess {
this.parent = parent;
this.mavenOpts = mavenOpts;
this.channel = np.channel;
/* Probably not currently useful for testing; could add if we did not want plugins accidentally loading 7+ bytecode into Maven JVM:
short javaLevel = 6; // cf. jenkins/pom.xml#java.level
channel.setMaximumBytecodeLevel(javaLevel);
*/
this.proc = np.proc;
this.installation = installation;
this.jdk = jdk;
Expand Down

0 comments on commit e93877c

Please sign in to comment.