隨筆

The journal of an avid computer user.

8月 18, 2021

Strange parallel stream issue with BootJar

 Using spring boot 2.5.3 on OpenJDK11.

.

Been using Stream API for a while, wanted to cut a teeth on  ParallelStream

While this would work well in bootRun, it doesn't in bootJar.

When this is called in Jar, this exception occurs over here, only if the line 'parallel()' is here.


張貼者: 我 於 晚上7:00 沒有留言:
以電子郵件傳送這篇文章BlogThis!分享至 X分享至 Facebook分享到 Pinterest
較新的文章 較舊的文章 首頁
訂閱: 文章 (Atom)

關於我自己

我的相片
GitHub: ICHx
檢視我的完整簡介

網誌存檔

  • ►  2022 (3)
    • ►  3月 (1)
    • ►  2月 (1)
    • ►  1月 (1)
  • ▼  2021 (21)
    • ►  12月 (1)
    • ►  11月 (1)
    • ▼  8月 (3)
      • Strange parallel stream issue with BootJar
      • Making your SQL life easier, escaping field names
      • Spring boot repository /search/findById
    • ►  7月 (6)
    • ►  6月 (4)
    • ►  4月 (5)
    • ►  2月 (1)
  • ►  2020 (4)
    • ►  10月 (1)
    • ►  8月 (1)
    • ►  7月 (1)
    • ►  5月 (1)
  • ►  2019 (1)
    • ►  9月 (1)
  • ►  2017 (7)
    • ►  12月 (1)
    • ►  11月 (2)
    • ►  8月 (2)
    • ►  3月 (2)
  • ►  2016 (4)
    • ►  10月 (3)
    • ►  8月 (1)
頂尖企業主題. 主題圖片來源:mayo5. 技術提供:Blogger.