adding stop-gap annotation for 'hash-map' results in runtime exception

Description

Adding the following annotation results in a runtime exception:

Exception:

Environment

Mac OS X 10.10.3

$ java -version
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)

$ lein --version
Leiningen 2.5.1 on Java 1.8.0_45 Java HotSpot(TM) 64-Bit Server VM

Activity

Show:
Jonathan Leonard
July 1, 2015, 6:31 AM

The above exception call stack is for version: 0.3.3.

Version 0.3.0-alpha5 produces a different exception call stack:

Ambrose Bonnaire-Sergeant
December 4, 2017, 9:40 AM

Unsure how to proceed.

Jonathan Leonard
December 4, 2017, 4:33 PM

Proceeding with a fix would obviously be my first choice.

Ambrose Bonnaire-Sergeant
December 5, 2017, 12:07 AM

Agreed.

I had a vague idea yesterday to be able to override any annotation on a per-namespace granularity. Adding these kinds of annotations for namespaces you don't own seems a bit off at least.

This error message at least should be improved. I think it's overriding the default polymorphic annotation, which might break some internal invariants.

Assignee

Unassigned

Reporter

Jonathan Leonard

Labels

Approval

None

Patch

None

Fix versions

Priority

Minor