File tree Expand file tree Collapse file tree 6 files changed +10
-16
lines changed 
main/java/org/apache/ibatis 
test/java/org/apache/ibatis/scripting/xmltags Expand file tree Collapse file tree 6 files changed +10
-16
lines changed Original file line number Diff line number Diff line change 2929
3030  <groupId >org.mybatis</groupId >
3131  <artifactId >mybatis</artifactId >
32-   <version >3.5.19 -SNAPSHOT</version >
32+   <version >3.6.0 -SNAPSHOT</version >
3333
3434  <name >mybatis</name >
3535  <description >The MyBatis SQL mapper framework makes it easier to use a relational database with object-oriented
6464
6565  <properties >
6666    <!--  Java Usage --> 
67-     <java .version>8 </java .version>
68-     <java .release.version>8 </java .release.version>
67+     <java .version>11 </java .version>
68+     <java .release.version>11 </java .release.version>
6969
7070    <!--  Override impsort comliance to 17 (remove after parent 49 release) --> 
7171    <impsort .compliance>17</impsort .compliance>
9999    <argLine >-Xmx2048m -javaagent:${settings.localRepository}/net/bytebuddy/byte-buddy-agent/${byte-buddy.version}/byte-buddy-agent-${byte-buddy.version}.jar</argLine >
100100
101101    <!--  Reproducible Builds --> 
102-     <project .build.outputTimestamp>1735702000 </project .build.outputTimestamp>
102+     <project .build.outputTimestamp>1735704225 </project .build.outputTimestamp>
103103  </properties >
104104
105105  <dependencies >
Original file line number Diff line number Diff line change 2121import  java .io .IOException ;
2222import  java .io .InputStream ;
2323import  java .io .InputStreamReader ;
24- import  java .io .UnsupportedEncodingException ;
2524import  java .net .MalformedURLException ;
2625import  java .net .URL ;
2726import  java .net .URLEncoder ;
@@ -278,11 +277,7 @@ protected URL findJarForResource(URL url) throws MalformedURLException {
278277
279278      // File name might be URL-encoded 
280279      if  (!file .exists ()) {
281-         try  {
282-           file  = new  File (URLEncoder .encode (jarUrl .toString (), StandardCharsets .UTF_8 .name ()));
283-         } catch  (UnsupportedEncodingException  e ) {
284-           throw  new  RuntimeException ("Unsupported encoding?  UTF-8?  That's impossible." );
285-         }
280+         file  = new  File (URLEncoder .encode (jarUrl .toString (), StandardCharsets .UTF_8 ));
286281      }
287282
288283      if  (file .exists ()) {
Original file line number Diff line number Diff line change 11/* 
2-  *    Copyright 2009-2023  the original author or authors. 
2+  *    Copyright 2009-2025  the original author or authors. 
33 * 
44 *    Licensed under the Apache License, Version 2.0 (the "License"); 
55 *    you may not use this file except in compliance with the License. 
Original file line number Diff line number Diff line change 11/* 
2-  *    Copyright 2009-2022  the original author or authors. 
2+  *    Copyright 2009-2025  the original author or authors. 
33 * 
44 *    Licensed under the Apache License, Version 2.0 (the "License"); 
55 *    you may not use this file except in compliance with the License. 
Original file line number Diff line number Diff line change 11/* 
2-  *    Copyright 2009-2024  the original author or authors. 
2+  *    Copyright 2009-2025  the original author or authors. 
33 * 
44 *    Licensed under the Apache License, Version 2.0 (the "License"); 
55 *    you may not use this file except in compliance with the License. 
Original file line number Diff line number Diff line change 11/* 
2-  *    Copyright 2009-2024  the original author or authors. 
2+  *    Copyright 2009-2025  the original author or authors. 
33 * 
44 *    Licensed under the Apache License, Version 2.0 (the "License"); 
55 *    you may not use this file except in compliance with the License. 
1313 *    See the License for the specific language governing permissions and 
1414 *    limitations under the License. 
1515 */ 
16- 
1716package  org .apache .ibatis .scripting .xmltags ;
1817
19- import  static  org .assertj .core .api .Assertions .* ;
18+ import  static  org .assertj .core .api .Assertions .assertThat ;
2019import  static  org .junit .Assert .assertEquals ;
2120
2221import  java .lang .reflect .Field ;
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments