This repository was archived by the owner on Feb 4, 2023. It is now read-only.
  
  
  
  
    
    
    
      
    
  
  
    
File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 11ChangeLog
22--------- 
33
4+ ### v3.0.3 (2018-07-29)  
5+ *  Bugfix: changes for the new Java 10 ` java -version `  formatting (#66  )
6+ 
47### v3.0.2 (2018-04-12)  
58*  Bugfix: fix typo in JVMOptions expansion on java exec call (PR #63  , Thanks to @michaelweiser   for his contribution)
69*  Added a basic Travis CI build pipeline running a ` shellcheck `  test for errors and executing the basic testsuite
Original file line number Diff line number Diff line change 1111#                                                                                 #
1212#  @author    Tobias Fischer                                                      #
1313#  @url       https://github.com/tofi86/universalJavaApplicationStub              #
14- #  @date      2018-04-12                                                           #
15- #  @version   3.0.2                                                                #
14+ #  @date      2018-07-29                                                           #
15+ #  @version   3.0.3                                                                #
1616#                                                                                 #
1717# #################################################################################
1818#                                                                                 #
387387# ###############################################################################
388388function  get_java_version_from_cmd()  {
389389	#  second sed command strips " and -ea from the version string
390- 	echo  $( " $1 " 2>&1  |  awk ' /version/{print $NF }' |  sed -E ' s/"//g;s/-ea//g' ) 
390+ 	echo  $( " $1 " 2>&1  |  awk ' /version/{print $3 }' |  sed -E ' s/"//g;s/-ea//g' ) 
391391}
392392
393393
Original file line number Diff line number Diff line change 11#! /bin/bash
22
33#  Tests for the functions used in universalJavaApplicationStub script
4- #  tofi86 @ 2018-03-10 
4+ #  tofi86 @ 2018-07-29 
55
66
77
1515# ###############################################################################
1616function  get_java_version_from_cmd()  {
1717	#  second sed command strips " and -ea from the version string
18- 	echo  $( " $1 " 2>&1  |  awk ' /version/{print $NF }' |  sed -E ' s/"//g;s/-ea//g' ) 
18+ 	echo  $( " $1 " 2>&1  |  awk ' /version/{print $3 }' |  sed -E ' s/"//g;s/-ea//g' ) 
1919}
2020
2121
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments