Skip to content
Permalink
Browse files
991: Add 8u270 to the hgupdater exclusion list
Reviewed-by: kcr, rwestberg
  • Loading branch information
erikj79 committed Apr 23, 2021
1 parent 0d49a4d commit 1b3f3f0d751b95011bf0f1d7571f42dea413806d
Showing with 15 additions and 1 deletion.
  1. +4 −1 jbs/src/main/java/org/openjdk/skara/jbs/Backports.java
  2. +11 −0 jbs/src/test/java/org/openjdk/skara/jbs/BackportsTests.java
@@ -337,10 +337,13 @@ private static boolean onExcludeList(Issue issue) {

var version = fixVersion.get();

// 8u260 is a contingency release
// 8u260 and 8u270 are contingency releases
if (version.raw().equals("8u260")) {
return true;
}
if (version.raw().equals("8u270")) {
return true;
}

// 8u41 to 8u44 are reserved for JSR maintenance releases
if (version.feature().equals("8") && version.interim().isPresent() && Integer.parseInt(version.interim().get()) >= 41 && Integer.parseInt(version.interim().get()) <= 44) {
@@ -780,4 +780,15 @@ void testBpr(TestInfo testInfo) throws IOException {
backports.assertLabeled("8u291", "8u301");
}
}

@Test
void test8u270(TestInfo testInfo) throws IOException {
try (var credentials = new HostCredentials(testInfo)) {
var backports = new BackportManager(credentials, "8u270");
backports.assertLabeled();

backports.addBackports("8u271", "8u281");
backports.assertLabeled("8u281");
}
}
}

1 comment on commit 1b3f3f0

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 1b3f3f0 Apr 23, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.