Bug 6564 - New builder - Incremental recompilation detected package problems incorrectly
Summary: New builder - Incremental recompilation detected package problems incorrectly
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P2 normal (vote)
Target Milestone: 2.0 M1   Edit
Assignee: Kent Johnson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-12-04 13:06 EST by Philipe Mulet CLA
Modified: 2002-01-14 10:37 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipe Mulet CLA 2001-12-04 13:06:01 EST
Build 20011127 + latest JDTCORE (v_216b)

Turn off autobuild, then define the following project (src & src2 are source 
folders):

Project P
  +- src
       +- pack
          +- X.java [package pack; class X{} ]
  +- src2
       +- p1
          +- X.java [package p1; class X{}]
       +- p2
          +- Y.java [package p2; class Y extends p1.X {}]
       +- p3
          +- Z.java [package p3; class Z extends p2.Y {}]

FULL BUILD

Now discard both at once: P/src/pack/X.java and P/src2/p3 (folder is discarded 
with content).

INCREMENTAL BUILD

Both p1/X.java and p2/Y.java got recompiled (?) and tagged with problems since 
their package statement was thought to be incorrect.
Comment 1 Kent Johnson CLA 2001-12-04 13:59:27 EST
Fixed... was caused by src being a prefix for src2.