Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 150314 | Differences between
and this patch

Collapse All | Expand All

(-)plugins/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/Main.java.orig (+22 lines)
Lines 2405-2410 Link Here
2405
			this.times = new long[this.repetitions];
2405
			this.times = new long[this.repetitions];
2406
			this.timesCounter = 0;
2406
			this.timesCounter = 0;
2407
		}
2407
		}
2408
                {
2409
                       // If we're building an RPM, force full debugging info to
2410
                       // be generated, no matter what options have been passed
2411
                       // by Ant.  This is something of a kludge, but it is far
2412
                       // better than the alternative, which is having class
2413
                       // files with debug info mysteriously missing.
2414
2415
                       String RpmPackageName = System.getenv("RPM_PACKAGE_NAME");
2416
                       String RpmArch = System.getenv("RPM_ARCH");
2417
                       String RpmBuildRoot = System.getenv("RPM_BUILD_ROOT");
2418
                       if (RpmPackageName != null && RpmArch != null && RpmBuildRoot != null) {
2419
                               this.options.put(
2420
                                   CompilerOptions.OPTION_LocalVariableAttribute,
2421
                                   CompilerOptions.GENERATE);
2422
                               this.options.put(
2423
                                   CompilerOptions.OPTION_LineNumberAttribute,
2424
                                   CompilerOptions.GENERATE);
2425
                               this.options.put(
2426
                                   CompilerOptions.OPTION_SourceFileAttribute,
2427
                                   CompilerOptions.GENERATE);
2428
                       }
2429
                }
2408
	}
2430
	}
2409
2431
2410
	private void addNewEntry(final int InsideClasspath, final int InsideSourcepath, ArrayList bootclasspaths, ArrayList classpaths,ArrayList sourcepathClasspaths, String currentClasspathName, ArrayList currentRuleSpecs, int mode, String customEncoding) {
2432
	private void addNewEntry(final int InsideClasspath, final int InsideSourcepath, ArrayList bootclasspaths, ArrayList classpaths,ArrayList sourcepathClasspaths, String currentClasspathName, ArrayList currentRuleSpecs, int mode, String customEncoding) {

Return to bug 150314