Skip to content

Commit

Permalink
[JENKINS-18403] Commented-out bytecode level restriction for Maven pr…
Browse files Browse the repository at this point in the history
…ocess.
  • Loading branch information
jglick committed Jul 17, 2013
1 parent 8ef83ff commit db921db
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions maven-plugin/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 db921db

Please sign in to comment.