Was any bug ever filed for this? I looked in JBS and I couldn't find anything
that resembled the issue here.
Roman, since you don't have an account on JBS (bugs.openjdk.java.net), I'd
suggest you file a bug via bugs.java.com. Bugs filed there do eventually get
into JBS. (I believe it's
java.bugs.com you mean? Not long ago I reported a similar issue about core
libs and they recommended me to write to list directly, so that's why I
wrote directly here this time.
On Fri, 31 Jan 2020 at 16:57, wrote:
> Hi Roman,
>
> Please file a JBS issue for this.
>
> Naoto
>
> On 1/29/20 9:56
I cannot create an issue because I'm not an OpenJDK process member.
Yes, the test constructs an invalid ZoneRules, the point is to demonstrate
that this is possible and IAE is not thrown upon construction. I don't
think this is a good principle for immutable classes. Once they are
constructed,
I meant the JDK Bug System:
https://bugs.openjdk.java.net/
All the issues in the JDK is tracked here.
As to the issues themselves, you would want to specify
Arrays.asList(trans) in place for the 4th argument on ZoneRules.of(), so
that the transition happens on the transition day?
For 2),
Hi Roman,
Please file a JBS issue for this.
Naoto
On 1/29/20 9:56 PM, Roman Leventov wrote:
1) ZoneRules.of() implies that transitionList is a superset of
standardOffsetTransitionList but doesn't check that. Then it's possible to
construct ZoneRules instances that don't work correctly:
1) ZoneRules.of() implies that transitionList is a superset of
standardOffsetTransitionList but doesn't check that. Then it's possible to
construct ZoneRules instances that don't work correctly:
@Test
public void zoneRulesTest() {
LocalDateTime transitionDay =