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

8
LINES

< > BotCompany Repo | #1031907 // standardAddOpensFlags

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

Libraryless. Click here for Pure Java version (3051L/17K).

1  
static LS standardAddOpensFlags() {
2  
  ret map(ll("jdk.internal.loader",
3  
    "jdk.internal.module",
4  
    "jdk.internal.ref",
5  
    "jdk.internal.reflect",
6  
    "java.lang.module"), pkg ->
7  
      "--add-opens java.base/" + pkg + "=ALL-UNNAMED");
8  
}

Author comment

Began life as a copy of #1019301

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx

No comments. add comment

Snippet ID: #1031907
Snippet name: standardAddOpensFlags
Eternal ID of this version: #1031907/1
Text MD5: de1dec5797a7bbdc0f057649e9c4fc52
Transpilation MD5: febe92ea5c0e987713f4f12c307c7f97
Author: stefan
Category: javax / vm
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-07-24 07:43:55
Source code size: 247 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 90 / 137
Referenced in: [show references]