RFR: 8014683: sjavac test fails when assertions enabled

Andreas Lundblad andreas.lundblad at oracle.com
Wed Sep 18 06:02:22 PDT 2013


Hi,

Please review the fix for JDK-8014683 below.

Description:
PortFile.getPort asserts that the port information is present. This 
assertion fails when getPort is called from 
JavacServer.connectAndCompile (line 467).

The fix is simple: Check if the port information is present, before 
calling the method.


Link to web review:
http://cr.openjdk.java.net/~alundblad/8014683/webrev.00/

Link to bug report:
https://bugs.openjdk.java.net/browse/JDK-8014683


-- Andreas Lundblad


More information about the compiler-dev mailing list