mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
8030807: langtools should still build using jdk 7
Reviewed-by: briangoetz
This commit is contained in:
parent
4d793c02be
commit
3c77de74be
19 changed files with 48 additions and 40 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -173,7 +173,7 @@ public class ToolProvider {
|
|||
} catch (Throwable e) {
|
||||
return trace(WARNING, e);
|
||||
}
|
||||
toolClasses.put(name, new WeakReference<>(c));
|
||||
toolClasses.put(name, new WeakReference<Class<?>>(c));
|
||||
}
|
||||
return c.asSubclass(clazz);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue