I have seen this before and filed this bug. It's currently the main stopper for making sjavac default.

https://bugs.openjdk.java.net/browse/JDK-8025702

/Erik

On 2013-10-11 23:00, Dmitry Samersoff wrote:
Brad,

Thank you for greet idea. sjavac might be a culprit.

-Dmitry


On 2013-10-11 22:23, Bradford Wetmore wrote:
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



Reply via email to