<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>wrongwrongwrongwrong163377</author_name>
  <author_url>https://blog.hatena.ne.jp/wrongwrongwrongwrong163377/</author_url>
  <blog_title>wrongwrongな開発日記</blog_title>
  <blog_url>https://wrongwrong163377.hatenablog.com/</blog_url>
  <categories>
    <anon>java</anon>
    <anon>gradle</anon>
    <anon>AssertJ</anon>
  </categories>
  <description>TL;DR Java 16でAssertJのassertThatを使ってOffsetDateTime同士を比較するとエラーになる場合がある Mockkに関しては直接の原因じゃない？ 原因はJDK内部のカプセル化の強化 Java 11に変えるか、オプションを指定することで解決できる 本文 冒頭に書いたような状況が発生しました。 その時のスタックトレース（掲載可能な部分）は以下のようになりました。 Unable to make private static int java.time.OffsetDateTime.compareInstant(java.time.OffsetDateTime,ja…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwrongwrong163377.hatenablog.com%2Fentry%2F2022%2F01%2F22%2F025506&quot; title=&quot;【Java】Unable to make private static int java.time.OffsetDateTime.compareInstant(java.time.OffsetDateTime,java.time.OffsetDateTime)...への対処 - wrongwrongな開発日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-01-22 02:55:06</published>
  <title>【Java】Unable to make private static int java.time.OffsetDateTime.compareInstant(java.time.OffsetDateTime,java.time.OffsetDateTime)...への対処</title>
  <type>rich</type>
  <url>https://wrongwrong163377.hatenablog.com/entry/2022/01/22/025506</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
