| Summary: | Update Project Configuration modifies forbiddenReference-Setting in org.eclipse.jdt.core.prefs | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Daniel Ebert <Daniel.Ebert> |
| Component: | m2e | Assignee: | Project Inbox <m2e.core-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | igor |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows All | ||
| Whiteboard: | |||
|
Description
Daniel Ebert
I am able to reproduce the problem with latest 1.1 from master, but I am fairly certain m2e does not explicitly touch that preference so the problem almost certainly somewhere in jdt. I'll keep this bug open for now, but there are no plans to investigate it any further... and no plans to fix it unless a quality patch is provided. (In reply to comment #1) > I am able to reproduce the problem with latest 1.1 from master, but I am fairly > certain m2e does not explicitly touch that preference so the problem almost > certainly somewhere in jdt. I'll keep this bug open for now, but there are no > plans to investigate it any further... and no plans to fix it unless a quality > patch is provided. thx for your reply Im not sure if i am lookin in the right corner, but this seems to be suspicious. http://git.eclipse.org/c/m2e/m2e-core.git/tree/org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/internal/AbstractJavaProjectConfigurator.java In line 479 i'm finding this line of code options.put(JavaCore.COMPILER_PB_FORBIDDEN_REFERENCE, "warning"); (In reply to comment #2) > (In reply to comment #1) > > I am able to reproduce the problem with latest 1.1 from master, but I am fairly > > certain m2e does not explicitly touch that preference so the problem almost > > certainly somewhere in jdt. I'll keep this bug open for now, but there are no > > plans to investigate it any further... and no plans to fix it unless a quality > > patch is provided. > > thx for your reply > > Im not sure if i am lookin in the right corner, but this seems to be > suspicious. > > http://git.eclipse.org/c/m2e/m2e-core.git/tree/org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/internal/AbstractJavaProjectConfigurator.java > > In line 479 i'm finding this line of code > options.put(JavaCore.COMPILER_PB_FORBIDDEN_REFERENCE, "warning"); True enough. Will try to fix this for juno m3. Fixed. http://git.eclipse.org/c/m2e/m2e-core.git/commit/?id=3d354e58f72f7385ed8a3f817cedec61106d32c1 https://github.com/sonatype/m2e-core-tests/commit/283614549024bd3a1097de30104c394110f59657 |