Search code examples
Can r1 == 0 and r2 == 0 occur without volatile in this Java program?...

javajava-memory-modeljls

Read More
Anonymous classes can refer to inaccessible type in the signature of the supertypes?...

javaanonymous-classjls

Read More
What situation is explained by the following statement in the Java language specification?...

javalanguage-lawyerjls

Read More
Why does Eclipse compile this, but javac doesn't?...

javaeclipsejls

Read More
Is rethrow in multi-catch formally defined?...

javajls

Read More
What is the difference (or relation) between JLS, JSR and JEP?...

javajlsjsrjep

Read More
What's the difference between getVolatile and getAcquire?...

javajls

Read More
What exactly is meant by "any bracket pairs that follow the formal parameter list" in JLS ...

javajls

Read More
What is the meaning of the following rule in JLS if another rule makes it redundant?...

javajls

Read More
How to create a class literal of a known type: Class<List<String>>...

javagenericsjls

Read More
Is it safe to assume that everything happened in a constructor is visible to threads running methods...

javajvmjava-memory-modeljls

Read More
What do Java subpackages do, given that they don't provide a special access relationship?...

javaencapsulationjlsjava-package

Read More
Could "correctly synchronized" be applied to a class instead of the whole program?...

javamultithreadingconcurrencyjava-memory-modeljls

Read More
A @Target-less annotation cannot be applied to a type parameter declaration in Java 19: why not?...

javalanguage-lawyerannotation-processingjls

Read More
What is the explanation of null values in a cyclic dependency in final private enum fields?...

javaenumsnullpointerexceptionjlscyclic-reference

Read More
Resolving the constraint on Exception during type inference...

javagenericslambdatype-inferencejls

Read More
Case sensitivity of Java class names...

javajvmjls

Read More
Generic throws clause handling in case of overridden methods...

javagenericsexceptionjlsthrows

Read More
Rule for Cast operator validity when Interface held type is converted to a final class Type accordin...

javagenericscastingjlsparameterization

Read More
paradox about receiver parameter in jls-8.4 and jls-8.8.1...

javajls

Read More
Why no data races in sequentially consistent executions is enough to guarantee that there will be no...

javamemory-modeljava-memory-modeljls

Read More
Why is the sufficient set of synchronization edges unique and how to build it?...

javamultithreadingjava-memory-modeljls

Read More
why i am not getting reference to method is ambiguous in the following code?...

javajls

Read More
If you overwrite a field in a subclass of a class, the subclass has two fields with the same name(an...

javasubclassingjls

Read More
Is it possible to reproduce non-compositional queues example in Java?...

javamultithreadingcompositionjava-memory-modeljls

Read More
Does the semantics of java volatile guarantee that wrong results will not appear? (Two threads write...

javavolatilejlshappens-before

Read More
Conditions for Method Reference Expression to be "exact"...

javagenericstype-inferencemethod-referencejls

Read More
Reduction procedure for MethodReference Expressions...

javagenericstype-inferencemethod-referencejls

Read More
Type Inference resolution procedure involving throws clause in Java...

javagenericstype-inferencejls

Read More
Implicit constructor in case of anonymous class whose super class is an Inner Class...

javaconstructorinner-classesjlsanonymous-inner-class

Read More
BackNext