Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1019936 // highestJavaVersionUsedInJar

JavaX fragment (include) [tags: use-pretranspiled]

Uses 1311K of libraries. Click here for Pure Java version (5603L/35K).

static int highestJavaVersionUsedInJar(File jar) {
  ret max(-1, max(lmap bcel_javaVersionOfClass(
    bcel_classesInZip_iterator(jar))));
}

Author comment

Began life as a copy of #1019935

download  show line numbers  debug dex  old transpilations   

Travelled to 9 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019936
Snippet name: highestJavaVersionUsedInJar
Eternal ID of this version: #1019936/2
Text MD5: da511ce0889be7cb1740e3559a19df62
Transpilation MD5: a7f564e4800f076e15d2a7674660ad76
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-04-04 20:28:51
Source code size: 143 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 255 / 312
Version history: 1 change(s)
Referenced in: [show references]