X509CertImpl.java compilation error on linux-x86
Bradford Wetmore
bradford.wetmore at oracle.com
Fri Oct 11 18:23:21 UTC 2013
Offhand, no idea. Instance lives in sun.security.getInstance, and
you're finding that class. I haven't tried out sjavac, but given the
warning build/linux-x86-normal-server-release/jdk/classes/javac_state,
and that I've never seen this directory, might you be triggering a
sjavac bug?
If you simply need to build, I might suggest cleaning your JDK build and
trying again (without sjavac).
Brad
On 10/11/2013 6:02 AM, Dmitry Samersoff wrote:
> Hi Everyone,
>
> I get weird error trying to compile latest hotspot-rt on linux-x86,
>
> I suspect something is wrong wit my machine setup, because the same
> workspace on linux-x64 compiles fine.
>
> Any idea what is happening?
>
>
> ## Starting jdk
> Compiling BUILD_JDK
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> /usr/home/dms/ESC/JDK-8025812/hotspot-rt/jdk/src/share/classes/sun/security/x509/X509CertImpl.java:436:
> error: cannot access Instance
> sigVerf = Signature.getInstance(algId.getName(), sigProvider);
> ^
> class file for sun.security.jca.GetInstance$Instance not found
> /usr/home/dms/ESC/JDK-8025812/hotspot-rt/jdk/src/share/classes/sun/security/jca/GetInstance.java:238:
> error: cannot find symbol
> return new Instance(s.getProvider(), instance);
> ^
> symbol: class Instance
> location: class GetInstance
> /usr/home/dms/ESC/JDK-8025812/hotspot-rt/jdk/src/share/classes/sun/security/jca/GetInstance.java:245:
> error: cannot find symbol
> return new Instance(s.getProvider(), instance);
> ^
> symbol: class Instance
> location: class GetInstance
> 3 errors
> gmake[2]: ***
> [/usr/home/dms/ESC/JDK-8025812/hotspot-rt/build/linux-x86-normal-server-release/jdk/classes/javac_state]
> Error 255
>
>
> -Dmitry
>
More information about the build-dev
mailing list