本文整理了Java中org.eclipse.jdt.internal.compiler.util.Util.collectRunningVMBootclasspath()
方法的一些代码示例,展示了Util.collectRunningVMBootclasspath()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Util.collectRunningVMBootclasspath()
方法的具体详情如下:
包路径:org.eclipse.jdt.internal.compiler.util.Util
类名称:Util
方法名:collectRunningVMBootclasspath
暂无
代码示例来源:origin: com.google.code.maven-play-plugin.org.eclipse.jdt/org.eclipse.jdt.core
protected ArrayList handleBootclasspath(ArrayList bootclasspaths, String customEncoding) {
final int bootclasspathsSize;
if ((bootclasspaths != null)
&& ((bootclasspathsSize = bootclasspaths.size()) != 0))
{
String[] paths = new String[bootclasspathsSize];
bootclasspaths.toArray(paths);
bootclasspaths.clear();
for (int i = 0; i < bootclasspathsSize; i++) {
processPathEntries(DEFAULT_SIZE_CLASSPATH, bootclasspaths,
paths[i], customEncoding, false, true);
}
} else {
bootclasspaths = new ArrayList(DEFAULT_SIZE_CLASSPATH);
try {
Util.collectRunningVMBootclasspath(bootclasspaths);
} catch(IllegalStateException e) {
this.logger.logWrongJDK();
this.proceed = false;
return null;
}
}
return bootclasspaths;
}
代码示例来源:origin: org.jibx.config.3rdparty.org.eclipse/org.eclipse.jdt.core
protected ArrayList handleBootclasspath(ArrayList bootclasspaths, String customEncoding) {
final int bootclasspathsSize;
if ((bootclasspaths != null)
&& ((bootclasspathsSize = bootclasspaths.size()) != 0))
{
String[] paths = new String[bootclasspathsSize];
bootclasspaths.toArray(paths);
bootclasspaths.clear();
for (int i = 0; i < bootclasspathsSize; i++) {
processPathEntries(DEFAULT_SIZE_CLASSPATH, bootclasspaths,
paths[i], customEncoding, false, true);
}
} else {
bootclasspaths = new ArrayList(DEFAULT_SIZE_CLASSPATH);
try {
Util.collectRunningVMBootclasspath(bootclasspaths);
} catch(IllegalStateException e) {
this.logger.logWrongJDK();
this.proceed = false;
return null;
}
}
return bootclasspaths;
}
代码示例来源:origin: org.eclipse.scout.sdk.deps/ecj
protected ArrayList handleBootclasspath(ArrayList bootclasspaths, String customEncoding) {
final int bootclasspathsSize;
if ((bootclasspaths != null)
&& ((bootclasspathsSize = bootclasspaths.size()) != 0))
{
String[] paths = new String[bootclasspathsSize];
bootclasspaths.toArray(paths);
bootclasspaths.clear();
for (int i = 0; i < bootclasspathsSize; i++) {
processPathEntries(DEFAULT_SIZE_CLASSPATH, bootclasspaths,
paths[i], customEncoding, false, true);
}
} else {
bootclasspaths = new ArrayList(DEFAULT_SIZE_CLASSPATH);
try {
Util.collectRunningVMBootclasspath(bootclasspaths);
} catch(IllegalStateException e) {
this.logger.logWrongJDK();
this.proceed = false;
return null;
}
}
return bootclasspaths;
}
代码示例来源:origin: trylimits/Eclipse-Postfix-Code-Completion
protected ArrayList handleBootclasspath(ArrayList bootclasspaths, String customEncoding) {
final int bootclasspathsSize;
if ((bootclasspaths != null)
&& ((bootclasspathsSize = bootclasspaths.size()) != 0))
{
String[] paths = new String[bootclasspathsSize];
bootclasspaths.toArray(paths);
bootclasspaths.clear();
for (int i = 0; i < bootclasspathsSize; i++) {
processPathEntries(DEFAULT_SIZE_CLASSPATH, bootclasspaths,
paths[i], customEncoding, false, true);
}
} else {
bootclasspaths = new ArrayList(DEFAULT_SIZE_CLASSPATH);
try {
Util.collectRunningVMBootclasspath(bootclasspaths);
} catch(IllegalStateException e) {
this.logger.logWrongJDK();
this.proceed = false;
return null;
}
}
return bootclasspaths;
}
代码示例来源:origin: org.eclipse.jdt.core.compiler/ecj
protected ArrayList handleBootclasspath(ArrayList bootclasspaths, String customEncoding) {
final int bootclasspathsSize;
if ((bootclasspaths != null)
&& ((bootclasspathsSize = bootclasspaths.size()) != 0))
{
String[] paths = new String[bootclasspathsSize];
bootclasspaths.toArray(paths);
bootclasspaths.clear();
for (int i = 0; i < bootclasspathsSize; i++) {
processPathEntries(DEFAULT_SIZE_CLASSPATH, bootclasspaths,
paths[i], customEncoding, false, true);
}
} else {
bootclasspaths = new ArrayList(DEFAULT_SIZE_CLASSPATH);
try {
Util.collectRunningVMBootclasspath(bootclasspaths);
} catch(IllegalStateException e) {
this.logger.logWrongJDK();
this.proceed = false;
return null;
}
}
return bootclasspaths;
}
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.core
try {
if ((this.bits & CompilationUnitResolver.INCLUDE_RUNNING_VM_BOOTCLASSPATH) != 0) {
org.eclipse.jdt.internal.compiler.util.Util.collectRunningVMBootclasspath(allClasspaths);
代码示例来源:origin: org.eclipse.jetty.orbit/org.eclipse.jdt.core
protected ArrayList handleBootclasspath(ArrayList bootclasspaths, String customEncoding) {
final int bootclasspathsSize;
if ((bootclasspaths != null)
&& ((bootclasspathsSize = bootclasspaths.size()) != 0))
{
String[] paths = new String[bootclasspathsSize];
bootclasspaths.toArray(paths);
bootclasspaths.clear();
for (int i = 0; i < bootclasspathsSize; i++) {
processPathEntries(DEFAULT_SIZE_CLASSPATH, bootclasspaths,
paths[i], customEncoding, false, true);
}
} else {
bootclasspaths = new ArrayList(DEFAULT_SIZE_CLASSPATH);
try {
Util.collectRunningVMBootclasspath(bootclasspaths);
} catch(IllegalStateException e) {
this.logger.logWrongJDK();
this.proceed = false;
return null;
}
}
return bootclasspaths;
}
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.core
protected ArrayList handleBootclasspath(ArrayList bootclasspaths, String customEncoding) {
final int bootclasspathsSize;
if ((bootclasspaths != null)
&& ((bootclasspathsSize = bootclasspaths.size()) != 0))
{
String[] paths = new String[bootclasspathsSize];
bootclasspaths.toArray(paths);
bootclasspaths.clear();
for (int i = 0; i < bootclasspathsSize; i++) {
processPathEntries(DEFAULT_SIZE_CLASSPATH, bootclasspaths,
paths[i], customEncoding, false, true);
}
} else {
bootclasspaths = new ArrayList(DEFAULT_SIZE_CLASSPATH);
try {
Util.collectRunningVMBootclasspath(bootclasspaths);
} catch(IllegalStateException e) {
this.logger.logWrongJDK();
this.proceed = false;
return null;
}
}
return bootclasspaths;
}
代码示例来源:origin: com.vaadin/vaadin-client-compiler-deps
protected ArrayList handleBootclasspath(ArrayList bootclasspaths, String customEncoding) {
final int bootclasspathsSize;
if ((bootclasspaths != null)
&& ((bootclasspathsSize = bootclasspaths.size()) != 0))
{
String[] paths = new String[bootclasspathsSize];
bootclasspaths.toArray(paths);
bootclasspaths.clear();
for (int i = 0; i < bootclasspathsSize; i++) {
processPathEntries(DEFAULT_SIZE_CLASSPATH, bootclasspaths,
paths[i], customEncoding, false, true);
}
} else {
bootclasspaths = new ArrayList(DEFAULT_SIZE_CLASSPATH);
try {
Util.collectRunningVMBootclasspath(bootclasspaths);
} catch(IllegalStateException e) {
this.logger.logWrongJDK();
this.proceed = false;
return null;
}
}
return bootclasspaths;
}
代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core
try {
if ((this.bits & CompilationUnitResolver.INCLUDE_RUNNING_VM_BOOTCLASSPATH) != 0) {
org.eclipse.jdt.internal.compiler.util.Util.collectRunningVMBootclasspath(allClasspaths);
代码示例来源:origin: org.eclipse.tycho/org.eclipse.jdt.core
try {
if ((this.bits & CompilationUnitResolver.INCLUDE_RUNNING_VM_BOOTCLASSPATH) != 0) {
org.eclipse.jdt.internal.compiler.util.Util.collectRunningVMBootclasspath(allClasspaths);
代码示例来源:origin: com.google.code.maven-play-plugin.org.eclipse.jdt/org.eclipse.jdt.core
try {
if ((this.bits & CompilationUnitResolver.INCLUDE_RUNNING_VM_BOOTCLASSPATH) != 0) {
org.eclipse.jdt.internal.compiler.util.Util.collectRunningVMBootclasspath(allClasspaths);
代码示例来源:origin: org.jibx.config.3rdparty.org.eclipse/org.eclipse.jdt.core
try {
if ((this.bits & CompilationUnitResolver.INCLUDE_RUNNING_VM_BOOTCLASSPATH) != 0) {
org.eclipse.jdt.internal.compiler.util.Util.collectRunningVMBootclasspath(allClasspaths);
代码示例来源:origin: trylimits/Eclipse-Postfix-Code-Completion
try {
if ((this.bits & CompilationUnitResolver.INCLUDE_RUNNING_VM_BOOTCLASSPATH) != 0) {
org.eclipse.jdt.internal.compiler.util.Util.collectRunningVMBootclasspath(allClasspaths);
内容来源于网络,如有侵权,请联系作者删除!