Re: RFR: 8318913: The module-infos for --release data do not contain pre-set versions [v4]

2023-11-23 Thread Jorge Solórzano
On Mon, 20 Nov 2023 17:20:50 GMT, Jan Lahoda wrote: >> Consider a simple module, like: >> >> module test {} >> >> >> And compile it with JDK 22 and JDK 21 using: >> javac --release 21 >> >> The results of the compilations will differ: when compiling with JDK 21, the >> mandated java.base

Re: RFR: 8318913: The module-infos for --release data do not contain pre-set versions [v4]

2023-11-21 Thread Magnus Ihse Bursie
On Mon, 20 Nov 2023 17:20:50 GMT, Jan Lahoda wrote: >> Consider a simple module, like: >> >> module test {} >> >> >> And compile it with JDK 22 and JDK 21 using: >> javac --release 21 >> >> The results of the compilations will differ: when compiling with JDK 21, the >> mandated java.base

Re: RFR: 8318913: The module-infos for --release data do not contain pre-set versions [v4]

2023-11-20 Thread Jan Lahoda
> Consider a simple module, like: > > module test {} > > > And compile it with JDK 22 and JDK 21 using: > javac --release 21 > > The results of the compilations will differ: when compiling with JDK 21, the > mandated java.base dependency will get a version, possibly like > "21-internal".