Re: Throwable not thrown. In sun.reflect.generics.parser.SignatureParser#parseBounds

2021-10-07 Thread David Holmes
On 8/10/2021 6:10 am, Andrey Turbanov wrote: Hello. I found suspicious code in the method sun.reflect.generics.parser.SignatureParser#parseBounds https://github.com/openjdk/jdk/blob/master/src/java.base/share/classes/sun/reflect/generics/parser/SignatureParser.java#L532 Method 'error' called wi

Throwable not thrown. In sun.reflect.generics.parser.SignatureParser#parseBounds

2021-10-07 Thread Andrey Turbanov
Hello. I found suspicious code in the method sun.reflect.generics.parser.SignatureParser#parseBounds https://github.com/openjdk/jdk/blob/master/src/java.base/share/classes/sun/reflect/generics/parser/SignatureParser.java#L532 Method 'error' called without 'throw'. And the returned value is just i