<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>irof</author_name>
  <author_url>https://blog.hatena.ne.jp/irof/</author_url>
  <blog_title>日々常々</blog_title>
  <blog_url>https://irof.hateblo.jp/</blog_url>
  <categories>
    <anon>Java</anon>
  </categories>
  <description>まだJava17の子がいたので、雑にJava21に上げてみたらテスト落ちたの。 「なんでそんなとこ落ちんの？」って感じだったのでメモ。 何変わったんだろ 正規表現の \b の扱いが変わってたっぽいです。 Java17でやるとこうで、 % jshell | JShellへようこそ -- バージョン17.0.14 | 概要については、次を入力してください: /help intro jshell&gt; &quot;あ&quot;.matches(&quot;.\\b&quot;) $1 ==&gt; true Java21だとこうなります。 % jshell | JShellへようこそ -- バージョン21.0.6 | 概要については、次を入力して…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Firof.hateblo.jp%2Fentry%2F2025%2F03%2F01%2F121800&quot; title=&quot;Java21に上げたらテスト通らないんだが - 日々常々&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>2025-03-01 12:18:00</published>
  <title>Java21に上げたらテスト通らないんだが</title>
  <type>rich</type>
  <url>https://irof.hateblo.jp/entry/2025/03/01/121800</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
