Project

General

Profile

Bug #8116

developer/ant requires assumeFalse

Added by Gary Mills over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
OI-Userland
Target version:
-
Start date:
2017-04-27
Due date:
% Done:

90%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

When building developer/ant under oi_151a8, the latest OI available for SPARC, the build stopped with this error:

cannot find symbol Assume.assumeFalse

This error is fixed by a readily-available patch written by Emmanuel Bourg <>. The description included with the patch states that the error was introduced in JUnit 4.11, and that the patch replaces assumeFalse() with assumeTrue() to facilitate the backporting to the stable distribution where only JUnit 4.10 is available.

With this patch applied, the build succeeded.

History

#1

Updated by Alexander Pyhalov over 2 years ago

Why just not update junit?

#2

Updated by Gary Mills over 2 years ago

I would update junit if I could, but the only package available for oi_151a8 and oi_151a9 contains version 4.5 . The patch should work for all versions, making ant more flexible.

#3

Updated by Alexander Pyhalov over 2 years ago

We have components/developer/junit . You could build ant with this patch, applied locally, and then build junit. Install new junit - and you don't need this patch.

#4

Updated by Adam Števko over 2 years ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF