Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
  • Sign in / Register
S
spring-boot
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • DEMO
  • spring-boot
  • Repository

Switch branch/tag
  • spring-boot
  • ..
  • nested-jars
  • nested-jar-app.jar
Find file
HistoryPermalink
  • Andy Wilkinson's avatar
    Align PropertiesLauncher's close behavior with JarLauncher · e7e77a91
    Andy Wilkinson authored Sep 10, 2020
    Previously, PropertiesLauncher would close each archive that it
    iterated over when creating its ClassLoader. This was not aligned
    with JarLauncher's behaviour and left the ClassLoader with closed
    archives. The close was introduced in [1] and became more apparent
    following the change to fail operations on closed archives [2].
    
    This commit updates Launcher to remove the close() that was added in
    [1]. This aligns the behavior of PropertiesLauncher with JarLauncher
    and ensures that the ClassLoader does not have entries backed by
    closed archives on its classpath.
    
    Fixes gh-23165
    
    [1] https://github.com/spring-projects/spring-boot/commit/ad72f86bdb9c2a889a76679767e9627de0f2543c
    [2] https://github.com/spring-projects/spring-boot/commit/ed7a5db17441bdb37df8e90dc0fa6c52948c008e
    e7e77a91
nested-jar-app.jar 1.38 KB

Download (1.38 KB)

Replace nested-jar-app.jar

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.