Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8034992

Build JDK_FILTER not finding missing directories.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P3 P3
    • 9
    • 9
    • infrastructure

      Do a top level-build:

      % cd build/windows-x86_64-normal-server-fastdebug
      % make LOG=debug

      Then remove a built directory and do an incremental:

      % rm -rf jdk/classes/sun/security/provider
      % make LOG=debug JDK_FILTER="sun/security/provider" jdk-only
      ...deleted...
      ----- Build times -------
      Start 2014-02-14 15:41:02
      End 2014-02-14 15:41:16
      00:00:13 jdk
      00:00:14 TOTAL
      -------------------------
      Finished building Java(TM) for target 'jdk-only'

      % ls jdk/classes/sun/security/provider
      ls: cannot access jdk/classes/sun/security/provider: No such file or directory

      (WOW! :) )

      Now touch any source file in that package, and you'll get the expected builds recreated.

      % touch sun/security/SecureRandom.java
      % make LOG=debug JDK_FILTER="sun/security/provider" jdk-only
      ----- Build times -------
      Start 2014-02-14 15:42:33
      End 2014-02-14 15:43:02
      00:00:27 jdk
      00:00:29 TOTAL
      -------------------------
      Finished building Java(TM) for target 'jdk-only'

      % ls jdk/classes/sun/security/provider
      ...deleted...
      VerificationProvider.class
      X509Factory.class
      %

            Unassigned Unassigned
            wetmore Bradford Wetmore
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: