Typo in PackageTest.isEnabled() at [1] causes building rpm packages on Ubuntu test machines in jpackage test runs. However, only deb packages should be built on Ubuntu test machines.
Troublesome code:
---
public boolean isEnabled() {
return supported;
}
---
It should be changed to:
---
public boolean isEnabled() {
return enabled;
}
---
This typo was introduced inJDK-8352293
[1] https://github.com/openjdk/jdk/blob/b025d8c2e062210b6148da43f11517666b0b4932/test/jdk/tools/jpackage/helpers/jdk/jpackage/test/PackageType.java#L89
Troublesome code:
---
public boolean isEnabled() {
return supported;
}
---
It should be changed to:
---
public boolean isEnabled() {
return enabled;
}
---
This typo was introduced in
[1] https://github.com/openjdk/jdk/blob/b025d8c2e062210b6148da43f11517666b0b4932/test/jdk/tools/jpackage/helpers/jdk/jpackage/test/PackageType.java#L89
- caused by
-
JDK-8351372 Improve negative tests coverage of jpackage
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk/c8a11f28
-
Review(master) openjdk/jdk/24101