harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Varlamov" <alexey.v.varla...@gmail.com>
Subject [classlib] incremental build is no more?
Date Fri, 24 Nov 2006 11:25:11 GMT
I can't recall how many days I have to do full rebuild after updating
workspace in the morning, because just "ant" complained about java
compilation errors...
I did not give that much consideration until today, when trivial local
modification in luni class did not compile again. Could someone adept
in classlib build look into this, please?

Just added empty line in SecurityManager.java:
>ant build-java -Dbuild.module=luni
...
-compile:
    [javac] Since compiler setting isn't classic or modern,ignoring fork setting
.
    [javac] Compiling 1 source file to C:\apache-dev\Harmony\trunk\working_class
lib\build\classes
    [javac] Since compiler setting isn't classic or modern,ignoring fork setting
.
    [javac] ----------
    [javac] 1. ERROR in C:\apache-dev\Harmony\trunk\working_classlib\modules\lun
i\src\main\java\java\lang\SecurityManager.java
    [javac]  (at line 66)
    [javac]     security.checkPermission(RuntimePermission.permissionToCreateSec
urityManager);
    [javac]                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^
    [javac] RuntimePermission.permissionToCreateSecurityManager cannot be resolv
ed
    [javac] ----------
    [javac] 2. ERROR in C:\apache-dev\Harmony\trunk\working_classlib\modules\lun
i\src\main\java\java\lang\SecurityManager.java
    [javac]  (at line 107)
    [javac]     checkPermission(RuntimePermission.permissionToModifyThread);
    [javac]                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] RuntimePermission.permissionToModifyThread cannot be resolved
    [javac] ----------
    [javac] 3. ERROR in C:\apache-dev\Harmony\trunk\working_classlib\modules\lun
i\src\main\java\java\lang\SecurityManager.java
    [javac]  (at line 124)
    [javac]     checkPermission(RuntimePermission.permissionToModifyThreadGroup)
;
    [javac]                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] RuntimePermission.permissionToModifyThreadGroup cannot be resolved
    [javac] ----------
    [javac] 4. ERROR in C:\apache-dev\Harmony\trunk\working_classlib\modules\lun
i\src\main\java\java\lang\SecurityManager.java
    [javac]  (at line 174)
    [javac]     checkPermission(RuntimePermission.permissionToCreateClassLoader)
;
    [javac]                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] RuntimePermission.permissionToCreateClassLoader cannot be resolved
    [javac] ----------
    [javac] 5. ERROR in C:\apache-dev\Harmony\trunk\working_classlib\modules\lun
i\src\main\java\java\lang\SecurityManager.java
    [javac]  (at line 207)
    [javac]     checkPermission(RuntimePermission.permissionToExitVM);
    [javac]                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] RuntimePermission.permissionToExitVM cannot be resolved
    [javac] ----------
    [javac] 6. ERROR in C:\apache-dev\Harmony\trunk\working_classlib\modules\lun
i\src\main\java\java\lang\SecurityManager.java
    [javac]  (at line 272)
    [javac]     if (ClassLoader.getStackClassLoader(3) == cls.getClassLoaderImpl
()) {
    [javac]                     ^^^^^^^^^^^^^^^^^^^
    [javac] The method getStackClassLoader(int) is undefined for the type ClassL
oader
    [javac] ----------
    [javac] 7. ERROR in C:\apache-dev\Harmony\trunk\working_classlib\modules\lun
i\src\main\java\java\lang\SecurityManager.java
    [javac]  (at line 272)
    [javac]     if (ClassLoader.getStackClassLoader(3) == cls.getClassLoaderImpl
()) {
    [javac]                                                   ^^^^^^^^^^^^^^^^^^

    [javac] The method getClassLoaderImpl() is undefined for the type Class<capt
ure-of ?>
    [javac] ----------
    <snip>

--
Alexey

Mime
View raw message