java-topology/test/langtools/tools/javac/generics/6359951/T6359951.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

17 lines
415 B
Java

/**
* @test /nodynamiccopyright/
* @bug 6359951
* @summary Crash when using class field
*
*
* @compile/fail/ref=T6359951.out -XDrawDiagnostics T6359951.java
*/
public class T6359951 {
public static String x;
public static class C {}
class D<T> { }
class E<T> extends D<T.classOfT> {}
class F<T extends T6359951> extends D<T.x> {}
class G<T extends T6359951> extends D<T.C> {}
}