You are talking about an idealistic situation that is divorced from reality.
When using the -target option, I need to set the bootclasspath at the same
time -- at least in theory.
But in the real world, I have never seen this option set in the build
script of any project.
If I open an issue in a p
On 30/12/2022 19:11, Glavo wrote:
I agree that it is a good choice to use -release or set bootclasspath.
However, this is not always realistic.
Using -release means that we will encounter many JPMS problems.
For example, using --add-exports for system modules is not allowed
when using -release
I agree that it is a good choice to use -release or set bootclasspath.
However, this is not always realistic.
Using -release means that we will encounter many JPMS problems.
For example, using --add-exports for system modules is not allowed when
using -release.
In addition, sometimes we may want
On 12/30/2022 4:12 AM, Glavo wrote:
Java 9 overrides the rewind, flip and other methods of Buffer in
subclasses of Buffer such as ByteBuffer.
The methods in these subclasses do not add @since 9 to javadoc.
I think this is an oversight, because this modification destroys some
code.
When compili
Java 9 overrides the rewind, flip and other methods of Buffer in subclasses
of Buffer such as ByteBuffer.
The methods in these subclasses do not add @since 9 to javadoc.
I think this is an oversight, because this modification destroys some code.
When compiling them with JDK 9+ and using the -targe