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

Multi-core compilation of the jdk is prevented by auxiliary classes hidden inside java source files.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8
    • Component/s: other-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b64

      Backports

        Description

        The auxiliary classes detectable by the new -Xlint:auxiliaryclass option prevent multi core compilation of the JDK using the new smart javac wrapper. The reason is that the auxiliary classes cannot be found during implicit compilation.

        Such auxiliary classes exist in the jdk repository and the corba repository.

        The fix is very simple, move the auxiliary class out to its own source file. The generated bytecode stays the same, except for the source file attribute.

          Issue Links

            Activity

            Hide
            alanb Alan Bateman added a comment -
            Can you include a list of the files that will need to be updated so that we can move this issue to the right sub-component.
            Show
            alanb Alan Bateman added a comment - Can you include a list of the files that will need to be updated so that we can move this issue to the right sub-component.
            Hide
            wetmore Bradford Wetmore added a comment -
            Alan warned us about:

            ---begin---
            Fredrik - one thing that I should have mentioned to you is that the security folks might ask you to separate out src/share/classes/com/sun/crypto/provider/ from the rest of the changes. The reason is that it goes into sunjce_provider and Oracle builds use the checked-in signed JARs rather than the code that is compiled in the build.
            ---end---

            We need more info about this issue so we can plan for the sunjce_provider change and get it rebuilt/resigned.
            Show
            wetmore Bradford Wetmore added a comment - Alan warned us about: ---begin--- Fredrik - one thing that I should have mentioned to you is that the security folks might ask you to separate out src/share/classes/com/sun/crypto/provider/ from the rest of the changes. The reason is that it goes into sunjce_provider and Oracle builds use the checked-in signed JARs rather than the code that is compiled in the build. ---end--- We need more info about this issue so we can plan for the sunjce_provider change and get it rebuilt/resigned.
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk8/tl/corba/rev/643e7612cf6d
            User: ohrstrom
            Date: 2012-10-29 13:24:12 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk8/tl/corba/rev/643e7612cf6d User: ohrstrom Date: 2012-10-29 13:24:12 +0000
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/17384fc6b31f
            User: ohrstrom
            Date: 2012-10-29 13:25:37 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/17384fc6b31f User: ohrstrom Date: 2012-10-29 13:25:37 +0000
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk8/jdk8/corba/rev/643e7612cf6d
            User: lana
            Date: 2012-11-06 21:13:51 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk8/jdk8/corba/rev/643e7612cf6d User: lana Date: 2012-11-06 21:13:51 +0000

              People

              • Assignee:
                ohrstrom Fredrik Öhrström
                Reporter:
                ohrstrom Fredrik Öhrström
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: