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:
Ambrose Bonnaire-Sergeant
December 4, 2017, 1:07 PM

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.

Jonathan Leonard
December 4, 2017, 5:33 AM

Proceeding with a fix would obviously be my first choice.

Ambrose Bonnaire-Sergeant
December 3, 2017, 10:40 PM

Unsure how to proceed.

Jonathan Leonard
June 30, 2015, 8:31 PM

The above exception call stack is for version: 0.3.3.

Version 0.3.0-alpha5 produces a different exception call stack:

Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Unassigned

Reporter

Jonathan Leonard

Labels