java-topology/test/langtools/tools/javac/generics/T4739399.java
russell@unturf.com 0a580b313d undefect. CWE-407 — 63 sites patched across 27 ecosystems
Authors: russell@unturf.com · brackishbert@gmail.com · foxhop.net · TimeHexOn.com

Patches, unit tests, benchmarks, whitepaper, and outreach briefs.
Public domain — no copyright claimed. Use freely.
2026-03-26 17:11:57 -04:00

20 lines
436 B
Java

/*
* @test /nodynamiccopyright/
* @bug 4739399
* @summary generics: crash after error regarding bounds on type variable
* @author gafter
*
* @compile/fail/ref=T4739399.out -XDrawDiagnostics T4739399.java
*/
class T4739399 {
class Crash1 {}
interface C1GenericInterface {}
interface C1B1<X> {}
class Crash1Test<X> {
public <M extends C1GenericInterface,N extends M & C1B1<X>> void meth( ) {}
}
}