Skip to content

Java method parameter generic signature error for FunctionXXL #3653

Closed
@He-Pin

Description

@He-Pin

First found by @Glavo

Here:https://github.com/Glavo/FunctionXXL

The FunctionXXL 's singnature is Function{$arityNumbers},which will cause an ClassNotFound exception when call Parameter#getParameterizedType method.

scala> res13(0).getType
val res17: Class[_] = interface scala.FunctionXXL

scala> res13(0).getParameterizedType
java.lang.TypeNotPresentException: Type scala.Function26 not present

dotc with veriry-generic-signature will not found any error .

dotc version:0.5.rc1

cc @Glavo

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions