Opened 14 years ago
Closed 6 years ago
#27086 closed update (fixed)
junit: update to 4.10
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | haspatch | Cc: | chrstphrchvz (Christopher Chavez) |
Port: | junit |
Description
This patch tries to update junit to 4.8.2 but fails to build with this error:
build: [mkdir] Created dir: /opt/local/var/macports/build/_Users_rschmidt_macports_dports_java_junit/work/junit4.8.2/target/main [javac] Compiling 154 source files to /opt/local/var/macports/build/_Users_rschmidt_macports_dports_java_junit/work/junit4.8.2/target/main [javac] /opt/local/var/macports/build/_Users_rschmidt_macports_dports_java_junit/work/junit4.8.2/src/main/java/org/junit/rules/ExpectedException.java:73: and(org.hamcrest.Matcher<? super java.lang.Object>) in org.hamcrest.core.CombinableMatcher<java.lang.Object> cannot be applied to (org.hamcrest.Matcher<capture#868 of ?>) [javac] fMatcher= both(fMatcher).and(matcher); [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] 1 error
There is already a patch from the prior version that fixes some incompatibilities with hamcrest 1.2, which resolved several other instances of this "Some input files use or override a deprecated API" message; see #19916. The patch presumably just needs to be expanded to cover this one additional case. Anthony, do you remember how you did that before / where you got that patch from?
Attachments (2)
Change History (7)
Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | junit4.8.2.diff added |
---|
Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | junit4.9.diff added |
---|
incomplete patch
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | haspatch added |
---|---|
Summary: | junit: update to 4.8.2 → junit: update to 4.9 |
Updated patchfile for 4.9; same error.
comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | nox@… removed |
---|---|
Summary: | junit: update to 4.9 → junit: update to 4.10 |
comment:3 Changed 6 years ago by chrstphrchvz (Christopher Chavez)
junit
has since been updated to 4.12. Can this be closed?
comment:4 Changed 6 years ago by chrstphrchvz (Christopher Chavez)
Cc: | chrstphrchvz added |
---|
comment:5 Changed 6 years ago by mf2k (Frank Schima)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Version: | 1.9.1 |
Note: See
TracTickets for help on using
tickets.
incomplete patch