This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
youys
/
ant
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
1
Code
Releases
0
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
use cleaner methid to detect current java version in <apt>
master
Stefan Bodewig
7 years ago
parent
6cd989e534
commit
8191d7e0f2
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/main/org/apache/tools/ant/taskdefs/Apt.java
+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/Apt.java
View File
@@ -262,7 +262,7 @@ public class Apt
*/
*/
public void execute()
public void execute()
throws BuildException {
throws BuildException {
if (JavaEnvUtils.
getJavaVersionNumber() >= 18
) {
if (JavaEnvUtils.
isAtLeastJavaVersion(JavaEnvUtils.JAVA_1_8)
) {
throw new BuildException("apt does not exist under Java 1.8 and higher");
throw new BuildException("apt does not exist under Java 1.8 and higher");
}
}
super.execute();
super.execute();
Write
Preview
Loading…
Cancel
Save