File tree Expand file tree Collapse file tree 3 files changed +17
-1
lines changed Expand file tree Collapse file tree 3 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 61
61
patches/remove-db.diff
62
62
patches/nbjavac-not-required.diff
63
63
patches/l10n-licence.diff
64
+ patches/no-security-manager-allow.diff
64
65
</string >
65
66
<filterchain >
66
67
<tokenfilter delimoutput =" " >
105
106
<move file =" ${ lsp.build.dir } /platform/lib/nbexec" tofile =" ${ lsp.build.dir } /platform/lib/nbexec.sh" />
106
107
<replace file =" ${ lsp.build.dir } /bin/nbcode.sh" token =" /platform*/lib/nbexec" value =" /platform*/lib/nbexec.sh" />
107
108
<replace file =" ${ lsp.build.dir } /bin/nbcode.sh" token =" basename "$PRG"" value =" basename "$PRG" ".sh"" />
109
+ <replace file =" ${ lsp.build.dir } /platform/lib/nbexec.dll" token =" java.security.manager" value =" no.java.secur.manager" encoding =" ISO-8859-1" />
110
+ <replace file =" ${ lsp.build.dir } /platform/lib/nbexec64.dll" token =" java.security.manager" value =" no.java.secur.manager" encoding =" ISO-8859-1" />
108
111
<chmod file =" ${ lsp.build.dir } /bin/nbcode.sh" perm =" u+x" />
109
112
<chmod file =" ${ lsp.build.dir } /platform/lib/nbexec.sh" perm =" u+x" />
110
113
<chmod file =" ${ lsp.build.dir } /java/maven/bin/mvn.sh" perm =" u+x" />
Original file line number Diff line number Diff line change
1
+ diff --git a/platform/o.n.bootstrap/launcher/unix/nbexec b/platform/o.n.bootstrap/launcher/unix/nbexec
2
+ index 1d6ad6e530..228b37cbe2 100755
3
+ --- a/platform/o.n.bootstrap/launcher/unix/nbexec
4
+ +++ b/platform/o.n.bootstrap/launcher/unix/nbexec
5
+ @@ -192,7 +192,7 @@ fi
6
+ # rename old heap dump to .old
7
+ mv "${userdir}/var/log/heapdump.hprof" "${userdir}/var/log/heapdump.hprof.old" > /dev/null 2>&1
8
+
9
+ - jargs_without_clusters="$jargs -Djava.security.manager=allow"
10
+ + jargs_without_clusters="$jargs"
11
+ jargs="-Dnetbeans.dirs=\"${clusters}\" $jargs_without_clusters"
12
+
13
+ if [ -z "$cachedirspecified" ]; then
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ export function launch(
107
107
if ( info . projectSearchRoots ) {
108
108
ideArgs . push ( `-J-Dproject.limitScanRoot="${ info . projectSearchRoots } "` ) ;
109
109
}
110
-
110
+ ideArgs . push ( '-J-DTopSecurityManager.disable=true' ) ;
111
111
if ( info . verbose ) {
112
112
ideArgs . push ( '-J-Dnetbeans.logger.console=true' ) ;
113
113
}
You can’t perform that action at this time.
0 commit comments