GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Spec predicates cannot mention null: "Variable 'null' could not be found" · Issue #466 · liquid-java/liquidjava Open DescriptionSummaryA spec predicate cannot mention Minimal reproducer
import java.net.SocketAddress; import liquidjava.specification.*; @ExternalRefinementsFor("java.net.DatagramSocket") @StateSet({"unbound", "bound"}) public interface DatagramSocketRefinements { @StateRefinement(to = "bindaddr == null ? unbound(this) : bound(this)") void DatagramSocket(SocketAddress bindaddr); @StateRefinement(from = "unbound(this)", to = "bound(this)") void bind(SocketAddress addr); }
import java.net.DatagramSocket; import java.net.InetSocketAddress; public class Client { public static void main(String[] args) throws Exception { DatagramSocket s = new DatagramSocket(null); // Variable 'null' could not be found s.setReuseAddress(true); s.bind(new InetSocketAddress(0)); s.close(); } } Expected: Seen on 1a506fe, f7f366c and Why it matters: real codeWithout Found while checking mined client code against JDK specs (liquid-java/co-specification, verifier probe V34). ActivityMetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |