mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 05:52:26 +00:00
[JENKINS-28120]
As the first step of Java7 migration, ship Java7 class files without requiring Java7 runtime.
This commit is contained in:
1 parent
ce94434b16
commit
de8bba40cf
3 files changed
+8
-4
No files matched your search
@@ -55,6 +55,10 @@ Upcoming changes</a>
|
||||
<!-- Record your changes in the trunk here. -->
|
||||
<div id="trunk" style="display:none"><!--=TRUNK-BEGIN=-->
|
||||
<ul class=image>
|
||||
<li class=rfe>
|
||||
As <a href="http://jenkins-ci.org/content/good-bye-java6">promised</a>, shipping
|
||||
with Java7 class files.
|
||||
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-28120">issue 28120</a>)
|
||||
<li class=bug>
|
||||
Under rare conditions Executor.getProgress() can throw a Division by zero exception.
|
||||
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-28115">issue 28115</a>)
|
||||
|
||||
@@ -50,10 +50,10 @@ THE SOFTWARE.
|
||||
<j:set var="port" value="${request.getParameter('debugPort')}"/>
|
||||
<j:choose>
|
||||
<j:when test="${port!=null}">
|
||||
<j2se version="1.5+" java-vm-args="${it.launcher.vmargs} -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=${port}" />
|
||||
<j2se version="1.7+" java-vm-args="${it.launcher.vmargs} -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=${port}" />
|
||||
</j:when>
|
||||
<j:otherwise>
|
||||
<j2se version="1.5+" java-vm-args="${it.launcher.vmargs}"/>
|
||||
<j2se version="1.7+" java-vm-args="${it.launcher.vmargs}"/>
|
||||
</j:otherwise>
|
||||
</j:choose>
|
||||
<jar href="${rootURL}jnlpJars/remoting.jar"/>
|
||||
|
||||
@@ -101,7 +101,7 @@ THE SOFTWARE.
|
||||
<matrix-project.version>1.4.1</matrix-project.version>
|
||||
<animal.sniffer.skip>${skipTests}</animal.sniffer.skip>
|
||||
|
||||
<java.level>6</java.level>
|
||||
<java.level>7</java.level>
|
||||
</properties>
|
||||
|
||||
<repositories>
|
||||
@@ -604,7 +604,7 @@ THE SOFTWARE.
|
||||
<configuration>
|
||||
<signature>
|
||||
<groupId>org.codehaus.mojo.signature</groupId>
|
||||
<artifactId>java1${java.level}</artifactId>
|
||||
<artifactId>java16</artifactId>
|
||||
<version>1.0</version>
|
||||
</signature>
|
||||
</configuration>
|
||||
|
||||
Reference in new issue
Block a user