On 26/10/2022 23:53, Peter Firmstone wrote:
The change will have some performance impact, by requiring redundant
parsing.
Just thought I'd mention it, in case it hasn't been thought of. If you
do an internet search there are other implementations of RFC3986 in
java also.
https://github.com/
> I've added a `java.lang.invoke.MethodHandle.TRACE_CALLSITE` property to show
> how invokedynamic call sites are resolved.
>
> For example:
>
>
> public class StrConcat {
> static String hello = "Hello";
> static String world = "World";
> public static void main(String args[]) {
>
On Wed, 26 Oct 2022 16:41:29 GMT, Michael McMahon wrote:
>> Deprecate URL constructors. Developers are encouraged to use `java.net.URI`
>> to parse or construct any URL.
>>
>> The `java.net.URL` class does not itself encode or decode any URL components
>> according to the escaping mechanism de
> On Oct 26, 2022, at 4:31 PM, Michael Hall wrote:
>
> At jpackage 19, I filed a bug on this but don’t have a number yet.
I seem to remember this as a regression it happened before. Strange since every
occurrence of DMGSetup.scpt I can find looks like it handles the Application
folder alias
Interesting. Is this RFR a done deal?
While I like the concept and and understand the reasoning of URL not
having a public constructor, I think this may have been thought of in
isolation, I'm not sure how a custom URI, that strictly complies with
RFC 3986 will behave, if it must also be parse
On Wed, 26 Oct 2022 21:00:43 GMT, Justin Lu wrote:
>> Issue: java/util/Formatter/Basic regression test emits lots of warning
>> messages (~60).
>>
>> Fix: Made adjustments to Basic-X.java.template as the BasicXXX.java files
>> where the errors originate from are generated from the template.
On Wed, 26 Oct 2022 05:18:45 GMT, Ioi Lam wrote:
>> I've added a `java.lang.invoke.MethodHandle.TRACE_CALLSITE` property to show
>> how invokedynamic call sites are resolved.
>>
>> For example:
>>
>>
>> public class StrConcat {
>> static String hello = "Hello";
>> static String world
On Wed, 26 Oct 2022 21:00:43 GMT, Justin Lu wrote:
>> Issue: java/util/Formatter/Basic regression test emits lots of warning
>> messages (~60).
>>
>> Fix: Made adjustments to Basic-X.java.template as the BasicXXX.java files
>> where the errors originate from are generated from the template.
At jpackage 19, I filed a bug on this but don’t have a number yet.
I did do a little looking at the DMGSetup.scpt AppleScript on my own.
I was thinking this…
-- Create alias for install location
make new alias file at POSIX file "DEPLOY_VOLUME_PATH" to POSIX file
"DEPLOY_INSTAL
> Issue: java/util/Formatter/Basic regression test emits lots of warning
> messages (~60).
>
> Fix: Made adjustments to Basic-X.java.template as the BasicXXX.java files
> where the errors originate from are generated from the template.
>
> Note: The reason why there is white space added (and
On Wed, 26 Oct 2022 08:16:37 GMT, Alan Bateman wrote:
>> This task is created to add manual tests to the manual test groups.
>>
>> In addition, fix is provided for TestMatrix.java#Downcall-F and
>> TestMatrix.java#Downcall-T which are failing due to missing
>> TestDowncall.java
>> ([JDK-82871
On Wed, 26 Oct 2022 17:39:56 GMT, Xue-Lei Andrew Fan wrote:
>> `URLStreamHandler` really belongs to `java.net.URL`, and is an
>> implementation detail of the infrastructure/SPI that makes it possible to
>> eventually call `URL::openConnection`. I do not think it would be
>> appropriate to have
On Wed, 26 Oct 2022 17:24:59 GMT, Daniel Fuchs wrote:
>> src/java.base/share/classes/java/net/URL.java line 852:
>>
>>> 850: * @since 20
>>> 851: */
>>> 852: public static URL fromURI(URI uri, URLStreamHandler streamHandler)
>>
>> What do you think to have this method in URI inste
On Wed, 26 Oct 2022 17:09:20 GMT, Xue-Lei Andrew Fan wrote:
>> Deprecate URL constructors. Developers are encouraged to use `java.net.URI`
>> to parse or construct any URL.
>>
>> The `java.net.URL` class does not itself encode or decode any URL components
>> according to the escaping mechanism
On Wed, 26 Oct 2022 16:00:56 GMT, Daniel Fuchs wrote:
> Deprecate URL constructors. Developers are encouraged to use `java.net.URI`
> to parse or construct any URL.
>
> The `java.net.URL` class does not itself encode or decode any URL components
> according to the escaping mechanism defined in
On Thu, 20 Oct 2022 20:28:37 GMT, Andrey Turbanov wrote:
> `java.util.Enumeration` is a legacy interface from java 1.0.
> There are couple of cycles which use it to iterate over collections. We can
> replace this manual cycle with enchanced-for, which is shorter and easier to
> read.
This pull
On Wed, 26 Oct 2022 16:00:56 GMT, Daniel Fuchs wrote:
> Deprecate URL constructors. Developers are encouraged to use `java.net.URI`
> to parse or construct any URL.
>
> The `java.net.URL` class does not itself encode or decode any URL components
> according to the escaping mechanism defined in
On Wed, 26 Oct 2022 16:00:56 GMT, Daniel Fuchs wrote:
> Deprecate URL constructors. Developers are encouraged to use `java.net.URI`
> to parse or construct any URL.
>
> The `java.net.URL` class does not itself encode or decode any URL components
> according to the escaping mechanism defined in
Deprecate URL constructors. Developers are encouraged to use `java.net.URI` to
parse or construct any URL.
The `java.net.URL` class does not itself encode or decode any URL components
according to the escaping mechanism defined in RFC2396. It is the
responsibility of the caller to encode any fi
On Wed, 26 Oct 2022 05:18:45 GMT, Ioi Lam wrote:
>> I've added a `java.lang.invoke.MethodHandle.TRACE_CALLSITE` property to show
>> how invokedynamic call sites are resolved.
>>
>> For example:
>>
>>
>> public class StrConcat {
>> static String hello = "Hello";
>> static String world
> Currently some operations of RandomAccessFile are implemented with multiple
> read() invocations:
>
> public final int readInt() throws IOException {
> int ch1 = this.read();
> int ch2 = this.read();
> int ch3 = this.read();
> int ch4 = this.read();
> if ((ch1 | ch2 | ch3 |
Each time i re-read this JEP, i'm more and more sorry about its state.
- we are breaking how Strings worked, now everything in between "..." is not a
String anymore.
As an example, given a String s, only one of the following lines compiles
System.out.println("s = \{s}".toUpperCase());
System.o
On Tue, 25 Oct 2022 23:10:53 GMT, Bill Huang wrote:
> This task is created to add manual tests to the manual test groups.
>
> In addition, fix is provided for TestMatrix.java#Downcall-F and
> TestMatrix.java#Downcall-T which are failing due to missing TestDowncall.java
> ([JDK-8287158](https:/
On Tue, 27 Sep 2022 11:30:26 GMT, Doug Simon wrote:
> This PR adds a new jlink plugin (`--copy-files=`) that copies
> specified files from the current image into the output image.
> This is useful in the context of GraalVM where libgraal (e.g.
> `lib/libjvmcicompiler.so`) is produced after the
24 matches
Mail list logo