On Mon, 2 Jun 2025 00:56:51 GMT, Chen Liang <li...@openjdk.org> wrote:

> I recommend we fallback to use CFFV.latest() explicitly for now. FYI we will 
> likely add a new CFFV for all preview features, which we will likely use as 
> the default if we encounter an old preview class file. We can then swap 
> latest() with that preview cffv.

Okay, sounds good. I guess that should be done in 
https://github.com/openjdk/jdk/blob/c5a1543ee3e68775f09ca29fb07efd9aebfdb33e/src/jdk.jdeps/share/classes/com/sun/tools/javap/ClassWriter.java#L120-L123
 directly? And also for both cases returning `null`?

-------------

PR Comment: https://git.openjdk.org/jdk/pull/25569#issuecomment-2928964395

Reply via email to