Skip to content

Scalac does not seem to support JSR 308 #9883

Open
@scabug

Description

@scabug

JSR 308 brought annotations on type parameters such as

class SomeBean {
     Optional<@Base64 String> bs;
}

After a quick byte-code analysis (javap -v ... | grep Base64) the following scala code does not seem to compile properly:

case class SomeScalaBean(bs: Optional[String @Base64]) 

This was asked on SO: http://stackoverflow.com/questions/38833827/how-to-annotate-a-type-parameter-in-scala

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions