Skip to content

Commit

Permalink
Delete jdk.astub
Browse files Browse the repository at this point in the history
  • Loading branch information
Ao-senXiong committed Jan 8, 2025
1 parent 17c11e6 commit b0ed675
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 360 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -492,10 +492,7 @@ public PICOTypeAnnotator(AnnotatedTypeFactory typeFactory) {
picoTypeFactory = (PICONoInitAnnotatedTypeFactory) typeFactory;
}

/**
* {@inheritDoc} Applies pre-knowledged defaults that are same with jdk.astub to toString,
* hashCode, equals, clone Object methods.
*/
/** {@inheritDoc} Applies pre-knowledged defaults. */
@Override
public Void visitExecutable(AnnotatedExecutableType t, Void p) {
super.visitExecutable(t, p);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@ public static AnnotatedTypeMirror getBoundTypeOfTypeDeclaration(
// All other elements that are: not implicitly immutable types specified in definition of
// @Immutable qualifier;
// Or has no bound annotation on its type element declaration either in source tree or stub
// file(jdk.astub) have @Mutable in its bound
return atypeFactory.getAnnotatedType(element);

// It's a bit strange that bound annotations on implicilty immutable types
Expand Down
355 changes: 0 additions & 355 deletions checker/src/main/java/org/checkerframework/checker/pico/jdk.astub

This file was deleted.

0 comments on commit b0ed675

Please sign in to comment.